For my application I need to creat an icon in notification bar.I am able to do this.
My problem is I need to open this application from notification bar.
When ever user selects notification screen my app status should display. when user selects my app my application should open directly.
For my application I need to creat an icon in notification bar.I am able
Share
Have a look at the following classes:
And the following interfaces:
Register a folder for your app, add a listener to the folder, and use the
AppicationMessageFolder.fireElementAdded()method to add status messages to the folder. When the user clicks on the notification bar, the Messages app displays the available folders and their contents. When the user clicks on one of your status messages, the folder’s listener will notify your app so it can react accordingly.