No Internet in my own Apps | Stand-Alone Emulator

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

No Internet in my own Apps | Stand-Alone Emulator

Postby Elysium » Wed Aug 19, 2009 2:12 pm

Heyho!
I'm developing an App for School, and my teacher asked me if it is possible that he gets kind of an "image" to check the App out himself.

Well, I can't lend him my precious Magic, and I don't want to let him struggle with installing the whole SDK.

So what I did was, I kinda "exported" the Emulator as a stand-alone app. I specified via cmd all the necessary images.

Actually, its working. Even my App is stored on there, and seems to work as well. But no internet. The Emulator itself HAS Internet, Google Maps and the Browser are working fine. But my MapView won't load anything. Can you help me out?

Greetz

EDIT:
Could it be that is has something to do with my Maps API Key? Just a thought. Couldn't figure the problem out by now. Logcat says just "UnknownHostException" for http://www.google.com. But in the Browser/Map App, its working fine.
Elysium
Freshman
Freshman
 
Posts: 3
Joined: Wed Aug 19, 2009 2:09 pm

Top

Postby Elysium » Wed Aug 19, 2009 4:20 pm

Okay, I solved the problem at last.

I used a private Map API Key, not the debug one and created a Release-Version of my Application. Now it works. Hope that helps everyone who encounter similar problems.
Elysium
Freshman
Freshman
 
Posts: 3
Joined: Wed Aug 19, 2009 2:09 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 3 guests