In general, when i have notification message on the notification bar and click on it. It open the registered App for that message.
On Startup\'s Activity, How to de
You need to use putExtra(ID_KEY,id) when you create your Intent for starting your application, and in your onCreate() method you can use getIntent().getExtras().getInt(ID_KEY); to retrieve your passed id integer.
putExtra(ID_KEY,id)
Intent
onCreate()
getIntent().getExtras().getInt(ID_KEY);
integer