brelto85 Active Member Licensed User Longtime User Mar 19, 2013 #1 Hi, Is possible to retrieve all navigation applications (eg Waze, Google Navigator, etc. ....) installed on your smartphone using the code? I need to list all navigation app and allows the user to choose thanks Alberto
Hi, Is possible to retrieve all navigation applications (eg Waze, Google Navigator, etc. ....) installed on your smartphone using the code? I need to list all navigation app and allows the user to choose thanks Alberto
Erel B4X founder Staff member Licensed User Longtime User Mar 19, 2013 #2 You can use PackageManager from the Phone library to get all the installed applications. You will need to do the filtering yourself (they are not tagged in any special way). Upvote 0
You can use PackageManager from the Phone library to get all the installed applications. You will need to do the filtering yourself (they are not tagged in any special way).
brelto85 Active Member Licensed User Longtime User Mar 19, 2013 #3 I thought about it when with "Google Now" say the address, he offers me only the two navigation applications installed to launch the browser therefore believed that there was any way (intent, type, attribute, etc. ..) to determine only navigation applications Upvote 0
I thought about it when with "Google Now" say the address, he offers me only the two navigation applications installed to launch the browser therefore believed that there was any way (intent, type, attribute, etc. ..) to determine only navigation applications
Erel B4X founder Staff member Licensed User Longtime User Mar 19, 2013 #4 Download the updated phone library: http://www.b4x.com/forum/additional...s/27435-phone-library-v2-01-a.html#post159054 Code: Copy Dim pm As PackageManager Dim Intent1 As Intent Intent1.Initialize(Intent1.ACTION_VIEW, "geo://") For Each cn As String In pm.QueryIntentActivities( Intent1) Log(cn) Next Upvote 0
Download the updated phone library: http://www.b4x.com/forum/additional...s/27435-phone-library-v2-01-a.html#post159054 Code: Copy Dim pm As PackageManager Dim Intent1 As Intent Intent1.Initialize(Intent1.ACTION_VIEW, "geo://") For Each cn As String In pm.QueryIntentActivities( Intent1) Log(cn) Next
brelto85 Active Member Licensed User Longtime User Mar 20, 2013 #6 It works!!! thanks is possible to retrieve the infos of each application (es. Logo, display name ecc..) from intent? Upvote 0
It works!!! thanks is possible to retrieve the infos of each application (es. Logo, display name ecc..) from intent?
NJDude Expert Licensed User Longtime User Mar 20, 2013 #7 Take a look at the attached sample. Attachments Sample.zip Sample.zip 10.3 KB · Views: 306 Upvote 0