is there a way to determine nexus one is dev phone? - android

I have been given a nexus one by my academic institution and I am developing an application which uses a database on the device.
Unfortunately, I can't view the database on the device despite several attempts.
I tried adb shell, I tried using File Explorer but I can't access the data.
I've asked with my supervisor and he's pretty sure that the device is a dev phone. (I can't really root the phone)
Am I missing something? It's really vital to view the database on the phone otherwise I can't do much testing.
Thanks

Official Android Developer Phones are (to date):
- Android Developer Phone (ADP)
- Nexus One
- Nexus S
Anyway, you can develop in any android-powered phone, so your problem must be elsewhere.
Here you can find a working database example.
Hope it helps.
Regards.

Related

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 deploy to CyanogenMod Android tablet?

How do i deploy an NBAndroid app (by directly moving the .apk file or else compiling straight from NetBeans?) onto a connected tablet (HP Touch that i just put CyanogenMod ICS onto)? I connect it to my computer and it isnt recognised (like WebOS was) but Android ICS was installed fine. Do i need to use the bootloader to do this? I had a quick google and Stack search but could only see stuff relevant to using the emulator, and thought id probably get an answer here quicker.
Edit: this is the same question as this How to deploy android application to a device? which i discovered afterwards.
If the Tablet is not recogniced (have this problem at work, too, even with stock OS) maybe give it a try syncing it via a dropbox folder. Its the best bet for me, so far.
i found how to connect to a device via here
How can I connect to Android with ADB over TCP?
using this method you can get the .apk on the device without using dropbox
But the dropbox method is easier, even in development.

Are Android USB drivers interchangeable?

i'm a beginner programmer, and i'm trying to start coding with android. I already set up my IDE(Eclipse), the SDK and all that, but I can't find a driver for my device. It's a Kocaso tablet, model M760. My question is, is the hardware on some tablets similar enough for the drivers to be interchangeable or no? Oh, and if someone knows where i can find a USB driver for that tablet, please give me a link? I promise I already searched on a lot of places ):
Thanks in advance, and sorry if this isn't the right site, I though it would be better than android power users :(
you can root the tablet using these instructions;
http://www.androidtablets.net/forum/ice-cream-sandwich/44223-rooting-kocaso-m760.html
hopefully that will help you progress your work.
In my experience the drivers are fairly generic, and therefore interchangeable. There is a USB driver in the SDK that will suit most needs, but there is a gotcha. You have to install it in the SDK, and then go in to the android SDK folder to install it in Windows.
I had a similar problem with my tablet. After some research, I found the company that produces your tablet is Global Phoenix Computer Technologies Solutions. The website for their mid-size tablets (yours) is http://www.mymidpad.com. I found the User Manual for your tablet there under Downloads, but nothing else. Here is their contact information: http://mymidpad.com/contactus.html. Send off an email or give them a call, and hopefully they can help you. Sorry I couldn't be of more help.
Edit: I doubt the Google USB drivers will work for you. They didn't for my Archos tablet. This website lists the short list of supported devices, mainly big names. Your device is definitely not one of these big names, so you'll probably need drivers from GPCTS directly.
On my M752, I was able to force it to use the "Android Sooner Single ADB Interface" from Motorola, v 1.2.14.0 dated 11/25/2012. That seems to work OK so far for USB device ID = USB\VID_18D1&PID_0007&REV_0230&MI_01
That's a Google USB Vendor ID, so I was surprised to NOT find a match for the USB device ID in the latest Google USB drivers package [Android SDK Manager tool, extras, Google USB Driver revision 7.]
For lots of OEM drivers, see the page at:
http://developer.android.com/tools/extras/oem-usb.html#Drivers

Testing on real devices

We have recently bought ~20 different Android phones for testing (the emulators/online services just aren't good enough). When the phones are connected all at the same time the driver detects around half of them, but if I connect them one by one all are detected.
Is that a problem with the USB driver? Are there any alternative ways of doing this? I know that it is possible to run adb connect
[IP]:[PORT] but it seems like you need to root the phones for that.
I think you should be looking for a different means to get your apk onto your devices. I find myself testing on a similar number of devices, what I've gone to most recently is drop the apk inside dropbox and copy a link to it, then generate a QR that points to that link. Then I can just scan the QR with all of the devices I want it installed on. Bypasses the need for adb drivers too.
Yes , it's possbile, watch this url https://play.google.com/store/apps/details?id=com.tete.wifiadb

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