×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    6

    calling .sis from midlet

    I am developing the location based service. My code to detect the location(which is cellid) is developed in carbide c++ (series 60 II edition). The rest application is developed in J2ME. Right I want to call this location detection code through my J2ME apllication. right now I am using 2 independent applications. So I need to run my carbide c++ application in bacground and then it writes the location to a text file in the mobile device memory, the J2ME application reads this location and uses further. Cannt therer be any way I can call the carbide c++ code through J2ME so that I have a single executable application?

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: calling .sis from midlet

    The only other way (other than using files) for the MIDlet and the Symbian app to communicate is through a socket connection.

    Hartti

  3. #3
    Regular Contributor
    Join Date
    Jun 2008
    Location
    Tel-Aviv,Israel
    Posts
    100

    Question Re: calling .sis from midlet

    Hartti,
    What is the Flow of the process?
    To have a SOCKET listener, you must execute the sis file to initiate the listener.
    so how the listener will be initiate?
    Please ack.

    Yaniv

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    6

    Re: calling .sis from midlet

    Hartti,
    I heard of the MIDPJNI... will that help or i need to go abt socket programming only. pls give the listner flow.

    Deepali

  5. #5
    Regular Contributor
    Join Date
    Jun 2008
    Location
    Tel-Aviv,Israel
    Posts
    100

    Re: calling .sis from midlet

    Any Suggestions or Solutions?

    Yaniv

  6. #6
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: calling .sis from midlet

    See this paper
    Extending the Reach of MIDlets: how MIDlets can access native services
    http://developer.symbian.com/main/do...ework_v1.1.zip

    Hartti

  7. #7
    Regular Contributor
    Join Date
    Jun 2008
    Location
    Tel-Aviv,Israel
    Posts
    100

    Lightbulb Re: calling .sis from midlet

    Hartti,

    This paper illustrates a client server methodology.
    Is there any other way to perform such an functionality between MIDlet and a sis file?

    E.G - Execute a sis file via MIDlet, while using the FILE connections API?

    Y

  8. #8
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: calling .sis from midlet

    Through the FileConnection API a MIDlet and a native Symbian application can share data, but you cannot use that as a mechanism for a MIDlet to launch a Symbian app.

    There is no MIDP mechanisms to launch arbitrary applications (wether Java or native). Pretty much, all you can do is to use platformRequest to launch the browser.

Similar Threads

  1. J2me MIDlet to Servlet HttpPost connection Exception java.io.EOFException
    By sumanbera in forum Mobile Java Tools & SDKs
    Replies: 5
    Last Post: 2008-01-11, 12:29
  2. Problem with tag-touch while midlet running
    By cde in forum Near Field Communication
    Replies: 3
    Last Post: 2007-11-28, 14:32
  3. Idea about securing MIDlet
    By falconi in forum Mobile Java General
    Replies: 0
    Last Post: 2003-11-11, 00:36
  4. Midlet access to 3650 camera .jpg files
    By chrise00 in forum Mobile Java General
    Replies: 4
    Last Post: 2003-10-24, 15:33
  5. launching MIDlet from another MIDlet on 6310i problem
    By niko86 in forum Mobile Java General
    Replies: 1
    Last Post: 2002-08-07, 09:38

Posting Permissions

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