• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps App launch shows "Unfortunately,Serial Example has Stopped" when USBSerialExample is used

Hello,

I used the USB SerialExample and dumped into the android device (SamungS3-JellyBean4.3).When I connect my USB connector to it asks permission in a dialog box as

--SerialExample Open serialExample when this USB device is connected.Use default for this USB device.*Yes *Cancel---

When I tried to launch the app it says "Unfortunately,Serial Example has Stopped".

I used the USB serialExample(code) from here https://github.com/mik3y/usb-serial-for-android as AndroidProject from Existing code as shown in the attached image and after doing so it shows the app name as DeviceListActivity in workspace and shows the app launcher name as SerialExample.

BTW,the USB device I am using has a vendor-id="1105" product-id="5798".

Can someone help me in fixing this problem.
 

Attachments

  • Workspace_aftr_adding_SerialExample.jpg
    Workspace_aftr_adding_SerialExample.jpg
    28.5 KB · Views: 114
  • OpeningUSBSerialExampleProject.jpg
    OpeningUSBSerialExampleProject.jpg
    22.2 KB · Views: 111
Back
Top Bottom