Is there any way to know that whether the application has been invoked manually or by push registry?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
PushRegistry.listConnections(true)returns aString[]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”.