Android Question USB Conenection

bkbinani

Member
Dear Expert

I just started Yesterday. I am able to connect My Fone with Wify but I wish to connect it via USB. Drivers are already updated to my pc and I am also using other tools Like MobileExplorer which accept my mobile from USB connection. Debuggin mode is on.

What next I should do to start B4A since in B4A bridge no option other than LAN.

Please guide.

I am using B4A trial.

Thanx in advance.
 

eurojam

Well-Known Member
Licensed User
Longtime User
if all the above is doing fine, like you reported, you have to start b4a, write your first programm

B4X:
Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
    'Activity.LoadLayout("Layout1")
    Log("Hello World")

End Sub
and press F5 in debug mode. The app should start on your device....
 
Upvote 0

bkbinani

Member
My Phone is Connected with USB and I m able to view and send SMS via PC using MyPhoneExplorer. But when I hit F5 as suggested above,
Error windows strike with message No Device Found.

I would be obliged for your help again.

Please.

Thanx in advance
 
Upvote 0

bkbinani

Member
I had put the command as

c:\adb\adb devices

The Result is:
list of devices attached
0123456789ABCDEF device

I think devices is attached.

Please advice again what next.

Thanx in advance.
 
Upvote 0

bkbinani

Member
Thanx a Lot Sir.

Today My Phone is connected to PC via USB and I am able to Use it in B4A IDE.

Many many thanks for your support.

Hope to c u again in my future post.
 
Upvote 0

B4AinNY

Member
Licensed User
I'm having similar problem as user above.
I have found and run ADB and see that ADB devices lists one device
It must be correct one since if I disconnect USB cable and again ask for list, the device is no longer found.
For me my Path to android.jar is
C:\Android\Android-sdk\platforms\android-23\android.jar
Now - what do I do next ?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…