sql
php
c
xml
python
database
linux
android
objective-c
visual-studio
multithreading
eclipse
flash
oracle
cocoa
apache
php5
jsp
postgresql
dom
I think the service is running on the UI thread. Thus if you have an endless loop running, the Activity will never get any CPU time to respond to the message.
Instead of doing while (true) {...}, allocate a Handler. You can use its various post methods to do things repeatedly at timed intervals, or even as fast as possible, without totally blocking all other activity on the UI thread.