bkbinani Member Nov 30, 2015 #1 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.
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 Nov 30, 2015 #2 if all the above is doing fine, like you reported, you have to start b4a, write your first programm Code: Copy 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
if all the above is doing fine, like you reported, you have to start b4a, write your first programm Code: Copy 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....
bkbinani Member Nov 30, 2015 #3 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
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
eurojam Well-Known Member Licensed User Longtime User Nov 30, 2015 #4 did you try to connect it with adb? adb you can find in the SDK folder <sdk>/platform-tools/ from the commandline enter: adb devices which will list all connected devices. See if your device is listed. more information you can find here: http://developer.android.com/tools/help/adb.html and/or for example: http://www.greenbot.com/article/245...-options-on-your-android-phone-or-tablet.html Upvote 0
did you try to connect it with adb? adb you can find in the SDK folder <sdk>/platform-tools/ from the commandline enter: adb devices which will list all connected devices. See if your device is listed. more information you can find here: http://developer.android.com/tools/help/adb.html and/or for example: http://www.greenbot.com/article/245...-options-on-your-android-phone-or-tablet.html
bkbinani Member Nov 30, 2015 #6 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
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.
Erel B4X founder Staff member Licensed User Longtime User Nov 30, 2015 #7 The IDE uses this exact call to list the USB devices. Is this the actual device id? Which device are you using? Upvote 0
The IDE uses this exact call to list the USB devices. Is this the actual device id? Which device are you using?
Erel B4X founder Staff member Licensed User Longtime User Nov 30, 2015 #9 What is the path of android.jar under Tools - Configure Paths? Upvote 0
bkbinani Member Nov 30, 2015 #10 Sir Image enclosed. Plz. Thanx Attachments New Bitmap Image.jpg 55.2 KB · Views: 365 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 1, 2015 #11 What is the output of: c:\android\android-sdk-windows\platform-tools\adb devices ? Upvote 0
bkbinani Member Dec 2, 2015 #12 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
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.
B4AinNY Member Licensed User May 12, 2016 #13 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
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 ?
Erel B4X founder Staff member Licensed User Longtime User May 13, 2016 #14 What happens when you run your code from the IDE (with B4A-Bridge disconnected)? Upvote 0