Dear Mark,

I have done the change suggested by you and regenerated the API key as
well but no success at all.

I am putting the logcat on my system as well- Please help me as i
can't move ahead unless is works for me.

07-26 13:15:30.971: ERROR/ActivityThread(781): Failed to find provider
info for com.google.settings
07-26 13:15:36.881: INFO/MapActivity(781): Handling network change
notification:CONNECTED
07-26 13:15:36.946: ERROR/MapActivity(781): Couldn't get connection
factory client
07-26 13:15:38.402: WARN/ActivityManager(604): Launch timeout has
expired, giving up wake lock!
07-26 13:15:39.722: WARN/ActivityManager(604): Activity idle timeout
for HistoryRecord{4358a5d8 {com.eterno/com.eterno.MapsActivity}}
07-26 13:15:40.023: DEBUG/dalvikvm(781): GC freed 4606 objects /
284400 bytes in 574ms
07-26 13:15:41.091: INFO/ActivityManager(604): Displayed activity
com.eterno/.MapsActivity: 12769 ms



On Jul 26, 12:02 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> On Mon, Jul 26, 2010 at 2:58 AM, Amit <amitmishr...@gmail.com> wrote:
> > Hi All,
>
> > I am trying to create a sample application to explore Google maps
> > through android.
>
> > When I try to run the application I only get the blank grid. no map is
> > displayed.
>
> > If i see the DDMS logcat i get erros "Couldn't get connection factory
> > client".
>
> > Please help me in this regard.
>
> > Surprisingly the already installed  Google Maps app of emulator is
> > working fine and showing me the maps
>
> That means you do not have a valid API key, or possibly that you do
> not hold the INTERNET permission in your application.
>
>
>
>
>
> > The manifest file looks like -
>
> > <?xml version="1.0" encoding="utf-8"?>
> > <manifest xmlns:android="http://schemas.android.com/apk/res/android";
> >        package="com.eterno" android:versionCode="1"
> > android:versionName="1.0">
> >        <application android:icon="@drawable/icon" android:label="@string/
> > app_name">
> >                <uses-library android:name="com.google.android.maps" />
> >                <uses-permission android:name="android.permission.INTERNET" 
> > />
> >                <activity android:name=".MapsActivity" 
> > android:label="@string/
> > app_name">
> >                        <intent-filter>
> >                                <action 
> > android:name="android.intent.action.MAIN" />
> >                                <category 
> > android:name="android.intent.category.LAUNCHER" />
> >                        </intent-filter>
> >                </activity>
>
> >        </application>
> > </manifest>
>
> <uses-permission> needs to be a child element of <manifest>, not of
> <application>. Move that to the proper spot, and your activity should
> start working.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 2.9 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to