Original Author Paul Laughton, 2011
Page 200
De Re BASIC!
Notes:
1.
You must use string or numeric values, not Android-defined constants, for actions, types, categories,
and flags. For example, you can use the string "android.intent.action.MAIN", but you can not use
the Android symbol ACTION_MAIN.
2.
If you specify a component name, you must also specify the package name, even though the
package name is often part of the component name. For example, these are equivalent:
SYSTEM.WRITE "am -n com.android.calculator2.Calculator"
APP.START , , "com.android.calculator2", "com.android.calculator2.Calculator"
Usually you can use this pattern:
pkg$ = "com.android.calculator2" : comp$ = pkg$ + ".Calculator"
APP.START , , pkg$, comp$
3.
A categories parameter may contain several categories separated by commas, for example:
cats$ = "android.intent.category.BROWSABLE, android.intent.category.MONKEY"
cats$ = cat1$ + "," + cat2$ + "," + cat3$
4.
You must create and populate the "extras" bundle before passing its pointer to an App command.
Presently only string extras and float extras are supported (the BASIC! data types).
5.
When your program uses an Intent to start another app, the second app can use another Intent to
return results. BASIC! does not yet support this return path. Your program can retrieve data that
another app leaves in a file or in the clipboard, but it cannot yet retrieve data from a return Intent.