Android Dev Phone - android

Can you use any unlocked Motorola Droid phone for Android development? Say one you bought off of eBay?

Yes, all you have to do is go under settings => development, and check the box to allow USB debugging.

You can use 'nearly' ( I say nearly just in case there are some exceptions that I'm not aware of) any phones for dev, just turn on "allow usb debugging n the settings.
Regarding the motorola droid, it works fine I have one at work and just plugged it in and launched my app.
for further reference, some phones are not recognized in the default settings of the android sdk (the htc legend for exemple), in those cases it is a simple matter of adding a line in your android sdk files (full procedure findable in 30 sec on google).

As far as I know, you can use any Android phone. You just have to enable USB debugging on the device and install the device driver on your computer.

The european counterpard (the Milestone) can be bought quite easily, not only from eBay but new too....I don't see why that wouldn't be the case for the Droid?

Register for Android Market access in developer.android.com and you can buy the phone from the site.

What do you mean by unlocked? If you mean rooted, then you don't even need that. My Motorola Droid works straight out of the box. So, short answer: yes.

Related

Android Studio Not Detecting Kindle Fire HD Tablet

I followed all of Amazon's instructions (https://developer.amazon.com/public/resources/development-tools/ide-tools/tech-docs/01-setting-up-your-development-environment), but my Kindle Fire HD (2013 model) tablet is not showing up in Android Studio when I try to run an app. It works fine on another computer in Android Studio, but not on this one (I recently reinstalled Windows 8.1 and Android Studio 1.3.2).
To clarify: I don't see it in the device list under 'Choose a running device'.
My apologies. I couldn't see properly, so I mistakenly skipped the instruction to run KindleDrivers.exe
It's working now. :)
Change the cable ? Sometimes if you are not using a stock cable or one designed for transfer of information it will do nothing when plugged in.
or
May need to change the adb_usb.ini to include your device signature text.
Or
It is your USB drivers for the tablet.
Or
You have not gone into developer settings and enabled developer mode.
If you have found this useful, please do not forget to vote UP :)

Titanium can't find my Android Nexus device

Hi I'm trying to compile a Titanium Android app directly on my Nexus 7 (2013, SDK 4.3) device but I can't see any 'Titanium on Android Device' option in the Run Configurations.
My device is in Developer mode, connected to the USB, detected by Android File Transfer (Mac OS X 10.9, Titanium 3.1.4), detected by adb...
I tried to restart adb, restart Titanium, plug and unplug the device, but I still cannot see the option.
I also tested all this with Titanium 3.1.3, with no success.
I have no clue of what's happening :/ any help would be appreciated. thanks
It may sound stupid, but my friend had similar problems with his Nexus and he changed the USB slot to which he plugged his device and it worked.
Try using a different cable. Most cables are only able to load the device, somehow. Not every micro-USB-cable is capable of sending data, correctly.
Again a reason why I don´t like to work in the android environment. No one checks whether software and hardware is working the way it´s supposed to. That´s why I love Apples restrictive "closed" system. No 1000 viruses and other crap.
Well, that was a bit confusing but I finally found such option inside a Project Explorer menu...

App does not show up in the installed application list of the Sony smartwatch2 app

I have some problems with SmartWatch2:
Sony Xperia Z1:
Accessory Version:1.0.B.0.60;
Host Application Version:1.0.12;
Smart connect: 5.4.8.
Verizon Samsung galaxy note 2:
Smart connect: 5.4.8.
My two apps do not show up in the installed application list in Sony Smart Connect. I really don't know what to do!
Does anyone have problems like this and solved it?
Many thanks.
Update:
I use "Sony add-on SDK 2.0" and SmartExtensionAPI, SmartExtensionUtils from this pack as linked libraries in my apps. Also "Sony add-on SDK 2.0" marked as a target platform for apps.
Update 2:
Another user with SmartWatch 2 write me that my app didn't listed on his phone smart connect app list.
I assume that you have tried the extension yourself on real HW and it works for you? Couple things you can tell them to try:
Uninstall the extension and reinstall it.
Unpair the bluetooth connection to SW2 and re-pair it.
Make sure:
Your SmartWatch2 extension gives the correct dimensions about itself
(i.e. the dimensions of the SmartWatch2 screen)
Your application maps correctly those dimensions, and transfers the control to your
extension
That was in case your extension never appeared on the SmartWatch2 screen. If it did, but does no more, restarting your phone normally helps. In more difficult cases, uninstall the SmartWatch2 app from your phone (it will be reinstalled once you pair your SmartWatch2 again).
I have a similarly problem but related to the development process. I'm working on a control extension app for SW2, and I was able to compile the code and see the app on the SmartConnect Installed Apps and then test it in the real device (i.e. SmartWatch 2).
After a couple of iterations on Edit code > Compile > Test, the app stops to show on the SmartConnect App list and on the SmartWatch 2 too.
I don't understand why this happens and its not clear what is the solution for this. Rebooting, uninstall, etc. Its like a random try&error solution, and leads to o much time lost on getting the app running again.
Sony SDK Team should give one word on this...

How to fake a Android hardware device?

I'm developing for Galaxy Note specifically. I want to test my app on a real device which I don't have. Is there some way I can fake a Galaxy Note on AVD?
I do know how to create an AVD with hardware matching Note. However, that won't suffice. I want the app to identify AVD as a real device. I have small hints in general direction:
1) Somehow install stock Note ROM on AVD.
2) Modify build.props and create my own ROM.
I also have a Galaxy S phone, if something can be done on that. Thanks.
You can do this only on real Device, because this information is wrote only on the firmware of device. You can try to debug on remote real devices. Search on http://innovator.samsungmobile.com/bbs/lab/view.do?platformId=1
or here http://www.perfectomobile.com/portal/cms/services/android

Debugging directly on the device

I don't expect you to correct my code, since it should be working, at least works on emulator. Unfortunately gives different output on the devices. My question is:
How to debug in such cases, when the device is not working as the emulator, and what could cause that (device model, a custom ROM?)
I heard some rumors some time ago, about possibility using the device instead an emulator somehow connected to the SDK. Could you also confirm or deny that?
You'll find it's not uncommon to find little quirks between devices. Many developers will have several physical devices to test their software on.
You can find information on using a physical device for debugging (including using it inside Eclipse, just as you would the emulator) on the Android website: http://developer.android.com/guide/developing/device.html
Yes you can do that. Just put your device into debugging mode, and connect it to the computer with the micro-usb port on the device. You will also need to download the drivers from the manufactures website.

Categories

Resources