×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jun 2010
    Posts
    107

    Exclamation Run sis file from j2me

    Hi ,
    How can i run sis file from j2me. I got the function named platformrequest() to install sis. Is there any way to run the sis file through j2me.

  2. #2
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: Run sis file from j2me

    Quote Originally Posted by sridharbandi View Post
    Hi ,
    How can i run sis file from j2me. I got the function named platformrequest() to install sis. Is there any way to run the sis file through j2me.
    Launching a native application from a MIDlet

    Note: Only manufacturer and operator domain MIDlets can start native applications.

    In Symbian (JRT 2.1 onwards), native applications are launched with the platformRequest(nativeapp method. It identifies the application by its UID (application-uid) or the name of the executable (application-exe). In addition, you can specify a file or other content for the application to run. For example, you can specify the file name of the .jpg image to be viewed when starting ImageViewer application.

    The actual command line arguments are entered with the application-args parameter. These depend on the application being launched. For example, Calendar recognizes the Today argument value, which returns the current day. The following example shows how to start a native application with command line arguments:

    platformRequest("nativeapp:application-exe=MediaPlayer.exe;content=E:\Feelings.MP3;application-args=-ExampleArgument");

    After the native application has been started, it can acquire the command line arguments in the following manner:

    CApaCommandLine* commandLine;
    User::LeaveIfError( CApaCommandLine::GetCommandLineFromProcessEnvironment(commandLine) );
    // Get the value of _content_
    TFullName documentName = commandLine->DocumentName();
    // Get the value of _application-args_
    TPtrC8 args = commandLine->TailEnd();
    In Series 40, native applications are launched with platformRequest(localapp method. The following opens the Photos folder in Gallery.

    platformRequest("localapp://gallery/show?folder=C:/predefgallery/predefphotos");
    Thanks,
    Ekta

  3. #3
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Smile Re: Run sis file from j2me

    First of all ,
    I think it is directly not possible.
    You put your .SIS file in some server like web address may be "http://abc.com/XYZ.sis")
    Now you can create link using this :midletObject.platformRequest("http://abc.com/XYZ.sis");

    Cheers,
    RaHuL
    Last edited by rahulvala; 2010-06-25 at 20:06. Reason: Removed link

  4. #4
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: Run sis file from j2me

    Quote Originally Posted by sridharbandi View Post
    Hi ,
    How can i run sis file from j2me. I got the function named platformrequest() to install sis. Is there any way to run the sis file through j2me.
    Quote Originally Posted by rahulvala View Post
    First of all ,
    I think it is directly not possible.
    You put your .SIS file in some server like web address may be "http://abc.com/XYZ.sis")
    Now you can create link using this :midletObject.platformRequest("http://abc.com/XYZ.sis");

    Cheers,
    RaHuL
    Creating a platformRequest("http://abc.com/XYZ.sis") - will install the SIS file OTA, Shridhar wrote he already know this and now he wants to launch the native application from j2me.
    Thanks,
    Ekta

Similar Threads

  1. How to run .sis file in emulator
    By sharma_durg in forum Symbian
    Replies: 38
    Last Post: 2011-04-25, 15:32
  2. Run SIS file from another app
    By nguyend in forum Symbian
    Replies: 4
    Last Post: 2009-08-26, 08:02
  3. How to run sis file
    By Aliencse in forum Symbian
    Replies: 1
    Last Post: 2008-07-12, 11:22
  4. not able to run the sis file created by py2sis
    By exoersist in forum Symbian
    Replies: 2
    Last Post: 2008-01-21, 18:56
  5. can sis file run on emulator?
    By tibco0308 in forum Mobile Java General
    Replies: 3
    Last Post: 2007-07-27, 12:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×