Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Launching another J2ME app from existing

 
Sachin Dere
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
Is it possible to launch another J2ME Aoo from existing App?
cheers,
Sach
 
Svend Rost
Ranch Hand
Posts: 904
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let me begin with a disclaimer: Im not sure, as I've never tried it, and
I don't have any sources to back up my claims.

But I don't think so. To my understanding each midlet live in their own
"sandbox" environment, just as Applets.

If anyone disagrees, please let us know.

/Svend Rost
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may use PushRegistry.registerAlarm(), but I�m not sure that�s what you want ... also, this may not be supported in all devices.
 
William Frantz
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sprint PCS phones have the ability to launch one MIDlet from another. You use the SetExitURI() function and the midlet: scheme. Here's more information:

http://www.sprintdevelopers.com/article-12--0-0.html

http://www.sprintdevelopers.com/postt21.html
 
lexander Bosco
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will but we are considering other phone types , if it works on sprint PCS and not on nokia or ericssons then i think it is not yet independent of the phone type.
But i believe there should be a way round it.
maybe we just have to research on it.
anybody with ideas?
[ August 25, 2005: Message edited by: lexander Bosco ]
 
Eduardo Marques
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PushRegistry.registerAlarm() is part of the MIDP 2.0 standard.

But the thing is may not be implemented in all devices.

The method will throw ConnectionNotFoundException if Push Registry alarms are
not supported by the host device.

Test it in your target device. In WTK you can�t test this though no exception is thrown.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic