I installed Windows USB Android SDK driver for the Android Dev Phone 1 I enabled all the debugging modes and stuff on the phone.It even says.USB debugging connected.When I type adb devices , it shows me only my emulator, and not my phone.It doesn't seem to recognize my Android Phone as an adb device. Why is that?
I have gotten to to the point where I need to test my application on a real Android device. I have obtained an Motorola Droid phone and attached it to my computer (Windows).I have installed the USB driver, and I believe that my computer can see the phone. When I start up the DDMS it shows my device as 'Online'. I cannot, however, figure out how to get the debugger to use the device instead of the emulator. The Android documentation states that when I run my program from within Eclipse that I should be presented with a 'Device Chooser', but that does not happen. I read somewhere else that pressing F11 will bring up the Device Chooser, but it only runs the application on the emulator. I know there is probably something obvious that I am missing here, but I cannot figure out what it is.
I have an app that runs fine on my local emulator, but is crashing on my personal device. I would like some advice on the best way to debug this. Are there log files (stack traces) saved somewhere on a non-dev phone, can it be enabled?
I'd like to connect a HTC Desire to the PC only as debugging device. Every time I plug the cable in it searches for the HTC Sync software on the PC, and it takes a long time until finally a message appears on the phone like "no HTC Sync found, please install". After that, the phone is available to eclipse for debugging. But how can I avoid that everlasting searching process?
I'm using eclipse 3.6 (It was the only download i could find couldn't find 3.5).When i run SDK Manager.exe I see that I have USB Driver Packer, Revision 3 installed.I Set my phone to enable USB Debugging and I plug in my phone to my computer's USB jack.At this point, I do not see the device in eclipse debug configuration. Should I? Am I missing something?
I have a Android phone connected with host computer with USB cable. ADB runs well and I can debug application on phone. The only problem is that the App requires special network setup which I can reach on host but not mobile. Is there a way to let the device send all network operations through ADB and Host network?
Is there a way to route requests made through the web browser on an Android device through Fiddler? I would like to debug web requests that my device is making when I load a web page, and the equivalent emulator not necessarily giving me the same results.
i am trying to simulate a vibrator application using the emulator and i am not able to see #define THE_DEVICE "/sys/class/timed_output/vibrator/enable" I found the path of THE_DEVICE in a vibrator.c file located in hardware libhardwarevibrator. this is a setup which i have where i did a make with the where device_drivers->misc->timed_output is enabled ? I am still not able to do a /sys/class/timed_output/vibrator/enable, what do i need to make it accesible? Could some one point me what i am missing.
I am trying to find some code which will help me to find out if the device which I use has GPS or not? I don't want to know if GPS is enabled or disabled. I just want to know if the device has GPS hardware or not through my program.
I have installed usb driver, selected the android device's debugging mode but i can't access the android device in the target android device's list.I am using htc wildfire as my android device. i chose the connection type of my device to my pc as Disk Drive.
I created an android application and uploaded in my website.Is it possible to check from the web whether this application is installed in the device when someone is trying to download the application? If it is installed, the user should get a prompt whether to reinstall or not.If not the application should not be downloaded.
My plan is to prepopulate a database on a virtual device and then include database in the distribution of my app.However, I can't find the database file.Is it on my hard disk some where?How do I get it?I tried connecting using adb, I did an "ls" and then got really scared by this obscure list of directories.
Programmability i want monitor IP ever connected to my Adnroid device. My initial thought is i can write a background service which will run tcpdump command and forward its output to inputStream. By putting any regular expression i can retrieve list of connected IP to my device.I think that would be bulky to continually run command like tcpdump.
My program is targeting Android 1.5. I would like to retrieve system information about the device itself. I have found very few helpful classes by searching the APIs. the best I've found so far is the Runtime class and a few Build.* system properties.
I would like to be able to get information like the total amount of memory on the device, the amount of free memory (which I do not know if the Runtime class is actually giving me, since it specifically refers to memory available to the JVM) along with information about the processor.
Is this information available, and if so, where can I find it?
Im starting to develop for android and i would like to test my aplication in my Dell Streak, its running 1.6 and my OS is Windows 7.But i dont get have any ADB Interface in computer > device manager, i have it under Portable Devices. Beside that i have everything correct, but Eclipse Device Chooser has no Android device listed.What can i do to have my Streak listed.
I've already installed the drivers and adb,but adb shell shows no device.The 2nd LG USB Modem installed as an Android Phone.I'm using winXP,SP2 PRO, these are my steps.enable USB Debugging mode,dial 3845....and enable root permission,restart my phone,connect my phone to PC,install the drivers.win+R TO open CMD window,cd to the sdk tools directory,adb shell,shows device not found in my device manager,there's an android phone class,under it is an android Adb.
I recently (about 1 year ago) buyed an android tablet (just for exploring android)it was a care solutions tablet, Then i rooted it, but after some time it got stuck on android booting screen,after researching more i flashed CWM(successful) but then cannot get custom rom on it, after googleing , i found a china rom(i cannot find the site now) then flashed it on the tablet (using LIVESUIT), now the screen is booting white with some colourful lines, later i found it was a SMILE PRO Tablet.
I'm trying to sync and employee's new HTC Droid Incredible to our exchange server. Using the Exchange shell prompt I enter in the person's device id and alias to authorize just that device to sync with their account. Once I do that, no other device can sync in the future unless I enter the command line again with the new Device ID.
This employee had an old Motorolla Droid already synced using this method, so their account is 'locked' until I enter in the new Device ID. I have another employee who has their Incredible successfully synced, but it was their first device. When I first sync a device with an employee who's never had one associated before, I go into Outlook Anywhere webmail, and can see the device ID. Based off of the second employee, the Incredible's Device ID isn't based off of the serial number or any other device info. I even downloaded ID and My Phone Info from the marketplace store, and none of those numbers that it reports back resemble anything with the ActiveSync Device ID of the successful employee. For iPhones, it's simple, just add Appl to the serial number and that's the phone's device ID. Any thoughts on how to get the ActiveSync device ID on an Incredible with out first successfully syncing it to the account first?
After successfully setting up and using adb for a couple of days with my viewpad 7e (device-id is 0x0bb0 - this value is in my adb_usb.ini - although i believe it once worked with 0xbb0 - now both doesnt) adb decided not to see my tablet anymore.
Of course usb debugging is enabled. I can use the binaries, only my device does not show up anymore. mac os x knows about the device:
Code: ViewPad 7e: Product ID:0x0005 Vendor ID:0x0bb0 (Concord Camera Corp.) Version: 2.27 Serial Number:ViewSonic Speed:Up to 480 Mb/sec Manufacturer:VS Location ID:0xfd120000 / 4 Current Available (mA):500 Current Required (mA):500 mac osx 10.7.5
android-sdk downloaded again yesterday, so it should be pretty damn new.
Besides the adb_usb.ini the installation is straight forward what you'll find in almost any howto on setting up adb. so where did i go wrong? or, what other stuff between my macbook and adb could keep adb from seeing the device?
I use vmware fusion on my macbook. this normally asks me wether to pass on a usb device to the VM or connect it to the host. it does _NOT_ (however, settings regarding this are correct as in 'always ask') ask me anymore.
So there is very little documentation on the PX102 online as of yet, let alone AOCOS products in general (at least on english sites which I have scoured). First off, I'm currently using OSX 10.6.8 and have the current Android developer tools package that was downloaded from their site about three hours ago (just to be clear). The PX102 is running 4.1.1 and the tablet is a fresh restore (I had a number of apps downloaded but considered that some may have been interfering...).
I will be attempting to root via psneuter exploit from SuperOneClick v2.3.3, however in the terminal when I execute "adb devices" it returns "List of devices attached" with blank space underneath...
I have tried to kill/restart server, run "adb usb", and a couple other small things to no avail. Yes, usb debugging mode is enabled as well.
I would really like to attempt/execute this all via OSX, however name an OS and I have it at my disposal...
I have tried with zero success to get a USB debug connection from a WinXP dev box to a brand X Android 1.6 tablet. I believe I had everything configured correctly on the Android and installed correctly on the dev box, but when the two are connected with a USB cable NOTHING HAPPENS; i.e. Windows finds no new hardware much less a new USB device; therefore, I cannot then install the Android SDK USB drivers on Windows and do the debug thing with Eclipse.
Either the mfg of the Android tablet device has disabled USB debugging and just didn't remove the UI that appears to enable it -- or I've left out some crucial step(s). (The device manual is 100% Chinese and I'm 0% Chinese, so it's no help. The tablet is very nearly, but not, the model A84 7" touch screen 'laptop' at 'www.lezestar.com' in case this helps.)
On the tablet:
- 'Settings/Application/Development/USB Debugging' is enabled.
- Tried 'Settings/Application/Development/Allow mock locations' enabled and not.
- Has 500MB internal flash 'hard disk'
- Has installed 2G SD card
- Firmware: 1.6
- Kernel: 2.6.29-002360g4f8dbbb-dirty
- Build No: 1.7.3
On Dev box:
- Windows XP SP3
- Device Manager finds no 'new hardware' when XP<-->Android USB cable is connected.
- Neither USBDeview.exe (Nirsoft) nor USBView.exe (Microsoft) find any evidence of connection with the Android
- Eclipse Galileo (3.5.2) with Android SDK (for 1.6) and ADV Manager.
- USB Driver package, rev 3. downloaded using ADV Manager.
- USB ports on both Tablet and dev box successfully connect a USB mouse.
- Tablet and Windows XP have been rebooted often.
Is permanently disabling debugging something that Android manufacturors are allowed to do and therefore I'm trying something that can't be done?
If the mfg has 'disabled' debugging, is there a way to work around this; e.g. download a tool that can change Android OS configuration to reenable it?
So Android 2.2 is out, we've got a new SDK, and a promising new feature "Android Cloud to Device Messaging". But I just can't find any traces of this in the API diff.Did anyone find an API? Or some further docs?
I am working on an application that needs to find GPS location of the user. While testing my code on Droid i am unable to find the GPS location. While googling i found this link to an issue raised with Google.
But apps like Yelp can find the GPS location on droid. Is there a workaround to find the user location on a device? Here's the code I am using code....
I have a background service which sometimes does not work properly. I need a logfile which displays me information so that i am able to find the error.But when i use Log.d() then ddms shows me only a few hours of the logfile. Is there a way to expand this? Or is there a more suitable way for my problem?
I have just got myself a new HTC Tattoo which is NOT carrier locked. Now I'm unable to find out how to use that to debug my application. Is is possible to do that on an "unlocked" HTC Tattoo? If so, can someone point me to some resource outlining how to do that?
I've got a Nexus One running a debug version of my application, and I just today downloaded and installed the 0.9.8 version of the SDK tools, and I swear that Debugging latency has increased incredibly. I never bothered to measure the overhead before the upgrade because I always found the phone's debugging overhead to be small enough to not affect matter. Well, now I have AI code which runs at ~10 MS standalone taking 300-400MS through debugging. A 40X performance loss is not something to cough at. Is it just me not seeing the performance loss previously, or has something broken?
I am not sure how is this possible?But we would like to debug the apk files without having the source code (source code lies with developers).But if something breaks I would like to report it to the developers. We would like to report the crash logs and the normal info about the app.
I can debug the Android Java code using eclipse and using the Remote Java Application debug configuration. This does not step into C/C++ code however as expected. I understand I have to attach the gdbserver to do this. Can someone provide a step by step tutorial on how to debug the native code of Android?Is there a eclipse plugin that makes this easier?
I have an app which, for the last 12 hours or so, I can't NOT launch in debug mode on my handset. No matter what I do, it shows the "Process ... is waiting for the debugger to attach" dialog, and the process appears with the little green bug icon in DDMS. Never seen anything like it.Here's what I've tried: - Using the "Run" command, not "Debug", from Eclipse (duh) - Rebooting all hardware - Doing a clean install on the handset - Setting android:debuggable="false" in the manifest.That last one's freaking me out. If I can't turn off debugging for a production build, I can't distribute the app. And it's currently my top earner in the Market.Anybody got any ideas? About the only other thing I can think to try is a clean reinstall of Eclipse and the SDK, but that's enough of a PITA that I'm hoping I don't need to go that route.