Common Android commands and simulator parameters (1)

Source: Internet
Author: User

Android simulator command column Startup Mode

Execute emulator in android-sdk-windows-1.1 \ tools to execute Simulators

With the-skin counter number, specify the prompt mode as the HVGA-L, You can forward

Emulator-skin HVGA-L (480*320, horizontal tip)

Emulator-skin HVGA-L (320*480, vertical tip, modemor preset Mode)

Emulator-skin HVGA-L (320*240, horizontal tip)

Emulator-skin HVGA-L (240*320, vertical tip)

Use the mksdcard command to simulate a 1 GB memory card

Mksdcard 1024 M sacard. img

Simulator for inserting an SD card

Emulator-sdcard. img

Use adb + push to upload files to the SD memory card

Adb push 001.jpg/sdcard (copy the file to the/sdcard directory)

Adb push pictures/sdcard (copy the picture photo directory to the/sdcard directory)

Adb push mp3/sdcard (copy the mp3 music directory to the/sdcard directory)

Adb shell)

# Cd/sdcard (go to/sdcard category)

# Ls (view the files on the SD memory card)

Use adb + pull to download files from the SD memory card

Adb pull/sdcard/001.jpg. (download the file under the/sdcard directory)

Adb pull/sdcard/pictures. (download the pictures directory under the sdcard directory)

Remove SD card files

Adb shell

# Ced/sdcard

# Rm 001.jpg (excluding SD memory files)

# Rm-r * (excluding the directories of all files on the SD memory card)

Android simulator Video Playback Method

Mksdcard 4096 M video. img (create an image SD memory card)

Adb push video. avi/sdcard (copying an image from a computer to an SD card)

Emulator-sdcard video. img (start the simulator and load the SD card)

Download free video playback, ex: Meridian VideoPlayer (iiivpa.apk)

Http://sites.google.com/site/eternalsandbox/Home/meridian-

Video-

Player

Adb install iiivpa.apk (anw.meridian Video Player)

You can use three formats: player).mp4 and 3gp. wmv.

Installing APK Application

Adb install filename.apk ( filename.apk)

Adb install-r filename.apk (retain the specified data and reinstall filename.apk)

Adb-s emulator-5554 install filename.apk)


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.