×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    121

    Question Start a exe on J2ME application start up

    Hi All,

    As per the Midlet Native Services framework , we should have a daemon which will run on device start up using EZBoot and listen to all the MIDP requests through socket. And they have instructed to package everything into sis file. Now my question is this daemon will be always running behind, Even if MIDLet doesnt needs daemon. Will this have any performance issue? Any chance that socket server may go down because of some reasons? which will break all communication between MIDlet and Native Code.

    Is it possible to do this in reverse manner package application as JAR i.e JAR will include the exe of the daemon and when JAR is installed, exe will also be deployed.(Not sure we can include exe in JAR of mobile application)? I was just trying to understand as S60 has J2ME support so a application can be JAR installation also.

    In case of both the approaches, we have both MIDLet and exe on Phone. Now Can I make the daemon run on J2ME application start up instead of device start up and shut down on application exit?

    Please provide your opinion.

    Thanks in advance,
    Sandeep

  2. #2
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    121

    Re: Start a exe on J2ME application start up

    Hi,

    Got some info on forum, so just posting here if somebody reads this thread. We can't start exe from J2ME. But we can start the application on boot or make another Symbian exe to start the exe we want.

    Best regards,
    Sandeep

  3. #3
    Super Contributor
    Join Date
    Jan 2008
    Location
    Amravati, India
    Posts
    546

    Re: Start a exe on J2ME application start up

    Quote Originally Posted by sandeepkumar03 View Post
    Now my question is this daemon will be always running behind, Even if MIDLet doesnt needs daemon. Will this have any performance issue? Any chance that socket server may go down because of some reasons? which will break all communication between MIDlet and Native Code.
    No performance issues. Unless there is any bug in your application, I can't think of any reason for it to go down.

    Quote Originally Posted by sandeepkumar03 View Post
    Is it possible to do this in reverse manner package application as JAR i.e JAR will include the exe of the daemon and when JAR is installed, exe will also be deployed.(Not sure we can include exe in JAR of mobile application)? I was just trying to understand as S60 has J2ME support so a application can be JAR installation also.
    In case of both the approaches, we have both MIDLet and exe on Phone. Now Can I make the daemon run on J2ME application start up instead of device start up and shut down on application exit?
    As you already said, jar cannot install/start exe. But I have read somewhere about a feature of Symbian (may be using Active objects and server-client architecture) where server exits if last client is disconnected and server starts when first client is connected... I think same thing may be achieved using it...

Similar Threads

  1. application error with 3gp file in J2ME
    By ruchig_iic in forum Mobile Java Media (Graphics & Sounds)
    Replies: 10
    Last Post: 2012-01-16, 21:40
  2. J2ME application download install workflow
    By ps_j2me in forum Mobile Java General
    Replies: 1
    Last Post: 2008-10-19, 05:25
  3. How to auto-restart exe application on crash
    By stratosphere27 in forum Symbian
    Replies: 5
    Last Post: 2008-02-17, 16:33
  4. Signed Midlet for J2ME application
    By winzarni in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-10-03, 19:31
  5. Replies: 1
    Last Post: 2003-10-17, 08:45

Posting Permissions

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