Sunday, November 22, 2009

[android-developers] Re: Map Application works in 1.5 but not working in 2.0

In the spirit of full disclosure, it only fails in the emulator! When
I run on my Droid 2.0, it works fine. Damn the emulator!

Peace,
Scott

On Nov 20, 11:59 am, stanlick <stanl...@gmail.com> wrote:
> What fun!  Mine is now failing on 2.0 and my manifest specifies:
>
> <uses-library android:name="com.google.android.maps"/>
>
> Peace,
> Scott
>
> On Nov 18, 9:19 am, Andrei <gml...@gmail.com> wrote:
>
> > Mine works fine on 1.6 and 2.0
>
> > On Nov 16, 6:48 am, RANJAN BANIK <ranjanfeelthema...@gmail.com> wrote:
>
> > > Hi All,
>
> > > I have a code which works beautifully in the Android 1.5 platform. Now
> > > I have upgrade the platform to the Android 2.0 , but it is not
> > > working .
>
> > > The error is - "no activity to handle theintent"
>
> > > The code snippet I use is -
>
> > > Java:
> > > String currentLocation = "geo:41.87,87.62" ;
>
> > > startActivity(newIntent(Intent.ACTION_VIEW, Uri.parse(currentLocation
> > > + "?q=adidas" )));
>
> > > I have used this manifest file -
>
> > > XML:
> > > <?xml version="1.0" encoding="utf-8"?>
> > > <manifest xmlns:android="http://schemas.android.com/apk/res/android"
> > >      package="com.ranjan"
> > >      android:versionCode="1"
> > >      android:versionName="1.4.2.1">
>
> > >     <application android:icon="@drawable/icon"
> > >      android:label="@string/app_name">
>
> > >       <uses-library android:name="com.google.android.maps" />
>
> > >         <activity android:name=".Splash"
> > >                   android:label="@string/app_name"
> > >                   android:theme="@style/Theme.Translucent">
> > >             <intent-filter>
> > >                 <action android:name="android.intent.action.MAIN" />
> > >                 <category
> > > android:name="android.intent.category.LAUNCHER" />
> > >             </intent-filter>
> > >         </activity>
> > >     </application>
>
> > >     <uses-sdk android:minSdkVersion="3" />
> > >      <uses-permission android:name="android.permission.INTERNET"></
> > > uses-permission>
> > >      <uses-permission
> > > android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-
> > > permission>
> > > <uses-permission
> > > android:name="android.permission.ACCESS_FINE_LOCATION"></uses-
> > > permission>
> > > </manifest>
>
> > > Please, help me out.
>
> > > Thanks in advance
> > > Ranjan
>
>

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate