How to call another midlet

hello all, i am in a bit problem. i have to do a job. that is, when i will click on a SVG button, then it will call a midlet. i don't know how to do it. so please, if anyone can help me, i will remain greatful.

Get this once and for all: you cannot launch a MIDlet from another MIDlet.
If that's what you mean when you say
it will call a midletdb

Similar Messages

  • How to Call another screen using the ABAP Report which is displaying ALV ou

    Hello All,
    I am developing a ABAP report in which I want to transfer the stock from material to another material.
    My Report will include 3 to screens.
    The first sleection screen will display all the material with their stock value.
    When we execute the report I will get the list of materials along with their current stock. On the top of the output screen I want the Execute button. Also , each line of the output should have checkbox or the ALV provides the functionality of editing one cell like that.....Once the user tick the checkbox or the cell....then I want to move to another screen where user can enter the Quantity and then user will tick ok and then I will call one function module so that the material documnet is posted and transfer of posting form material to material is done successfully.
    Could anyone please help me out how to call another screen from the output screen where user can enter the Quantity amount....
    I dont want to use the Dialog programming.....I want to create the simple ALV Abap report.
    Regards,
    Komal Bhutada.

    Hi Raymond,
    Thanks for the input...I will try this in my code .....
    Can you please help me how to insert the checkbox in the ALV Output....so that I can select one of row and then press execute to process further?..
    Thanks for the information.
    Regards,
    Komal.

  • How to call another view controller's method from a view controller?

    Hi,
    Iam new to webdynpro . so pls clarify my doubt.
    How to call another view controller's method from a view controller in the same Web Dynpro Component?
    Thanks,
    Krishna

    Hi,
         The methods in a view are only accessible inside same view. you cannot call it outside the view or
         in any other view although its in same component.
         If you want to have a method in both views, then create the method in component controller and
         from there you can access the method any where in whole component.

  • How to call another directory java program?

    Hi All,
    For Example:
    My program is here in two directories.Let Think that directory names like A and B.
    Let Program names like Aprog(A directory) and Bprog(B directory).
    I want to call Aprog to Bprog method.
    How to call?
    Plz., help me ASAP.
    --Mohan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    My program is here in two directories.Let
    Think that directory names like A and B.
    It's more complicated than that. A java program consists of multiple .class files. In general you have one or more "trees" of directories of .class files, where the structure of the tree reflects the package structure. So a the class file for "org.dingbat.Thingy" is <basedir>/org/dingbat/Thingy.class where <basedir> is some directory on the class path.
    So referencing one class from another in different directories requires that the source provides the "fully qualified name" of the class (usually on an import) and making sure that, if it's in a different class file tree, both base directories are on the class path.

  • How to call another form ,if option is entered in a text item object ???

    hi ,
    I am created an application ,where in i press a button which call another form having a menu .
    I select any one of the option from the menu ....i enter a number in the text item object of this form ....depending upon what option i have typed .....i would like to call another form ...
    My questions are
    1) Which trigger of this text item should be enabled,and what code to i write in this trigger ?
    2) Since this form is not having any database insert,delete ,update or query (select)
    it should directly go to the new form,whose option i provide in the text item .
    Sunny

    hey bro, i am assuming that ur text item contains the form name, any relevant trigger can be used for user action, like key-enter, post-change or key-next-item.
    to run a form u can use functions call_form or open_form with proper paramters.
    if u want to forward the entered text in the item, use global variable for the session.
    it doesnt matter if the form contains database items or blocks, all u have to do is run the form.
    e.g,
    declare
    VAR VARCHAR2-------;
    begin
    /* u can use the variable to concatinate or modify too, also can use global variable
    var:=:urblock.uritem;
    /* use ur own relevant parameters */
    open_form(VAR,ACTIVATE,NO_SESSION);
    exception
    when---------
    end;

  • How to call another program as root in servlet

    In my servlet, I want to call another background programs (writeen in c) to do some tasks and gather the output of them as the output of my servlet. Is there any way to do so like Suexec in apache.
    Thanks

    sorry I forgot mention that the c program required the caller had root privilege.This is the problem I facing now.
    Thanks

  • HOW TO CALL ANOTHER PAGE USING PL/SQL PDK?

    Hi,
    I am using pl/sql pdk to create portlets. When I need to call
    another page I am using wwpob_page.show(p_pageid) but instead it
    displays File Download wizard.
    Anyone knows workaroud for this?
    Are there any other ways to call other pages with portlets from
    pl/sql portlets?
    Thank you,
    ya

    Hello Yuri
    If you want to call any component of an application from PL/SQL
    you have to take a look to the manage of the component and then
    to Call Interface (Show), There you can see the way to call the
    component, but if you want to call a Page the way I found to do
    it, even thought it is not the best, was put an url like
    this /pls/portal30/url/page/PAGE_NAME on the link.
    I hope this could help you, if you dont understand please let me
    know and I'll give you a hand
    Ana Maria

  • How to call another procedure???

    I create a procedure, and inside this procedure there are others procedures in xxx.sql (vi file)...
    how to call these procedutes???
    Urgent...
    Thanks

    If I understood well u have two sql files, say x.sql and y.sql (u used vi to write them).
    Suppose u want to call y.sql in a certain row of the x.sql file. Then just put inside the x.sql file.
    @y
    If you have a PL/sql procedure inside your sql file, maybe it's different.
    I hav't tried all of the possibilities, but if the procedure u want to call is a stored one, just call its name.
    I hope it helps.
    Bye Dino

  • How to calling another servlet in a servlet

    In my servlet named TransferServlet I want call another servlet named PublisherServlet. So I wrote codes :
    objURL = new URL("http://localhost:8080/servlet/PublisherServlet") ;
    hucConnection = (HttpURLConnection)objURL.openConnection() ;
    hucConnection.setDoOutput(true) ;
    hucConnection.setUseCaches(false) ;
    hucConnection.setRequestMethod("POST") ;
    hucConnection.connect() ;
    but i can't invoke PublisherServlet. Why ? pls help
    Thanks a lot

    you do not need hucConnection.connect(); hucConnection = (HttpURLConnection)objURL.openConnection() does this.
    You need to use hucConnection.getOutputStream() and write to the stream to post and if you wanted a response you would need to read from hucConnection.getInputStream()

  • Calling another midlets mehtod within the same suite

    i hope this is the right board...
    hi all,
    i have a midlet suite containing two midlets and i want to call methods from one midlet within the other midlet. its more than just sharing data (for that i already use the recordstore) so i really must call the method.
    how can i do this?
    simply creating a new instance or calling a static method didn't work here...
    tia
    mmkl

    hi,
    i'am also not so familiar with the pushregistry, but i already tried different samples...
    as far as i know (and tested) the midlet that later is responsible for 'listen' to incomming connections must register itself (or beeing registered in the jad-file, but static registrations is not able to react on already used ports).
    the fact why i'm using two midlets is because my application must connect itself to a servlet and this must be done in a thread seperated from the commandlistener thread. another issue is, that an incoming connection starts the midlet automaticaly.
    my application is primary designed for blackberry's and there the incomming connection forces the midlets display to be shown on the desktop, because of that i need a single midlet for the ui and one for the incomming and outgoing connections without an ui.
    ok, this is the application background, now back to the exception ;)
    i debuged the application as far as possible and the exception occures at
    ListenAndStore listenAndStore = new ListenAndStore();and with stepwise debuging this creation of the second midlet calls
    javax.microedition.lcdui.Displayand within this class, at line 2000 i guess, the exception is raised. i don't konw why this class iss called becaus my second midlet extens only midlet an implements no interface.
    i read somwhere, that every midlet has his own display, but i don't read or know why this should be a security problem :(
    mmkl

  • How to call another class function in SharePoint?

    Facing 'ConvertViewToHtml' does not exit in current context. Here is my code:
    namespace ChangeControl3_Nov
    class eGA_Utility
    public static void SendmailwithTwo(string To, string subject, string Body, string frommail, byte[] docFile, byte[] docFile1, string fileName1, string fileName3)
    string smtpServer = SPAdministrationWebApplication.Local.OutboundMailServiceInstance.Server.Address;
    string smtpFrom = SPAdministrationWebApplication.Local.OutboundMailSenderAddress;
    string smtpReplyTo = SPAdministrationWebApplication.Local.OutboundMailReplyToAddress;
    MailMessage mailMessage = new MailMessage();
    System.Net.Mail.MailAddress from = new System.Net.Mail.MailAddress(frommail, "Quality Management");
    mailMessage.From = from;
    mailMessage.To.Add(new MailAddress(To));
    mailMessage.Subject = subject;
    mailMessage.IsBodyHtml = true;
    mailMessage.Priority = MailPriority.High;
    mailMessage.Body = ConvertViewToHtml();
    MemoryStream stream = new MemoryStream(docFile);
    string fileName2 = fileName1;
    Attachment attachment = new Attachment(stream, fileName2);
    mailMessage.Attachments.Add(attachment);
    MemoryStream stream1 = new MemoryStream(docFile1);
    string fileName4 = fileName3;
    Attachment attachment1 = new Attachment(stream1, fileName4);
    mailMessage.Attachments.Add(attachment1);
    SmtpClient smtpClient = new SmtpClient(smtpServer);
    NetworkCredential oCredential = new NetworkCredential("", "");
    try
    smtpClient.UseDefaultCredentials = false;
    smtpClient.Credentials = oCredential;
    smtpClient.Send(mailMessage);
    catch (Exception)
    I would like to call "ConvertViewToHtml()" from FormCode.cs in this line: 
    mailMessage.Body = ConvertViewToHtml();
    namespace ChangeControl3_Nov
    public partial class FormCode
    public string ConvertViewToHtml()
    try
    byte[] sourceFile = null;
    XPathNavigator root = MainDataSource.CreateNavigator();
    string myViewName = this.CurrentView.ViewInfo.Name.Replace(" ", string.Empty);
    string myViewXslFile = myViewName + ".xsl";
    // Create the xsl transformer
    XslCompiledTransform transform = new XslCompiledTransform();
    transform.Load(ExtractFromPackage(myViewXslFile));
    // Generate a temporary HTML file
    string fileName = Guid.NewGuid().ToString() + ".htm";
    string filePath = System.IO.Path.Combine(System.IO.Path.GetTempPath(), fileName);
    using (XmlWriter writer = XmlWriter.Create(filePath))
    // Convert the XML to HTML
    transform.Transform(root, writer);
    writer.Close();
    // Return the HTML as a string
    sourceFile = File.ReadAllBytes(filePath);
    return System.Text.Encoding.UTF8.GetString(sourceFile);
    catch (Exception ex)
    return "<html><body>Unable to convert the view to HTML <p>" + ex.Message + "</p></body></html>";
    How to do this? Thanks in advance!

    Hi Sam,
    According to your description, you might want to call a function from other class.
    Before calling this function, it will require to initialize a FormCode object and then we can call the functions of the FormCode class.
    You can take a look at the code snippet provided by tompsonn in this similar thread:
    http://www.overclock.net/t/1411342/calling-a-function-from-another-form-c
    More information about working with Partial Classes and Methods:
    http://msdn.microsoft.com/en-us/library/wa80x488.aspx
    Thanks 

  • How to call another action from Struts dispatch action?

    Hi all,
    there is a method in dispatch action that needs data from another chained action. How should other action determine which method in dispatch action will receive response and how should these data be returned from called action? Called action does not have associated form bean
    thanks,

    Not sure, why are there then "chained actions" is struts practice? Struts allows action without form bean to be configured and the action is a class?

  • How to call another program from LabVIEW?

    Hi!
    Is there anyone that can answer my question? I have found a similar thread where the user needed to call labVIEW from some program but I want to do the opposite.
    I made a program in labVIEW that communicates via COM-ports (serial communication) with the processor I use at the job (Ubicom´s IP2022).
    Now I want to add more funcionality to this program. I want to be able to program re-program IP2022 through this LabVIEW application.
    The programming is done via an Ethernet-dongle. I start a program called IP2kProg, I write the ip-address of the dongle and the program-file (.elf) downloads at this address. But how can I do this from
    LabVIEW, do I need to open IP2kProg or can I send some values to it via LabViEW?
    Ant suggestions?
    Thanks, Amir

    Amir,
    There are couple of options:
    1.  If your IP2kProg program has a command-line interface, you can use LabVIEW's System Exec.vi and send the commands and parameters to it. 
    2.  If the IP2kProg has an API / exported functions, you can call them from LabVIEW using the Call Library Function Node. 
    Hope this gives you some ideas. 
    -Khalid

  • How to call another UIViewController inside a UIViewController's loadview ?

    Hi All,
    I am parsing an XML file inside FirstViewController and need to pass this XML value into another UIViewController (i.e. SecondViewController). But in the FirstViewController i won't display any data, it will be done in application loading time.
    So can u please help me in solving this issue?
    -Sathiya

    If it is to call a method from view controller to component controller then use the attribute: wd_comp_controller. Similarly use the attribute in the component controller related to the view controller.
    Check the Attribute tab of the controller to obtain the reference variables created by the WD framework. Use them to call the methods across controllers.
    Regards,
    Sharath M G
    P.S.To get an indepth view of possible methods, double-click on the ref variables and observe the nodes and methods declared.

  • How to call another page from popup

    Hi ,
    I have a small requirement as follows
    1. in adfc-config i have two pages p1 and p2.
    2. pi has one popup, popup contains one button cb1.
    3. on click of cb1 i need to call page p2.
    let me know, what is the best way of doing it.
    Regards
    Akshay

    create a control navigation flow from page 1 to page 2.
    Name it like 'goTopage2'
    provide the outcome for the comandbutton action property as
    <af:commandButton action="'goTopage2'" />

Maybe you are looking for

  • Exception while invoking web service

    Hi all,        I am trying to consume a web service which is actually a BAPI which is being exposed as a WS. The BAPI is BAPI_COMPANYCODE_GETLIST. The following is the code that I use to execute the Web service: /***************************Code Begin

  • 6th generation ipod nano not shown in windows 8 or itunes

    ipod nano briefly appears in windows then disappears and is not shown in itunes at all. I get error message saying "an ipod has been detected, but could not be identified properly" Have re-installed itunes, reset the ipod  and restarted the laptop ma

  • Can apple ship me a macbook pro to Morocco ??

    Hy guys i'm living in morocco , and the MACs here are really way expensive than they do online ..... So can apple really ship me one to Morocco ? Help , plz  .

  • TS1474 Problem transferring additional music to my ipod touch.

    Trying to add more music to my ipod touch 4th gen. using manual method. Plenty of storage capacity; latest updates on itunes & ipod done.There appears to be no effect to syncing, either. What am I doing wrong? Settings? Where can I find answer? Tried

  • Can i upgrade my Imac from 10.5.8 to snow leopard?

    So i have an Imac from around 2006, id IMac 7,1 with no upgrades, just the basic. Its currently on 10.5.8 software (Leopard), but i do have the dvd disc for snow leopard (10.6). Is it possible to upgrade the software on the mac, as i heard it wasnt f