I have an android app that is opened by a URL on my website. What I am looking to do is, attach Eclipse in debug mode when the app starts. I can start the app in debug mode from Eclipse, but I do not know how to get Eclipse to start when the user/another app starts the app on the device.
Share
Add a call to
android.os.Debug.waitforDebugger()on theonCreateof your launch activity. This will make you app wait for a debug to attach whenever it is launched.