I have samsung with installed android 6.0 (default 4.4.4) - it's very slowly device, so I ordered and waiting for Samsung A7 (android 8.0 Oreo).
I try launch apps by programically (without additional app from google play). When I put code to folder
init.d I can turn on and turn off my phone when phone is charging/isn't charging.
Now I want launch app from google play, I found method:
am start -n packagename/android:name -a android.intent.action.VIEW
AndroidManifest.xml using android studio, and added to method above to file in folder
init.d, but it didn't works.
How can I launch app (e.g. youtube, googlemaps, facebook, discord) by code?