Map Application works in 1.5 but not working in 2.0

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Map Application works in 1.5 but not working in 2.0

Postby ranjan » Tue Nov 03, 2009 4:41 pm

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 code snippet I use is -

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. String currentLocation = "geo:41.87,87.62" ;
  2.  
  3.  
  4.  
  5. startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(currentLocation + "?q=adidas" )));
Parsed in 0.034 seconds, using GeSHi 1.0.8.4



I have used this manifest file -

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  4.  
  5.         package="com.ranjan"
  6.  
  7.         android:versionCode="1"
  8.  
  9.         android:versionName="1.4.2.1">
  10.  
  11.      
  12.  
  13.     <application android:icon="@drawable/icon"
  14.  
  15.         android:label="@string/app_name">
  16.  
  17.        
  18.  
  19.          <uses-library android:name="com.google.android.maps" />
  20.  
  21.        
  22.  
  23.         <activity android:name=".Splash"
  24.  
  25.                  android:label="@string/app_name"
  26.  
  27.                  android:theme="@style/Theme.Translucent">
  28.  
  29.             <intent-filter>
  30.  
  31.                 <action android:name="android.intent.action.MAIN" />
  32.  
  33.                 <category android:name="android.intent.category.LAUNCHER" />
  34.  
  35.             </intent-filter>
  36.  
  37.         </activity>        
  38.  
  39.     </application>
  40.  
  41.    
  42.  
  43.     <uses-sdk android:minSdkVersion="3" />
  44.  
  45.         <uses-permission android:name="android.permission.INTERNET"></uses-permission>
  46.  
  47.         <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-permission>
  48.  
  49. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses-permission>
  50.  
  51. </manifest>
Parsed in 0.004 seconds, using GeSHi 1.0.8.4


Please, help me out.

Thanks in advance
Ranjan
ranjan
Developer
Developer
 
Posts: 35
Joined: Tue Nov 03, 2009 3:29 pm

Top

Postby ranjan » Wed Nov 04, 2009 7:41 am

No response :shock: :cry: :cry: :cry: :cry: :cry: :cry: :cry:

PLZ PLZ help me out.

Thanks in advance.

Ranjan
ranjan
Developer
Developer
 
Posts: 35
Joined: Tue Nov 03, 2009 3:29 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 3 guests