Hi all, I'm trying implement a background service to read data from a sensor and write into SQLite database. Therefore I have implement android service to run this task as a background service. But the problem here is since this is a service i need to extends this from Service class. And then when I try to access the sensor, it is impossible because to access a sensor it need to be an activity. And since i have already extends service I can not extend any more class.
Is there any workaround for this problem. -- Thanks & Regards, Thisara. -- 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