Hi, take a look at ServiceTestCase:

http://developer.android.com/reference/android/test/ServiceTestCase.html

You won't need to dive into the instrumentation details, just create a
test project based on your Android project. Your tests will go into
the ServiceTestCase above. Run as Android JUnit Test and select either
your phone or the emulator, just like you run the app itsellf.

Good luck! Jeroen

On 4 aug, 10:59, nikki <[email protected]> wrote:
> hi group
>
> I am new to android and was trying my hands on instrumentation
> framework. I searched a lot but haven't found any help on how to test
> a service. Can anybody help me on how to test a service.

-- 
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