question

deveventim avatar image
deveventim asked

Intent.ACTION_VIEW to a geo: URI (M

Dear all, I port a Android App to Kindle. We use the Google Standard app to view an Geo location with : Intent mapIntent = new Intent( Intent.ACTION_VIEW, Uri.parse("geo:latitude,longitude" ); Like the description in : http://developer.android.com/guide/appendix/g-app-intents.html On Kindle I get a 12-20 android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW } because there is no Google Maps on the device. What is the right way to do it on Amazon devices ? Regards Stephan
fire tablet
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sachin@Amazon avatar image
Sachin@Amazon answered
Hi, You need to migrate your app from Google maps to the Amazon Maps API. Please go through the below link for more information https://developer.amazon.com/sdk/maps/migrating.html
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

callmesouky avatar image
callmesouky answered
Hi Sachin, Your answer is not very helpful. I'm having the exact same problem even though I have already migrated my app to support Amazon Maps following the official documentation. The reason why the app crashes is because the Intent mentioned above by @deveventim tries to fire an app (specifically an Activity) that can handle the type of URI parsed. I'm testing in an emulator (Kindle 2nd generation) which doesn't have any map application to handle that Intent. Is there a way to install a "native" map application in the emulator? is there an especial way to open a maps app parsing location coordinates or address? Thank you in advance for your answer. Best regards, callmesouky
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

callmesouky avatar image
callmesouky answered
Dear Amazon Help Community, This question has been left unanswered from Amazonians for almost a month. As a developer, I think it is crucial to have a prompt and helpful answers from framework distributors specially with new products. To invite developers to use Amazon's API (instead of the well known and documented API from Google) I strongly recommend to improve your documentation beyond generalities. Thank you in advance for your answer. Best regards
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sachin@Amazon avatar image
Sachin@Amazon answered
Sorry for delay in getting back to you. Currently map is supported on Kindle Fire HD emulators only. Please install any of the KF HD emulators and test your "native" map application on it. If you have followed all the steps mentioned at the below link to configure your app on an HD emulator, you will be able to successfully test your app on it. https://developer.amazon.com/sdk/maps/building.html Hope this helps.
10 |5000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.