android - Intent Filter passing data through url and reading into activity -


in app, need open 1 page out side app, through link in email.

in app when 1 create post our website sending email url.

when user click on url/link open respective page in app.

i need pass id , other value activity when launch.

example:

we sending following link through email when 1 create post on website.

https://www.example.com/lt-url-redirector.php?user_guid=4074395&notify_entity_id=7221752&notification_type=22&notify_id=56933b6219b05172&baseurl=https://www.example.com/groups/calendar/aggregation/mlt 

after clicking on above link goes mobile browser "open in app" button there.

after taping on button gives:

window.location.href = 'abcdef:/?user_guid=4074395&notify_entity_id=7221752&notification_type=22&notify_id=56933b6219b05172&baseurl=https://www.example.com/groups/calendar/aggregation/mlt'; 

i want pass notify_entity_id, notification_type, notify_id etc activity when launch.

android manifest code :

<intent-filter>             <data android:scheme="abcdef" />              <action android:name="android.intent.action.view" />              <category android:name="android.intent.category.default" />             <category android:name="android.intent.category.browsable" />         </intent-filter> 

those query parameters, , there variety of methods on uri retrieving values, such getqueryparameters(). uri, call getintent().getdata() spot, such oncreate() of activity.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -