posted 13 years ago
ok sorry bout all that. I just included in case needed. Basically, as you see, there are no problems in the strings.xml or mail.xml. The error seems to be coming from permissions not being allowed to certain threads. I have created only two threads, the main UI thread and an additional getLocThread to process getting locations. You can view the latest posts before for all details but here is the simplification and I will give the gist first:
I created the main UI (obv auto) I then created a Runnable called updateLocTV to send with the handler mCallback back to the main thread from the getLocThread used to run all of this OUTSIDE of UI thread. I am getting errors involving permissions that you can see inside of LogCat. I just noticed [in LogCat] that the Package Manager doesnt recognize permissions I added into the manifest. I added a few more permission just now during debugging and none of them are recognized.
The error arises when the locationManager requests updates
lm = (LocationManager)getSystemService(Context.LOCATION_SERVICE);
on line 138 below in Main.java
Now, here is the code for:
Main.java
AndroidManifest.xml
LogCat <-- all errors and warnings displayed, nothing else
not sure if you need any other quick reference but, here are a few
Reference:
onCreate -------------------- line 61
final Handler mCallback --- line 76
Runnable updateLocTV ---- line 78
getLocThread --------------- line 118
where error occurs --------- line 138
Main.java
AndroidManifest.xml
LogCat