nexus-one

What Programming Language is Google's Nexus One Using?

Is it just Java? ...

java application on nexus

Will java applications run on the nexus? I would want to run a particular java application. ...

Is android getting a jit compiler soon?

I've read that there is a jit compiler module for dalvik vm on the works and the results are quite promising. Some people claim an improvement of 100% in terms of execution speed. Does anyone have an idea when it is going to be incorporated in an android release? The amount of RAM on the nexus one (512MB) hints that a jit may be introduc...

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 server at android.location.Geocoder.getFromLocation(Geocoder.java:124) That's the code snipp...

Android Bluetooth Issue

phone: nexus one droid api level 7 droid version 2.1 We have a data monitor that operates by emulating a serial port over bluetooth. When interfacing with a macbook the OS handles the identification of the service endpoints and provides to nodes in the /dev directory, tty.device and cu.device respectively which both stream binary data....

Nexus One GL_FRAMEBUFFER_OES Extension... Not actually there?

I'm porting an iPhone app to Android, and I need to use OpenGL framebuffers. I have a Nexus One, and a call to glGet(GL_EXTENSIONS) shows that the Nexus One supports the same framebuffer extension as the iPhone. However, I can't seem to call functions related to the OpenGL extension in my GLSurfaceView. When I call a simple framebuffer g...

Nexus 1 - Taking Photo - SEVERE ERROR: in config_proc_ctrl_command / liboemcamera

It appears to be an issue w/ the media flinger launching the 'click' sound? Not sure, but it does not appear to take photos w/ the Nexus One. 02-16 16:56:27.552 E/mm-camera( 52): liboemcamera: config_proc_ctrl_command: SEVERE ERROR: attempt to override pending command 54 with 13 02-16 16:56:27.562 I/DEBUG ( 49): *** *** *** *** **...

Opening up Ports on the Nexus One (Version 2.1)

I'm trying to load a web application that needs to connect to port 873. I'm getting an error message that seems to imply that it can't reach that port and I'm guessing that Android 2.1 doesn't expose that port out of the box. Is there any way to open up ports in the 2.1 operating system? Thanks in advance, =Ryan ...

Nexus One and High Quality youtube video

Hi all, From our android app I launch Youtube app with the proper video id. This works well across all devices. On Nexus One the youtube app defaults to using low quality video. I have added &fmt=18 in the url (for eg: http://www.youtube.com/watch?v=NsjadfLYnD4&feature=youtube_gdata&fmt=18 , see this blog for details http://blog...

DH Keypair generation time on Android

This is the code that I'm using to generate a DH keypair: KeyPairGenerator keyGen = KeyPairGenerator.getInstance("DH"); keyGen.initialize(1024, new SecureRandom()); KeyPair ackp = keyGen.generateKeyPair(); (without the needed try/catch, of course). I've done some tests running such code iteratively and varying the key size (in partic...

How do I upload my own library to Nexus one?

I'm porting my native C engine to android 2.1 using NDK r6, but I can't use the commands like: "adb root" or "adb remout" to my Nexus one. How should I do to upload my engine(.so file) to Nexus one? ...

Nexus One & Windows XP USB Driver

I've been unable to get my Nexus One working as a development phone on Windows XP. I've got the driver (revision 3 for N1 support), I've got it installed according to the official installation guide, and the phone appears in the Device Manager just as the guide says it should. However, adb still can't find the phone. 'adb devices', for ...

replacement for clock app

the least thing i like on the nexus one is the useless app it runs when on the desktop dock. I already wasted a good day searching for the 3 topics below and failed to find anything. Is there any replacement for it already available? Is there source code for the original one? Is there documentation on how to replace them? ...

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

Hi! 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 in a well lit room, the black-on-white will be the most pleasant to read. If you...

Android 2.2 Update

Hello All, I have been trying to find information on updating to Android 2.2 for my Nexus One. I have seen posts on a place to download 2.2, but I am very weary of that and people who have tried it seem to have issues with it not working on their Nexus One for AT&T. Does anyone know when/where/how I can update the phone, or if I have ...

AudioRecord problems with non-HTC devices

I'm having troubles using AudioRecord. An example using some of the code derived from the splmeter project: private static final int FREQUENCY = 8000; private static final int CHANNEL = AudioFormat.CHANNEL_CONFIGURATION_MONO; private static final int ENCODING = AudioFormat.ENCODING_PCM_16BIT; private int BUFFSIZE = 50; private AudioRec...

Is it possible to add a new language to Android devices

I have a Nexus One and I would like to know if it's possible to add a new language to the system? Or are the languages compiled into the kernel? if it's possible where can I find information about creating/developing a language for Android? ...

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 message: W/SharedBufferStack( 398): waitForCondition(LockCondition) timed out (identity=9,...

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 .getSystemService(Context.SENSOR_SERVICE); sensor = sensorManager.getDefaultSensor(Sensor.TYPE_...

My widget drains battery on some phones

Hi, I have a widget that appears to drain the battery on some of my users phones but it works fine on my Nexus One (Froyo). Phones that has reported battery drain are HTC Legend, SE X10 and SE X10 mini. Anyone know if there is any known issues or something? // Johan ...