title: Android application restarts when USB device is plugged in
body: <p>For anyone who can help me:
  I am currently working with the open accessory framework for Android 3.1+ and my application runs when the usb device is plugged in automatically. However during the event that I unplug and replug the usb while the application is running, android will run a new instance of my application on top of the current one that is already open. How can I keep android from opening another copy of my application that is already currently running?
  Thanks</p>