tags:

views:

25

answers:

1

Is there any way to know that whether the application has been invoked manually or by push registry?

+1  A: 

PushRegistry.listConnections(true) returns a String[] of registered connections currently being used --- so if this is an empty array, the MIDlet was started manually.

See http://developers.sun.com/mobility/midp/articles/pushreg/ under "Discovering Whether a MIDlet Was Push-Activated".

Mark Minto