Friday, June 14, 2013

How to Copy a File to Nexus One Using the Android SDK



1. Navigate to the Nexus One home screen and click the Settings button. Tap 'Settings' in the menu that appears.

2. Tap 'Applications' and tap 'Development.'

3. Tap to place a check mark in the box next to USB Debugging.

4. Connect the Nexus One to a free USB port on your computer using the data cable that came with the phone.

5. Press and hold the Windows key and the 'R' key on the keyboard. Type 'cmd' in the box that pops up to run the Windows command line tool.

6. Type the following command in the command line box, replacing

with the name of the file you want to copy and

with the location on the phone to copy it to:C:\Program Files\Android\android-sdk\platform-tools\adb.exe push



For example, if your file is named 'MyFile.txt,' and you want to copy it to the Nexus One's SD card, type the following:push MyFile.txt /mnt/sdcard/MyFile.txt

No comments:

Post a Comment