File: mergeall-android11-updates-media/MORE--logs-and-code/AM-command-WORKS-in-adb.txt

#####################################################################################
# THESE ALL WORK on Android 11 in ADB and Termux, but not in Pydroid 3 
#####################################################################################

~$ /home/.../android-sdk/platform-tools/adb shell am start --user 0 -a android.intent.action.VIEW -d https://learning-python.com
Starting: Intent { act=android.intent.action.VIEW dat=https://learning-python.com/... }
~$ 
~$ /home/.../android-sdk/platform-tools/adb shell am start --user 0 -a android.intent.action.VIEW -d https://learning-python.com/mergeall.html
Starting: Intent { act=android.intent.action.VIEW dat=https://learning-python.com/... }
~$ 
~$ /home/.../android-sdk/platform-tools/adb shell am start --user 0 -a android.intent.action.VIEW -d file:///sdcard/MY-STUFF/Code/mergeall/_README.html
Starting: Intent { act=android.intent.action.VIEW dat=file:///sdcard/MY-STUFF/Code/mergeall/_README.html }
~$ 
~$ /home/.../android-sdk/platform-tools/adb shell am start --user 0 -a android.intent.action.VIEW -d file:///sdcard/Download/Mergeall-source/README.txt
Starting: Intent { act=android.intent.action.VIEW dat=file:///sdcard/Download/Mergeall-source/README.txt }
~$ 

#####################################################################################
# THESE ARE EXACTLY WHAT PROGRAMS DO: okay in ADB and Termux, but not in Pydroid 3
#####################################################################################

# Help
~$ /home/.../android-sdk/platform-tools/adb shell am start --user 0 -a android.intent.action.VIEW -d https://learning-python.com/mergeall-products/unzipped/UserGuide.html
Starting: Intent { act=android.intent.action.VIEW dat=https://learning-python.com/... }

# logs
~$ /home/.../android-sdk/platform-tools/adb shell am start --user 0 -a android.intent.action.VIEW -d file:///sdcard/Admin-Mergeall/mergeall-date210102-time175104.txt
Starting: Intent { act=android.intent.action.VIEW dat=file:///sdcard/Admin-Mergeall/mergeall-date210102-time175104.txt }
~$ 

#####################################################################################
# THESE ALL FAIL: you must use triple slashes on Android (too), but programs do
#####################################################################################

~$ /home/.../android-sdk/platform-tools/adb shell am start --user 0 -a android.intent.action.VIEW -d file://sdcard/Download/Mergeall-source/README.txt
Starting: Intent { act=android.intent.action.VIEW dat=file://sdcard/Download/Mergeall-source/README.txt }
~$ 
~$ /home/.../android-sdk/platform-tools/adb shell am start --user 0 -a android.intent.action.VIEW -d file:/sdcard/Download/Mergeall-source/README.txt
Starting: Intent { act=android.intent.action.VIEW dat=file:/sdcard/Download/Mergeall-source/README.txt }
~$
~$ /home/.../android-sdk/platform-tools/adb shell am start --user 0 -a android.intent.action.VIEW -d /sdcard/Download/Mergeall-source/README.txt
Starting: Intent { act=android.intent.action.VIEW dat=/sdcard/Download/Mergeall-source/README.txt }
Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=/sdcard/Download/Mergeall-source/README.txt flg=0x10000000 }
~$ 



[Home page] Books Code Blog Python Author Train Find ©M.Lutz