aspose file tools*
The moose likes Android and the fly likes MAP API problem while deploying app on real device. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "MAP API problem while deploying app on real device." Watch "MAP API problem while deploying app on real device." New topic
Author

MAP API problem while deploying app on real device.

Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
Hi all,

In my android app I am using google's MAP api to integrate location based services in app.I have registered for the Map's key
and it works fine on emulator. But when I test it on actual device it does not work at all. By googling a few I came to know that I need to sign the .apk file for public release.

So I am not sure whether is this a issue or not. Because all other feature works fine even if I have not signed the app.

Please help.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42600
    
  65
By googling a few I came to know that I need to sign the .apk file for public release.

Why do you think that whatever you have to do for releasing an app is related to any map problem you may have?

Tell us what you have done to debug this so far. ItDoesntWorkIsUseless


Ping & DNS - my free Android networking tools app
Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
Hey , I forgot that in forum we are not allowed to use this line.

To debug this I tried to generate my own keystore file. It igenerates private key.I havent test it on device,that I will do in evening as I do not have device with me right now. But since it has generated private key I do not think that it will allow on all android device.

And I think the problem is with map means.. Particularly that feature os not working so i thought there may be problem in this portion only.But now I am sure that problem is with key .keystore file only. I was trying with debug.keystore file. When I search for this I came to know that you can not use SDK'skeystore file to depoly the app on actual device.

Please correct or guide me if i am wrong.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42600
    
  65
I repeat:
Ulf Dittmer wrote:Why do you think that whatever you have to do for releasing an app is related to any map problem you may have?

Why are you fiddling around with keystore files at all?

When I search for this I came to know that you can not use SDK'skeystore file to depoly the app on actual device.

This is incorrect. Debug builds -which use the SDK's key- work on actual devices just fine. You just can't distribute them through the Android Market. But -as I've said before- how an app is distributed has nothing to do with making it work on an actual device. So: what have you done to debug the actual map problem?
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

The only requirement that I know of is : the MD-5 hash of the key that you use to sign your application should be used to create a Map key(when you register for maps API).
As UD, already said, you can use the debug key and should be able to run it on the device.


[List of FAQs] | [Android FAQ] | [Samuh Varta]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MAP API problem while deploying app on real device.