Sunday, September 5, 2010

[android-developers] cannot get my location to work on android 2.2

Hi Folks,
my app which was working on 2.1 and earlier version fails to run properly in 2.2. It relies on the location but I do not get any error message.
 
However under DDMS /logCat, I see a message saying:Error message while getting the location address: Reason: this service is not available. 
 
This is coming more as an information message rather than an exception or error. The process that is printing it out is System.out.
 
Note that I did everything possible ( I can think of) to upgrade the app to run in android 2.2
 
The API version was changed to 8.
 
The manifest file contains  all the following:-
...
...

<

uses-library android:name="com.google.android.maps"/>

</application>

<uses-sdk android:minSdkVersion="8" />

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

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

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

 

anything else I need to do ?

its very frustrating... any help would be greatly appreciated..

thanks

Sunny

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment