Android Question usb connection

jchal

Active Member
Licensed User
Longtime User
i try to connect b4a and d my device via usb but when i press conect in b4a ide nothing happens , it does not connect.
what i am doing wrong?
 

DonManfred

Expert
Licensed User
Longtime User
via usb but when i press conect
You dont need to click on connect using usb debugging.
If you have enabled usb-debugging in your devices developer options and you connect your device using usb then your computer wil recognize your device and make it accessible in windows.

At the same thime in b4a the device is known as available. If you click on compile then b4a will install the app on the connected device.
 
Upvote 0

jchal

Active Member
Licensed User
Longtime User
i know this don but it does not make b4 a say device not found.....
and this is my question why?
i have a samsung duos with android version 4.2.2
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
If you click on connect then b4a will search for devices using the bridge.... As there is no bridge running you´ll get a device not found.
DONT cick on connect when you use USB-Debudding!

Edit: If i click on the B4A-Bridge: Disconnected (bottom) then i get an error saying ping failed.
 
Upvote 0

jchal

Active Member
Licensed User
Longtime User
yes this is the error, but when i go from windows explorer i can see the entire device it is connected to the pc and i have acess from the pc to the device.
how is it possible not to be recognizes?
 
Upvote 0

jchal

Active Member
Licensed User
Longtime User
for some strange reason the phone needs a driver!!!! athougth it is connected and gives me access to my data.....
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
for some strange reason the phone needs a driver
I´m not sure if it is the Driver listed in the SDK-Manager? There is a Google Device Driver in the extras section.... Worth a try to install it with the SDK-Manager and reconnect your device after it is installed... See what happen
 
Upvote 0

jchal

Active Member
Licensed User
Longtime User
i found the driver it is a usb driver for the phone, i was not expecting this at all , as i was able to browse all the files in the phone.
 
Upvote 0
Top