This is interesting.

Every time that block of log was sent to logCat, it was due to the
system trying to send the WakefulIntentService a location.
HOWEVER, only a WakefulIntentService was able to activate the gps
activity. (Based on the gps icon in the notification bar)

Once I made the program a regular service, GPS was never activated,
and i therefore never got that block in the logcat again... I wonder
why my phone is having trouble activating GPS via a regular android
service...

On Dec 21, 8:24 am, Mark Murphy <[email protected]> wrote:
> dapaintballer331 wrote:
> > Seems I'm having trouble keeping my service running.
> > 12-21 02:24:49.060: WARN/MessageQueue(267):
> > java.lang.RuntimeException: Handler{43782188} sending message to a
> > Handler on a dead thread
>
> What thread are you using? If this is the main application thread, I'd
> be surprised for you to get this exception -- after all, the thing that
> is logging the exception is on the main application thread.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android Consulting/App Development:http://commonsware.com/consulting

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to