Eventhough, its late, the problem was Sony Xperia X3 didn't contain
Google Map API.. So I removed google code from my application and its
installing.. The problem was not with GPS, it was with Google Maps...

Nithin

On Apr 15, 11:33 am, Marek Pola <marek.p...@gmail.com> wrote:
> Please give full Manifest and full log output during the installation
> and hopefully somebody can help you.
>
> Regards
> Marek
>
> On Apr 6, 9:52 am, Nithin <nithin.war...@gmail.com> wrote:
>
> > 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

Reply via email to