Just wanted to share a few lessons learned.

I found myself in a situation where I had duplicate services running. If you
rename your application or service and redeploy, the service with the old
name will still be present.

I had trouble rooting my phone, and couldn't find a good way to uninstall
the duplicate service. Eventually I came up with the following...

================================
= Uninstall a Service
================================

To Find your service...
adb shell
$ pm list packages -f

To remove your service
adb uninstall MyServiceApp.MyService

================================
= Starting a Service (broadcast intent)
================================
If you have a service configured to startup on reboot, but you don't want to
reboot your phone every time you make a change, the following command worked
for me.

adb shell am broadcast -a android.intent.action.BOOT_COMPLETED



--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/adb-is-your-friend-tp5112869p5112869.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to