• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MAP API problem while deploying app on real device.

 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic