Create an Intent filter
To open an activity when a notification is clicked, you have first to create an intent filter in the activity node (main activity to launch your app). You must set the intent category to "android.intent.category.DEFAULT".
Example from the XtifyHelloWorld app v1.2
You will need to add the following code:
Which will look like this once inserted:
Then when you send a notification from the site, you should choose Custom Action and insert the intent filter name that you just created.
Labels: