Is the Maps application on the device you are trying to run this on?

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 the intent"
>
> The code snippet I use is -
>
> Java:
> String currentLocation = "geo:41.87,87.62" ;
>
> startActivity(new Intent(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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to