Kindle Fire and Google Maps api

We are developing an application with some map features, with

<uses-library android:name="com.google.android.maps" /> 

in the manifest. It works well on the Xoom and Galaxy Tab, as well as on multiple phones. It also works great in one of the Google API emulators. When installed in Kindle Fire we get

 [2011-12-20 16:25:04 - android] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY [2011-12-20 16:25:04 - android] Please check logcat output for more details. [2011-12-20 16:25:04 - android] Launch canceled! 

with

 E/PackageManager( 1385): Package <package> requires unavailable shared library com.google.android.maps; failing! W/PackageManager( 1385): Package <package> couldn't be installed. D/AndroidRuntime(12606): Shutting down VM 

This post: https://stackoverflow.com/a/167958/ confirms that I began to suspect that the required api is really missing on the device.

Is there a way to include this library in the application, and not rely on its inclusion in the Android assembly on the device?

+4
source share
4 answers

There is no “way to access this api," but what you offer as an alternative ("hunting for Google Maps apk and installing this on Fire") is not only a copyright violation, but probably will not because the application Google Maps will not provide a system library that other applications will use.


UPDATE based on editing:

Is there a way to include this library in the application, and not rely on its inclusion in the Android assembly on the device?

No, sorry. Google Maps Google Maps (application and system library), and there are no distribution options outside of the license from Google for use with firmware.

You can view OSMDroid and OpenStreetMap or use WebView and Google web maps.

+9
source

deCarta offers a full-featured Android API for mapping, geocoding, reverse geocoding, advanced driving directions and POI searches. He works as a champion on the Kindle Fire and offers rendering OpenGL or Canvas maps. Check this:

http://developer.decarta.com/Apis/Android

also: if you register on the site, you will actually receive all the source code for the entire API for free. They also have HTML5 APIs that work great with the Kindle browser.

+3
source

Amazon now offers the MAPS API with two main features:

  • Interactive maps. You can embed the Map application in the application so that customers can pan, zoom and move around the world. You have the ability to display the current location of users, switch between standard maps and satellite views, etc.
  • Custom add-ons. You can display the locations of businesses, landmarks, and other objects with your customized markers and pins.

check here https://developer.amazon.com/sdk/maps.html

+1
source

Source: https://habr.com/ru/post/1387296/


All Articles