question

Robert Bellamy avatar image
Robert Bellamy asked

App Testing Service Map Support

Hello, I am attempting to port a Google Play app to Amazon/Kindle and am finding the process rather infuriating to say the least. Not only is there no emulator for the Fire OS features, but it appears even the Amazon Testing Service ( https://developer.amazon.com/public/resources/development-tools/app-testing-service) doesn't support the Maps Service? I received: 02-26 16:17:32.595 16780 16780 V AmazonMapsV2: Running as amazon. 02-26 16:17:32.595 16780 16780 V AmazonMapsV2: Maps runtime not available, code = 1 after executing private boolean checkForAmazonMaps() { // Check for the presence of Amazon Maps on the device return AmazonMapsRuntimeUtil .isAmazonMapsRuntimeAvailable(this) == ConnectionResult.SUCCESS; } Am I mistaken? Or is it correct that Amazon's own emulator/testing service doesn't support it's own API/Services? Is it some clever ploy to boost Kindle sales by requiring Developers purchase them? Or lack of effort to licence the maps for emulator usage? If so, how ridiculous. There's thousands of Android phones & tablets on the market, and if Amazon wants to be serious about competing, then they're going to put more resources into making it possible for developers to.. develop.
fire tabletsubmission testing distribution
10 |5000

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

Robert Bellamy avatar image
Robert Bellamy answered
Update: The map service appears to be available for Tablet but not Phone. Is there a reason for this? The Amazon Phone supports Maps API AFAIK. However, tiles do not load. I have uploaded an APK using the debug keystore & registered the debug MD5 fingerprint. I receive: 02-27 05:47:47.664 18138 18193 I Maps-Polaris: Initialized asset [shaders] database at path /data/data/org.birdbrook.worldbirdguide/files/locale/world/qcom-full-v1-8-80-0.0.0-0-0_000/shaders.db 02-27 05:47:47.665 18138 18193 I Maps-Polaris: Initialized asset [materials] database at path /data/data/org.birdbrook.worldbirdguide/files/locale/world/qcom-full-v1-8-80-0.0.0-0-0_000/materials.db 02-27 05:47:47.666 18138 18193 I Maps-Polaris: Initialized asset [textures] database at path /data/data/org.birdbrook.worldbirdguide/files/locale/world/qcom-full-v1-8-80-0.0.0-0-0_000/textures.db 02-27 05:47:47.713 18138 18204 I Maps-Polaris: Update Keys callback invoked for version [1.8.80] 02-27 05:47:47.811 18138 18204 I Maps-Polaris: Null Secret received. Informing secret store 02-27 05:47:47.811 18138 18204 I Maps-UPNDownloader: Request Signing failed, Should retry 02-27 05:47:47.811 18138 18206 I Maps-Polaris: Update Keys callback invoked for version [1.8.80] 02-27 05:47:47.811 18138 18204 E Maps-Polaris: [1;31mERROR: [jni/../native/renderer/downloader/UPNDownloadService.cpp: downloadDropFailed(), line 671][0m 02-27 05:47:47.811 18138 18204 E Maps-Polaris: [1;31mERROR: [0m[1;33mDownload Service: download failed [No error][0m 02-27 05:47:47.811 18138 18204 I Maps-Polaris: Download Service: will retry drop 5_0 [attempt: 2] 02-27 05:47:47.816 18138 18206 I Maps-Polaris: Null Secret received. Informing secret store 02-27 05:47:47.816 18138 18206 I Maps-UPNDownloader: Request Signing failed, Should retry 02-27 05:47:47.817 18138 18205 I Maps-Polaris: Update Keys callback invoked for version [1.8.80] 02-27 05:47:47.818 18138 18206 E Maps-Polaris: [1;31mERROR: [jni/../native/renderer/downloader/UPNDownloadService.cpp: downloadDropFailed(), line 671][0m 02-27 05:47:47.818 18138 18206 E Maps-Polaris: [1;31mERROR: [0m[1;33mDownload Service: download failed [No error][0m 02-27 05:47:47.819 18138 18206 I Maps-Polaris: Download Service: will retry drop 7_0 [attempt: 2] 02-27 05:47:47.822 18138 18205 I Maps-Polaris: Null Secret received. Informing secret store 02-27 05:47:47.823 18138 18205 I Maps-UPNDownloader: Request Signing failed, Should retry 02-27 05:47:47.823 18138 18207 I Maps-Polaris: Update Keys callback invoked for version [1.8.80] 02-27 05:47:47.824 18138 18205 E Maps-Polaris: [1;31mERROR: [jni/../native/renderer/downloader/UPNDownloadService.cpp: downloadDropFailed(), line 671][0m 02-27 05:47:47.824 18138 18205 E Maps-Polaris: [1;31mERROR: [0m[1;33mDownload Service: download failed [No error][0m
10 |5000

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

Robert Bellamy avatar image
Robert Bellamy answered
I disabled hardware acceleration in the manifest which fixed the crashing issue on the Tablet online emulator (why is this even necessary, I thought there was no software emulator for fire os 4.5+ and the online emulator was running on real kindle devices?). However, the maps appear totally unresponsive. Although no errors given, there's no tiles loaded, just a blank map, and it doesn't respond to touch even though there's several AmazonMap.OnMapClickListener listeners. So I shall be proceeding to discard Amazon Maps and use an alternative such as Google Maps in a WebView.
10 |5000

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

lsli88 avatar image
lsli88 answered
Hi Robert, perhaps this reply is too late to help, but I would suggest two things which I found helped me as I debugged my tiles issue: 1. Get a Fire Phone or Fire Tablet to test with. Yeah, Amazon sucks in this regard with their current nonsupport of emulators that it borders on the outrageous and ridiculous... Yeah, they're going to force us developers to buy one of their devices (which I relented to) to port an app to Amazon. I'm not sure how many developers are really going to buy an Amazon app to do that... Amazon should really reimburse me for this... 2. Does the CapitolHillCoffee Amazon Maps sample app work for you? If so, then I would add a very simple activity to your app (similar to the CapitolHillCoffee activity) to test and make sure you have everything configured correctly, especially the maps debug registration of your app. 3. Uninstall and then reinstall your app. Try again. Silly yes, but that seemed to work for me.
10 |5000

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