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
2010-06-03 16:19:37