[Android Apps and Games] comicrelief:
Great concept

Hi, congratulations on a great idea.

i have been trying to get podmode to work in a car (BMW 2013 5 series) with no success.

following this, i connected the PL2303 USB side to the phone (Nexus 5, rooted) and then with a SERIAL-USB link to my laptop.

serial comms were successfully established via an android terminal app which recognizes the PL2303 and realterm on the PC side.

When it was PodModes time, the cable was plugged in, podmode was selected from the pop up menu. Podmode app said "Connected..." . but i did not see anything on the PC side terminal program.

what am i doing wrong?

Logcat attached.

11-07 13:16:33.454 I/ActivityManager( 820): START u0 {flg=0x10000000 cmp=com.android.systemui/.usb.UsbResolverActivity (has extras)} from pid 820
11-07 13:16:33.574 W/IntentResolver( 820): resolveIntent failed: found match, but none with CATEGORY_DEFAULT
11-07 13:16:33.744 I/ActivityManager( 820): Displayed com.android.systemui/.usb.UsbResolverActivity: +186ms
11-07 13:16:34.084 I/Metrics:BatchTransmitte( 5697): QueuePusher.sendBatches - Drained batch queue.; Number of NORMAL queue batches sent: 0
11-07 13:16:35.404 I/ActivityManager( 820): START u0 {act=android.hardware.usb.action.USB_DEVICE_ATTACHED flg=0x13000000 cmp=me.spadival.podmode/.MainActivity (has extras)} from pid 9386
11-07 13:16:35.444 V/PhoneStatusBar( 9386): setLightsOn(true)
11-07 13:16:35.444 W/ContextImpl(27950): Implicit intents with startService are not safe: Intent { act=me.spadival.podmode.PodModeService } android.content.ContextWrapper.startService:494 me.spadival.podmode.MainActivity.onCreate:-1 android.app.Activity.performCreate:5231
11-07 13:16:35.454 D/BluetoothAdapter(27950): 1118313664: getState() : mService = null. Returning STATE_OFF
11-07 13:16:35.474 I/ActivityManager( 820): Start proc android.process.media for content provider com.android.providers.media/.MediaProvider: pid=11486 uid=10005 gids={50005, 1028, 1015, 1023, 1024, 2001, 3003, 3007}
11-07 13:16:35.524 W/InputMethodManagerService( 820): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@42aee6a0 attribute=null, token = android.os.BinderProxy@43d94400

11-07 13:16:35.714 I/FTDriver(27950): Devices : UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1659,mProductId=8963,mClass=0,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@42ae3dd0]
11-07 13:16:35.714 D/FTDriver(27950): findUSBInterface UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1659,mProductId=8963,mClass=0,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@42ae3dd0]
11-07 13:16:35.714 D/FTDriver(27950): findUSBInterface UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1659,mProductId=8963,mClass=0,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@42ae3dd0]
11-07 13:16:35.714 D/FTDriver(27950): findUSBInterface UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1659,mProductId=8963,mClass=0,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@42ae3dd0]
11-07 13:16:35.714 D/FTDriver(27950): findUSBInterface UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1659,mProductId=8963,mClass=0,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@42ae3dd0]
11-07 13:16:35.714 D/FTDriver(27950): findUSBInterface UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1659,mProductId=8963,mClass=0,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@42ae3dd0]
11-07 13:16:35.714 D/FTDriver(27950): findUSBInterface UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1659,mProductId=8963,mClass=0,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@42ae3dd0]
11-07 13:16:35.714 D/dalvikvm(10953): GC_CONCURRENT freed 2382K, 23% free 26533K/34280K, paused 4ms+4ms, total 58ms
11-07 13:16:35.724 D/FTDriver(27950): findUSBInterface UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1659,mProductId=8963,mClass=0,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@42ae3dd0]
11-07 13:16:35.724 D/FTDriver(27950): findUSBInterface UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1659,mProductId=8963,mClass=0,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@42ae3dd0]
11-07 13:16:35.724 D/FTDriver(27950): findUSBInterface UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1659,mProductId=8963,mClass=0,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@42ae3dd0]
11-07 13:16:35.724 D/FTDriver(27950): findUSBInterface UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1659,mProductId=8963,mClass=0,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@42ae3dd0]
11-07 13:16:35.724 D/FTDriver(27950): Found USB interface UsbInterface[mId=0,mClass=255,mSubclass=0,mProtocol=0,mEndpoints=[Landroid.os.Parcelable;@42a85678]
11-07 13:16:35.724 D/FTDriver(27950): open succeeded
11-07 13:16:35.724 D/FTDriver(27950): claim interface succeeded
11-07 13:16:35.724 D/FTDriver(27950): Vendor ID : 1659
11-07 13:16:35.724 D/FTDriver(27950): Product ID : 8963
11-07 13:16:35.724 D/FTDriver(27950): Interface = 0
11-07 13:16:35.724 D/FTDriver(27950): epOut = 1
11-07 13:16:35.724 D/FTDriver(27950): Interface = 0
11-07 13:16:35.724 D/FTDriver(27950): epIn = 2
11-07 13:16:35.734 I/FTDriver(27950): Device Serial : null
11-07 13:16:35.754 E/nezdroid( 1493): Notif posted, is enabled? false

11-07 13:16:36.114 W/ActivityManager( 820): Duplicate finish request for ActivityRecord{42f06c88 u0 com.android.systemui/.usb.UsbResolverActivity t206 f}
11-07 13:16:38.784 I/wpa_supplicant( 930): wlan0: WPA: Group rekeying completed with 00:0e:8e:25:d5:a1 [GTK=CCMP]
11-07 13:16:43.154 I/Metrics:BatchTransmitte( 8629): QueuePusher.sendBatches - Drained batch queue.; Number of batches sent: 0
11-07 13:16:43.914 D/dalvikvm( 6011): GC_EXPLICIT freed 213K, 9% free 22503K/24636K, paused 3ms+3ms, total 70ms
11-07 13:16:54.094 I/Metrics:BatchTransmitte( 5697): QueuePusher.sendBatches - Drained batch queue.; Number of NORMAL queue batches sent: 0

11-07 13:17:02.714 I/InputReader( 820): Reconfiguring input devices. changes=0x00000004
11-07 13:17:02.714 I/InputReader( 820): Device reconfigured: id=4, name='touch_dev', size 1080x1920, orientation 0, mode 1, display id 0
11-07 13:17:02.714 I/ActivityManager( 820): Config changes=480 {1.0 413mcc2mnc en_GB ldltr sw360dp w360dp h567dp 480dpi nrml port finger -keyb/v/h -nav/h s.63}
11-07 13:17:02.814 D/PhoneStatusBar( 9386): mSettingsPanelGravity = 55
11-07 13:17:02.894 D/dalvikvm( 9386): GC_FOR_ALLOC freed 3930K, 10% free 68420K/75724K, paused 40ms, total 40ms
11-07 13:17:03.074 I/WindowManager( 820): Screen frozen for +422ms due to Window{441185b8 u0 com.nolanlawson.logcat/com.nolanlawson.logcat.LogcatActivity}
11-07 13:17:03.944 D/PodMode read error : (27950): -1
11-07 13:17:03.944 I/FTDriver(27950): Devices : UsbDevice[mName=/dev/bus/usb/001/002,mVendorId=1659,mProductId=8963,mClass=0,mSubclass=0,mProtocol=0,mInterfaces=[Landroid.os.Parcelable;@43865b50]
11-07 13:17:03.944 D/PodMode (27950): Read failed - Null pointer
11-07 13:17:03.944 D/PodMode read error : (27950): -1

---------- Post added at 10:08 AM ---------- Previous post was at 09:46 AM ----------

My end goal is to stream ipod commands + audio through bluetooth.

I will publish the schematics and bluetooth configuration parameters (for Roving Networks RN52) to be used in this configuration.

unfortunately the first step of viewing the Serial which is being sent out via PodMode is not working. either when connected via OTG as described above, or a Bluetooth connection with the appropriate access point name.

In both cases PodMode displays "connected..." but no serial commands are transmitted, nor does it connect to a 2013 BMW 5 Series.

any help would be appreciated

Cheers,