I have a view with a webview, which should be called when clicking on a corresponding push notification and a parameter with a URL. The URL should then be called in the Webview. How can I pass the parameter from the push notification to the view so that the URL is called in the Webview?
Asked
Active
Viewed 130 times
1 Answers
1
You can pass it via the PendingIntent used to open your WebView
from the notification (details see here).
You can set extras to that PendingIntent
like you would with a 'normal' Intent
when passing data between activities.

fweigl
- 21,278
- 20
- 114
- 205