Android Question REQ: Help connecting newsmy tablet to b4a

gareth thomas

Member
Licensed User
Longtime User
I have an ubuntu desktop running XP64 in virtualbox. b4a is inside this vm.

My android tablet is a newsmy p76 and there appears to be no driver

I bought a wifi dongle and have the b4a app on the tablet as an alternative.

I am unable to connect via USB without the correct driver and have no idea how to set up wifi networking

I have tried the google USB driver to no avail

Has anybody any suggestions please - the VM is recognizing the USB ok its just that XP is not instaling the google driver for the newsmy device.

Otherwise how do I go about setting up the wifi network using virtualbox and a wifi USB dongle?

Thanks
 

derez

Expert
Licensed User
Longtime User
Can you copy the bridge apk file to the storage of the device (sdcard ?) using a memory reader ?
After installing it in the device you'll be able to connect b4a by wifi.
 
Upvote 0

gareth thomas

Member
Licensed User
Longtime User
I have done that but I am not connecting - I thought it would simply connect to the wifi dongle but it is not

I need to set up the wifi network on the XP virtual machine to do that but am unsure how to configure it

went to the shop where i bought the tablet & they cant find any drivers

Now trying on windows7 which detects the device immediately in USB storage mode but nothing seems to happen in debug mode - is this normal?
 
Last edited:
Upvote 0

gareth thomas

Member
Licensed User
Longtime User
OK I got the driver to install

Basically in windows7 different drivers are required for USB storage mode and USB debug mode.

Storage worked without asking for any driver.
Debug did not work at all as there was no driver for android device, only for USB storage device.

I took the following advise from a stackoverflow thread...

  1. Using the "SDK Manager" that came with the Andriod SDK, you can download the Google USB Driver package.
  2. Open the file "android-sdk\extras\google\usb_driver\andriod_winusb.inf" in note pad or some other text editor.
  3. Find the line that reads "[Google.NTx86]"
  4. Add the following 2 lines right under "[Google.NTx86]"

    %SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_DEED
    %CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_DEED&MI_01
  5. Find the line that reads "[Google.NTamd64]"

  6. Add the following 2 lines right under [Google.NTamd64]

    %SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_DEED
    %CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_DEED&MI_01
  7. Turn USB debugging on in tablet

  8. Connect the tablet
  9. Point to inf file
Important: Replace VID_2207 and PID_0010 with numbers from device information. Open Device Manager, right-click on your device and click on Properties, then Details. Check several properties from the dropdown box to find out your VID and PID.

These are the hardware ID for the android USB driver.

Yeeeehaaaa real time debug is mine ;-)

...next I want to see if I can connect it to super fast vm android emulator
 
Upvote 0
Top