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 code snippet I use is -
Using java Syntax Highlighting
- String currentLocation = "geo:41.87,87.62" ;
- startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(currentLocation + "?q=adidas" )));
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
I have used this manifest file -
Using xml Syntax Highlighting
- <?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>
Parsed in 0.004 seconds, using GeSHi 1.0.8.4
Please, help me out.
Thanks in advance
Ranjan

