how to get app page iid and use deep linking in android studio? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to get app page iid and use deep linking in android studio?

i have a news program with webview. but i cant integrate redirect to app page. example: 2 topics. you're in first topic, and there link, if you press it you navigate to 2nd topic.

5th Aug 2020, 9:56 AM
doston anvarov
doston anvarov - avatar
4 Answers
+ 2
Possible. You need to enter a variable for id. And use it?
10th Oct 2020, 4:09 AM
Evseev Anton
Evseev Anton - avatar
+ 1
Your" xml "layout must have an" id " assigned to it. Further. Programmatically access this element by "id".
10th Oct 2020, 4:13 AM
Evseev Anton
Evseev Anton - avatar
+ 1
To open a different app screen. You need to create this screen. Create a class for the screen. And programmatically switch from one "Activity" to the one you need.
10th Oct 2020, 4:15 AM
Evseev Anton
Evseev Anton - avatar
+ 1
Switching from MainActivity.class (XML activity_main.xml) To OtherActivity.class (Xml activity_other.xml) Intent Intent = new Intent(MainActivity.this, OtherActivity.class); startActivity(Intent) ;
10th Oct 2020, 4:17 AM
Evseev Anton
Evseev Anton - avatar