Android and Google Maps - android

I am creating an Android app which is using Google Maps. Now, everything works perfectly on emulator, but when I deploy the app on my phone (temporarily just sending myself the apk file via g-mail), the app just crashes when it comes to the maps part. All I get is the "sorry" message.
I'm developing on Google API 7 and my phone (Samsung Spica) has Google Maps installed (and working). How can I find out what's causing the problem?

Aren't you able to connect the device to your development computer and debug on the device so you can see Log cat messages?
You have to set
<application android:debugable=”true”>
in your AndroidManifest.xml

Related

I have used map in Android app its working on my phone and emulator but its apk not working on other phones

I have used map in Android app its working on my phone and emulator but its apk not working on other phones .SHA1 fingerprint is already generated. I have tried API key in both debug/res/values/ and release/res/values.Please tell me what I am missing. I'll highly appreciate your help.

Cannot upload compiled app to Pebble Watch, but can connect

I'm working on an app between an Android phone and Pebble watch. Currently, I'm just trying to setup a basic hello_world.c app provided on cloudpebble.net, but I receive an "Unfortunately, Pebble has stopped working" error. The website will then say "Upload failed. No response from phone".
This is particularly bizarre because I have verified the connection between the phone, watch, and website through being able to take a screenshot of the watch face, which does not crash the app and works fine.
I am using a Samsung Galaxy S3.
I dont use cloudpebble, but the command line tool should work similar.
I found that installing an app compiled with an SDK Version > 3.7 on pebble watch with old firmware on classic pebble crashs the pebble app.

Andorid debug apk not working on another phone

I have developed an android app which uses google maps api v2. I usb-debuged and run the app on Nexus 5 with no problem. Now I want to test the app on Galaxy S3. I installed the app using debug apk on galaxy and when it runs, it does not allow me to click on some buttons. It drives me crazy because I could not find any reason for that. So I found another galaxy s3 and installed the apk but this time the app is not even started. It says app is stopped. Could anyone give me some ideas about these problems?
Note: I already checked the min android version in the manifest file.
Thanks.
To get more information about why it is crashing activate the developer mode and the usb debug mode in the settings and then check the logs.

Application working on emulator but not working on actual device

I am testing facebook Single-Sign-On application.
I am using android platform 2.2 and api level 8. I have similarly created emulator with the same configuration. It is working fine in emulator. But when i test it on actual device that is HTC Desire HD ver 2.2 froyo updated. It opens up a dialog with facebook as title and shows loading screen then disappears.
I am unable to understand the reason for such behavior.
Please help me on this.
Regards,
Pankaj
You need to get the debug on device working and see the error that appears in LogCat.You can find instructions oh how to use debug on device here
You can plug in your device using the usb cable (making sure usb debugging is on in the options).
then debug your application and you will see what the cause is in the debugging console.
I suspect tho your problem is to do with how you are transferring the apk file to the phone (it needs to be signed for facebook SSO to work and you need to have set the key correctly in your facebook app).
See here for more information:
http://www.juje.me/2011/04/export-the-signature-of-your-android-app-for-facebook-api-use/

I can't run my android maps aplication on phone

I developed an android maps application on Google API 2.1 update-1 platform. And it is the simplest code to show a map on the screen, there is no other things.
However, map doesn't shown on phone. The problem is, the same program runs on my android emulator right but it is not working on my android phone properly, I mean program starts on phone but I see only greeds instead of map. phone android version is th same, 2.1 update-1.
Please help me,
Thanks.
If the same APK file works on the emulator but does not work on the phone, ensure that:
The phone has a working Internet connection
The phone's built-in Maps application works

Categories

Resources