×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    9

    Question question about autostart-hidden application

    Hi there,

    Recently i have started a project in Blackberry J2ME, and i want to port all the code to Symbian J2ME and hopefully standard J2ME, i have some question here:
    1. In Blackberry i create my application as autostart-hidden type application thus don't need any GUI nor console (and even run as system-module and not showing any icon for launching app), the application was compiled into native Blackberry application not a Midlet is there any equivalent for this on Symbian J2ME? or i really need to create it as Midlet?

    2. If i create it as Midlet how can i hide the application screen (make it background processing)?

    3. How to make application start when phone are turn on? or based on time, say it everyday at 08:00 AM? i have read some article about SUN J2ME Push Registry article and want to have some better understanding about that on Symbian J2ME
    PS: I've done a search but found the only solution was create Symbian C++ app that launch J2ME MIDP app

    Thanks

  2. #2
    Nokia Developer Expert
    Join Date
    May 2007
    Location
    Mexico D.F
    Posts
    351

    Re: question about autostart-hidden application

    Hello

    1.
    I'm afraid autostart for Nokia phones using J2ME on phone boot is not possible. The only way in S60 phones is to create a symbian app that starts the MIDLet.

    2. try using
    Code:
    setCurrent(null)
    usually works if phone is multitask

    3.
    PushRegistry will allow you to launch the app after some delay, you calculate the current time and the time it should start to get this delay. But if the alarm happens at the time the phone is off, then it will be lost.

    http://www.forum.nokia.com/document/...hRegistry.html

    Use the method

    Code:
    registerAlarm()
    :Ruben

Similar Threads

  1. How to autostart the application while starting the emulator ?
    By gsunilkumarbca in forum Mobile Java General
    Replies: 4
    Last Post: 2008-10-06, 13:45
  2. Funny behaviour in AutoStart using pushRegistry
    By khamouda in forum Mobile Java General
    Replies: 12
    Last Post: 2007-01-11, 02:30
  3. hopefully a simple sms application question
    By cartman911 in forum General Messaging
    Replies: 1
    Last Post: 2006-12-18, 11:19
  4. autostart an application in 6600
    By symppari in forum Symbian
    Replies: 2
    Last Post: 2004-09-02, 15:05
  5. newbie question: how to start a new application inside an application
    By qianghstc in forum Symbian User Interface
    Replies: 3
    Last Post: 2004-07-07, 23:55

Posting Permissions

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