Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug an Android Background Service?

I have been developing a PhoneGap application for Android which contains a Background Service. My question is: How can I debug this service? Is it possible to debug using an AVD and go step by step? or can I use my own device to achieve that?

Thanks!

like image 210
pointnetdeveloper Avatar asked Aug 01 '13 21:08

pointnetdeveloper


1 Answers

Yes, it can be done using AVD or device. Check out http://www.helloandroid.com/tutorials/how-debug-service and Debugging a service.

like image 160
androiddev19 Avatar answered Nov 15 '22 04:11

androiddev19