nexus-one

Could not find adb.exe on my tools folder

偶尔善良 提交于 2020-01-06 03:33:09
问题 I just bought the HTC Nexus One and i'm trying to create Air application fon Android. I have downloaded Android SDK for windows and i installed it, but on the tools folder i can't find the adb.exe I'm watching the following video http://www.gotoandlearn.com/play.php?id=123 that shows the steps from the beginning how to setup Air Applications for Android. Using the command prompt i want to check if my device is connected to the pc using the "adb devices" command. I installed all the available

Where do I find AudioHardware.cpp for the Nexus One?

ⅰ亾dé卋堺 提交于 2020-01-04 10:38:32
问题 Googling for Nexus One AudioHardware.cpp yields lots of results but none brings the actual source file as can easily found for other phones (e.g. Vogue or msm7k). If possible, I would like to find both the stock (Google's official) version and the CyanogenMod one. Pointers to exact locations would be very much appreciated. 来源: https://stackoverflow.com/questions/7111638/where-do-i-find-audiohardware-cpp-for-the-nexus-one

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

寵の児 提交于 2019-12-22 06:57:24
问题 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 Google. Does my phone need to be rooted or something? $ sqlite3 /data/data/com.moodme.android/databases/moodme.db sqlite3 /data/data/com.moodme.android/databases/moodme.db sqlite3: permission denied 回答1: The files are read protected. You need to root

Cannot connect Nexus One Phone to Android adb

只愿长相守 提交于 2019-12-19 02:02:18
问题 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 the instructions on setting up the device for development as given on the Android Developer's site: http://developer.android.com/guide/developing/device.html added android:debuggable="true" to my application manifest USB debuggable is checked on the

Android logging levels

和自甴很熟 提交于 2019-12-17 17:33:32
问题 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 bit of difficulty getting the Log.isLoggable("MY_TAG", Log.VERBOSE) to return true. Per http://developer.android.com/reference/android/util/Log.html, I tried adding a local.prop file to the /data/ directory which looks like this: log.tag.MY_TAG=VERBOSE but no luck. I

Nexus one ignores touch events sent via ADB

断了今生、忘了曾经 提交于 2019-12-10 11:46:26
问题 I'm connecting an HTC Nexus One to my PC via USB (using ADB), running Android 2.3.6, with debug mode enabled. Sending individual keys as such, Works! adb shell input keyevent 82 adb shell input keyevent 20 adb shell input keyevent 20 adb shell input keyevent 22 adb shell input keyevent 22 adb shell input keyevent 22 adb shell input keyevent 66 However, Sending Touch events as such, Fails adb shell sendevent /dev/input/event3 0003 48 104 adb shell sendevent /dev/input/event3 0003 50 10 adb

eclipse doesnt show my galaxy nexus with android 4?

亡梦爱人 提交于 2019-12-09 17:58:53
问题 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 my app on windows. I have Windows 7. Thnx 回答1: in order to debug apps on the device, you need to install a USB driver first. although you may connect the device to PC as mass storage, you still need the driver for development. you can download it

Nexus one ignores touch events sent via ADB

ε祈祈猫儿з 提交于 2019-12-08 13:57:30
I'm connecting an HTC Nexus One to my PC via USB (using ADB), running Android 2.3.6, with debug mode enabled. Sending individual keys as such, Works! adb shell input keyevent 82 adb shell input keyevent 20 adb shell input keyevent 20 adb shell input keyevent 22 adb shell input keyevent 22 adb shell input keyevent 22 adb shell input keyevent 66 However, Sending Touch events as such, Fails adb shell sendevent /dev/input/event3 0003 48 104 adb shell sendevent /dev/input/event3 0003 50 10 adb shell sendevent /dev/input/event3 0003 53 200 adb shell sendevent /dev/input/event3 0003 54 57 adb shell

Android camera capture activity returns null Uri

∥☆過路亽.° 提交于 2019-12-06 06:59:50
问题 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 activating the camera is as follows: public void activateCamera(View view){ Intent i = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); // start the image capture Intent startActivityForResult(i, CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE); } protected void

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

风流意气都作罢 提交于 2019-12-05 09:42:25
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 Google. Does my phone need to be rooted or something? $ sqlite3 /data/data/com.moodme.android/databases/moodme.db sqlite3 /data/data/com.moodme.android/databases/moodme.db sqlite3: permission denied Nathan Schwermann The files are read protected. You need to root your phone or use the emulator. 来源: https://stackoverflow.com/questions/3645122/why-does