I need to capture device default application open and close events. as example when user open browsers I need to capture that event. is there any specific permission to capture it and good example?
I need to capture device default application open and close events. as example when
Share
You can use an intent-filter in your manifest. Read the manual here: http://developer.android.com/guide/topics/intents/intents-filters.html
or check this example I got from SO ( Android Respond To URL in Intent )
You don’t need any special permissions by the way.