Give the project name
Then add button you want . I added shareit and CamScanner
Then add (add source directly) block
Copy this code:-
Intent launch =
getPackageManager().getLaunchIntentForPackage("A");
if (launch != null)
{
startActivity(launch);
}
In the place of a enter the package name -
*Go to file manager
*Go to Android
*Go to data
*Choose package name which you add in button
*For example WhatsApp
com.whatsapp
Paste it in place of (a)
Then save and run the project.
You can see in my you tube channel link below and also subscribe for latest updates
https://www.youtube.com/channel/UClCiyy6N9N1nkzCdozwrBzQ
Agar aapko yah post achcha laga ya nhi ye aap mughe comment box me bataye . Aapko kuch aur dekhna ya shikhna hai to aapko mere blog me visit karte rhna hai . Aap app kaise Bana sakte hai poori jankari Maine is blog me de di hai .
0 Comments