Some MapView mysteries

by Shtpavel » Wed, 21 Apr 2010 05:05:28 GMT


Sponsored Links
 So..
When i run an app with dev-sertificate, my MapView works right. But
when i signed it for market publishing, MapView do not show map at
all.
What's a problem?
Thank you!

--



Some MapView mysteries

by Mark Murphy » Wed, 21 Apr 2010 05:25:33 GMT


 


You need a Google Maps API key that corresponds to your signing key. If
you change signing key (debug -> production), you need to change your
Google Maps API key to match.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Android Training in NYC: 4-6 June 2010:  http://guruloft.com 

--


Sponsored Links


Some MapView mysteries

by Shtpavel » Wed, 21 Apr 2010 13:16:06 GMT


 Thx a lot!





>



Other Threads

1. How to get intent results?

i'm trying to allow user to select an picture to upload to my website
but i don't understand how i can get the choice of the user

i'm here :

        public void uploadPhoto() {
                setContentView(R.layout.index);
                Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
                intent.setType("image/*");
                startActivity(Intent.createChooser(intent, "Select picture"));
        }

I suppose that i have to override a method but i don't find anything
if documentation..


thx in advance

--~--~---------~--~----~------------~-------~--~----~

2. Debugging sample app Snake

I am using the android 1.5 and have compiled and run the Snake sample
application on the Emulator, using Eclipse to launch it.  When I try
to debug it using the Eclipse environment I get the error:

"Launch error: Failed to connect to remote VM. Connection refused."

I do have the AndroidManifest.xml  debuggable=true set and i went into
the emulator and set Dev Tools > Development Settings> and checked
"Wait for de{*filter*}", and added the snake app to the Debug App.  So not
sure what else to do to get it to work.  I also turned off my firewall
just in case too.

Here is my log for the launch:

2009-06-10 17:02:44 - Android_Snake] Android Launch!
[2009-06-10 17:02:44 - Android_Snake] adb is running normally.
[2009-06-10 17:02:44 - Android_Snake] Performing
com.example.android.snake.Snake activity launch
[2009-06-10 17:02:44 - Android_Snake] Automatic Target Mode: Preferred
AVD 'Cell15' is available on emulator 'emulator-5554'
[2009-06-10 17:02:44 - Android_Snake] WARNING: Application does not
specify an API level requirement!
[2009-06-10 17:02:45 - Android_Snake] Device API version is 3 (Android
1.5)
[2009-06-10 17:02:45 - Android_Snake] Application already deployed. No
need to reinstall.
[2009-06-10 17:02:45 - Android_Snake] Starting activity
com.example.android.snake.Snake on device
[2009-06-10 17:02:46 - Android_Snake] ActivityManager: Starting:
Intent { comp={com.example.android.snake/
com.example.android.snake.Snake} }
[2009-06-10 17:02:47 - Android_Snake] Attempting to connect de{*filter*}
to 'com.example.android.snake' on port 8616
[2009-06-10 17:02:48 - Android_Snake] Launch error: Failed to connect
to remote VM. Connection refused.

Thanks in advance for any help.

John

--~--~---------~--~----~------------~-------~--~----~

3. AsyncTask: onPostExecute always after onProgressUpdate?

4. Making .apk files?

5. Open new window by pressing button.

6. Practical questions

7. Can't get my hello world application to run on the emulater!