06-27-2012 12:05 PM
Hi,
I am using blackberry.invoke.BrowserArguments() to open a url as soon as i launch the application. The problem is when i click back button of the browser it returns to the application which has nothing to show. How can i avoid this? I dont want the control to return to the blank page of the app. Also I need the application to be in background so that it can listen to push notifications. Please can anyone help me solve this issue.
I need this urgently.
Thank you.
07-03-2012 01:32 PM
You should be using the background property to define a the portion of your app that goes in the background and listens to push requests: https://developer.blackberry.com/html5/documentati
Your foreground app can invoke the browser and then exit, allowing the background to run separately (or even on startup): https://developer.blackberry.com/html5/apis/blackb