D DaOne Member Licensed User Longtime User Sep 4, 2014 #1 I am trying to help a buddy create a way to start selected apps via Arduino commands over serial. Does anyone have an example project that shows how to list app apps on the device and assign them to launch via a given command? Basically looking for a launcher example code.
I am trying to help a buddy create a way to start selected apps via Arduino commands over serial. Does anyone have an example project that shows how to list app apps on the device and assign them to launch via a given command? Basically looking for a launcher example code.
base64 Member Licensed User Longtime User Sep 5, 2014 #2 Here's a tutorial on launcher on another thread: http://www.b4x.com/android/forum/threads/getting-started-with-a-homescreen-launcher.34068/ Scroll down to the Applications section to see how to list apps on the device and how to launch an app. Upvote 0
Here's a tutorial on launcher on another thread: http://www.b4x.com/android/forum/threads/getting-started-with-a-homescreen-launcher.34068/ Scroll down to the Applications section to see how to list apps on the device and how to launch an app.
D DaOne Member Licensed User Longtime User Sep 5, 2014 #3 Was hoping for a example file. Quite new at b4a. Anyone know of one? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 7, 2014 #4 Check PackageManager from the Phone library. You need to first call GetInstalledPackages and then when you want to start an app you call GetApplicationIntent. StartActivity(intent) will cause the app to start. Upvote 0
Check PackageManager from the Phone library. You need to first call GetInstalledPackages and then when you want to start an app you call GetApplicationIntent. StartActivity(intent) will cause the app to start.