IDE upload app to device via Bluetooth?

rfresh

Well-Known Member
Licensed User
Longtime User
I have a development machine (Win7) that I cannot get the USB cable to connect to my android device and the b4a IDE. There is no wifi available.

Do I have any other options to load my app to my phone such as Bluetooth or some other method from the IDE? Or when using b4a is the Wifi or USB cable the only way?

Thanks...
 

rfresh

Well-Known Member
Licensed User
Longtime User
Moto does and i installed it...three times...I have a Droid3. I installed the driver multiple times, did a repair multiple times, changed USB ports (I have 3) and changed the USB cable 3 times (I have 3 cables)...but I still can't get b4a to see my device to upload the app!!
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
I connected the cable to my device and went into the Tools folder and launched the ddms.bat file and an app started up. I looked around on the menus but didn't see anything that looked like it saw my device? Do I have to set up anything in that app?
 
Upvote 0

Tom Christman

Active Member
Licensed User
Longtime User
You might check to see if the "Allow Mock locations" is checked on your phone under Applications Development....along with USB debugging.
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
I enabled the "Allow Mock locations" and have USB Debugging enabled on my device but still cannot connect.

My device doesn't show up in DDMS so I guess my driver must be hosed.
 
Upvote 0

Tom Christman

Active Member
Licensed User
Longtime User
Open your device manager (right click My Computer -> Manage -> Device Manager). Locate your Android phone (if it's shown). Uninstall it. right click, uninstall. check the box that asks you if you want to delete driver software. Unplug, and plug your phone USB back in, and locate your device (could be under "Other Devices" near the middle). Re install the Moto driver (or Win 7 will auto-load it). Hopefully this procedure will do it!
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
My Droid3 device is not listed in the Device Manager listing. So I think my driver is just DOA and I'm SOL!! My laptop is a Lenovo Thinkpad T420.
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
I don't see any visual indication on the laptop screen that it sees the phone BUT the phone does charge and I see on the phone screen its charging.
 
Upvote 0

Tom Christman

Active Member
Licensed User
Longtime User
In the lower right hand part of the computer, do you see an up arrow which when you click on shows speakers, etc. and an icon looking like a usb with a green arrow?
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
In the lower right hand part of the computer, do you see an up arrow which when you click on shows speakers, etc. and an icon looking like a usb with a green arrow?

I know what you're talking about but I don't see that in the task bar in the lower right corner. That's probaly the problem.
 
Upvote 0

Tom Christman

Active Member
Licensed User
Longtime User
Do you get the chimes sound when you plug in the usb? If not, the usb cable may be bad (seems highly unlikely), or you could try another port. My wife's phone is a Motorola Droid3, and Win 7 auto-installed the drivers when the phone usb was plugged in. A background program called "MotoHelper Agent " can be seen running in the background in Task Manager Processes.....you might look for that. But her Droid 3 runs fine. If you want to pursue this, I'd be glad to help.
Tom
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
Thanks Tom. I think my laptop is mess up but I don't know how. I have 3 USB ports and 3 USB cables and I've tried all of them with the same results. I don't know why I can charge my Droid3 from the USB cable yet b4a can't see my phone. But it must have something to do with the fact that I don't see the USB manager in the task bar and I don't hear any sounds when I plug into the phone. I think from a USB stand point and b4a I'm just hosed!
 
Last edited:
Upvote 0

Tom Christman

Active Member
Licensed User
Longtime User
Have you tried to communicate using the adb in Command Line? Using "adb devices" would show all connected devices and has nothing to do with B4A. It utilizes Command Line (from Accessories) and the Android SDK tools /platform-tools (but then you may already know about this). Otherwise, it sounds like you've exhausted your desire to continue?
Tom
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
From the sdk tools folder I ran ddms.bat and that app displayed but my device didn't show up. Is that what you are referring to?

In platform-tools I ran adb.exe but a cmd window disp and text scrolled by too fast to read and then in about 1 sec the win closed. No adb app started up.
 
Upvote 0

Tom Christman

Active Member
Licensed User
Longtime User
It's similar....from Command line you enter the platform-tools, then type "adb devices" and hit enter. The display will show something like 0123456789 or something similar if a devices is recognized or it will display nothing when no device is found. But, as you indicated earlier ddms didn't show any device; so it looks like no connection. Perhaps rebooting the laptop might help. I'll check back periodically if you wish to continue trying after reboot. The only other scenerio is that the pc is seeing the Droid as a usb storage device which shows up in Device Manager under "Universal Serial Bus controllers" on the bottom of the displayed devices. Any instance of that would require uninstalling these and then plugging the Drooid usb back in. I'm guessing this is not the case since you get no chimes indication when the usb is plugged in. Let me know what you want to do.
Tom
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
I'll try the cmd line abd devices thing tomorrow morning and report what happens. Thanks Tom.

At the bottom of Device Manager I do see "Universal Serial Bus controllers" so maybe I can try uninstalling and then reinstalling if the above doesn't work.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…