Questions tagged [nexus-one]

Mobile phone manufactured by HTC Corporation and using Android as operating system

The Nexus One (codenamed HTC Passion) was Google's flagship smartphone manufactured by Taiwan's HTC Corporation. It became available on January 5, 2010 and uses the Android open source mobile operating system.

57 questions
27
votes
3 answers

Android logging levels

I'm having a little difficulty configuring Android logging. Here's what my code looks like: if (Log.isLoggable("MY_TAG", Log.VERBOSE)) { Log.v("MY_TAG", "Here's a log message"); } Pretty simple, right? However, I'm having quite a…
seanoshea
  • 5,556
  • 3
  • 20
  • 28
15
votes
5 answers

Nexus One / Android "CPU may be pegged" bug

I'm writing a graphically intense game for the Nexus One, using the NDK (revision 4) and OpenGL ES 2.0. We're really pushing the hardware here, and for the most part it works well, except every once in a while I get a serious crash with this log…
Kimberly Spreen
  • 151
  • 1
  • 3
7
votes
7 answers

Cannot connect Nexus One Phone to Android adb

I am running Android SDK 2.2 and am trying to get the adb to connect to the Google Nexus One phone. Its a new phone, shipped straight from Google - haven't installed any apps on it yet. (I have Windows XP) Here is what I have done so far: Followed…
appbee
  • 71
  • 1
  • 2
6
votes
7 answers

eclipse doesnt show my galaxy nexus with android 4?

i tried everything. Checked USB debugging and allowed unknown sources. (Android 4.0.1) When i connect galaxy nexus with the PC without USB debugging, it works. When i connect galaxy nexus with the PC with USB debugging, it doesn't work. I can start…
user1079516
  • 63
  • 1
  • 1
  • 3
6
votes
3 answers

How can I pull databases off my android onto my desktop?

I'm trying this with my Nexus One. I have the android SDK and have used the command adb pull /data/data/com.myapp.android/databases C:\pulls but all I get is pull: building file list... 0 files pulled. 0 files skipped. Also, it seems no matter how…
Julian A.
  • 10,928
  • 16
  • 67
  • 107
6
votes
4 answers

How do I install the USB driver for Nexus One on Windows 7 for debugging purposes?

I have implemented a simple Android application that I now would like to test on a real device. I have a Nexus One. In the Android Eclipse plugin, I have downloaded and installed the USB driver (revision 3) package. But when I connect my Nexus One…
Jonas
  • 121,568
  • 97
  • 310
  • 388
6
votes
4 answers

Android Nexus One - Can I save energy with color scheme?

I'm wondering what color-scheme is more energy-saving for AMOLED display? I've already decided to manage c-scheme according to ambient light, thanks to this post: Somewhat-proof, the link posted by nickf: Ironic Sans: Ow My Eyes. If you read that…
Maksym Gontar
  • 22,765
  • 10
  • 78
  • 114
6
votes
2 answers

Android: Nexus One - Geocoder causes IOException - works perfectly with other devices and emulator

The code below works perfectly for real devices running on 1.5, 1.6 and 2.0 as well as the emulator running on 2.1. However, executing it on the Nexus One (running 2.1) raises an IOException: java.io.IOException: Unable to parse response from…
znq
  • 44,613
  • 41
  • 116
  • 144
6
votes
3 answers

Android camera capture activity returns null Uri

This code worked on samsung before but now that i'm using Nexus One with Android 2.3.6, it's crashing as soon as I take a picture and click ok or choose a photo from gallery. Stacktrace shows a null pointer exception on the Uri. My code for the…
jop
  • 121
  • 1
  • 2
  • 9
5
votes
1 answer

Unable to work with Android on a Corporate Network with WPA/WPA2 security. Always disconnects?

My Nexus One (Gingerbread) and Samsung Galaxy Tab (Honeycomb) both stopped connecting to my corporate network that uses WPA/WPA2 wireless connections. What is strange is that, both the devices worked for at least 2-3 weeks before both of them (at…
Legend
  • 113,822
  • 119
  • 272
  • 400
5
votes
1 answer

Why does the SQLite 3 command using the Android ADB shell return "permission denied"?

Specifically, I was trying to use the sqlite3 command with the ADB shell to run some queries on the database of the Android application I'm building. I kept getting "sqlite3: permission denied". I'm developing on a Nexus One that I purchased from…
Julian A.
  • 10,928
  • 16
  • 67
  • 107
4
votes
2 answers

Completely remove WiFi from Android Rom (Including Settings Layout)

I am currently working with AOSP Gingerbread and have built a customized rom for Nexus One which excludes WiFi and Camera. However, WiFi can still be seen in the settings menu. How do I remove it from the settings layout? P.S. I want the rom to…
BiX
  • 637
  • 1
  • 7
  • 15
4
votes
1 answer

Light sensor on Nexus One returns only two distinct values

I´m trying to read the values of the Light Sensor of my Nexus One, but I´mgetting only following values: 10.0 225.0 and in a few cases some values much higher. The used code: sensorManager = (SensorManager) context …
Jonathan Roth
  • 1,271
  • 1
  • 12
  • 19
4
votes
2 answers

adb devices isn't working on Mountain Lion

I just upgraded to OS X 10.8 (Mountain Lion). Now adb devices doesn't list my Galaxy Nexus or my Nexus One. I can't believe it isn't working as I'm sure there must be Android devs at Google that use Google phones with Mountain Lion. Please help!
richcollins
  • 1,504
  • 4
  • 18
  • 28
3
votes
3 answers

Notification LED - color

I'm trying to experiment with LED colors on my Nexus One and i'm having problems with creating any LED-light (color) with notification. LED-light isn't working. I have tested hardware malfunction and that isn't the problem. Here is the code. …
Ante
  • 8,567
  • 17
  • 58
  • 70
1
2 3 4