Hi,

I created an application in 1.6 SDK. It uses GPS. But its not
installing in Sony Xperia. I installed other application developed in
1.6 SDK and its working fine. But when I am using GPS its not working.
The code is like this,

public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                lm = (LocationManager) 
getSystemService(Context.LOCATION_SERVICE);
                lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000L,
500.0f,this);
}

manifest I gave permissions,

<uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION" />

But when i tried to install its showing "application cannot be
installed. Anybody else face the same problem for Sony xperia.

Nithin






-- 
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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to