Android Question USB debugging setup

67biscuits

Member
I reinstalled the sdkmanager and it works with the bridge. As for USB, my phone has been in developer mode for years, i just dont see a menu item, or physical way to connect via usb.
it was after I update b4a. Now I am having b4x issues. I'll start a new thread
 
Upvote 0

cheveguerra

Member
Licensed User
Longtime User
I reinstalled the sdkmanager and it works with the bridge. As for USB, my phone has been in developer mode for years, i just dont see a menu item, or physical way to connect via usb.
it was after I update b4a. Now I am having b4x issues. I'll start a new thread
You need "USB Debugging" enabled; for that, you first need "Developer Mode" enabled. If debugging mode is enabled, when you connect your cel to the PC via USB, you "should" get a popup asking for permission to connect.


1786985737879.png
1786985910541.png
 
Last edited:
Upvote 0

Danamo

Member
Licensed User
Longtime User
The exact details depend on the specific device.

Start with enabling developer mode: open Settings, go to About phone, tap Software information (if needed), and tap Build number seven times. You can then enable USB debug mode.
I don't know if it's a coincidence, but I just got another phone, and after enabling developer mode on it whenever I minimize an open app on the phone an "APP SWITCH" message pops up for about a second. How can I turn that off?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
My phone is in dev mode and it is setup to debug via USB, I just don't see where in B4A to make the connection
There is no "usb connect" button as with B4A-Bridge. It happens automatically when you run the app or click on Logs tab Connect button.

The IDE calls: adb devices to get a list of connected devices. You can call it from the command line yourself to see if the device is recognized.
 
Upvote 0

Danamo

Member
Licensed User
Longtime User
I don't know if it's a coincidence, but I just got another phone, and after enabling developer mode on it whenever I minimize an open app on the phone an "APP SWITCH" message pops up for about a second. How can I turn that off?
Never mind. I found it. The "Show Key Presses / show visual feedback for physical key presses" toggle switch in the Developer Options was switched on.
 
Upvote 0
Top