. c file in the tftp32 directory on the PC to the Development Board and rename itHello word. c
# TFTP-l hello_world.c-r world. C-g (IP address of the TFTP Server)
Other commands
List available SDK versions:
Android list target
View existing AVD:
Android
directory is hidden and requires the hidden directory display to be turned on.command line input command to display Mac hidden files: Defaults write Com.apple.finder appleshowallfiles-bool true(Hide Mac hidden files command: Defaults write Com.apple.finder appleshowallfiles-bool false??)After you lose, click Enter, exit the terminal, restart the finder on it?? Restart Finder: Mouse click the Apple flag in the upper-left corner of the window and force
Android. Resolution:VALUES-SW600DP values for 7-inch platesValues-sw720dp-land values for 10-inch platesVALUES-V11 Specifies the style that is displayed for phones above the 3.0 version.VALUES-V14 Specifies the style that is displayed for phones above the 4.0 version.The portal file for the AndroidManifest.xml:android application. The components inside Android are declared. and related configuration infor
Address: http://www.androidba.net/deleted-android-apps/
By default, the Android mobile phone system comes with a lot of useless applications. Some guoxing mobile phones even have some built-in applications with promotional properties (suchDaily browser ). These applications are rarely used at ordinary times, but because they are built-in to the system, they are embedded in the mobile phone like psoriasis
1. List the current provisioning:ADB devicesFor example:localhost:~ newuser$ ADB devicesList of devices attachedBh903qdw15Device41008990d29eb000Device2. For a particular deviceAdb-s For example:Adb-s BH903QDW15 Install hello.apk3. Install the AppADB install 4. File copy4.1 Pull from phone to localADB pull For example:ADB pull/sdcard/foo.txt foo.txt4.2 Push from local to phoneADB push For example:ADB push Foo.txt/sdcard/foo.txt5. Uninstalling the Softw
Android: Commonly Used adb commands1. List the current configurations:Adb devicesFor example:Localhost :~ Newuser $ adb devicesList of devices attachedBH903QDW15 device41008990d29eb000 device2. For a deviceAdb-s
For example:
Adb-s BH903QDW15 install hello.apk
3. Install the app
Adb install
4. File Replication
4.1 pull from mobile phone to local
Adb pull
I. ADB-relatedADB shell: Enter the connected USB debug mode device shell command lineADB tcpip 5555: Debug and connect the USB connection to network remote mode for debugging here the port is 5555 (adb default port is 5555 modifiable, but cannot be omitted)ADB connect [Ip:port]: Remote connection to the debugger, as long as the remote machine is already in the computer using the USB connection call above command, changed to remote connection mode (where the port can be omitted, if omitted is the
Android-iptables Common commands: androidiptables
Reprinted please indicate the source: http://blog.csdn.net/l1028386804/article/details/47356011
Common iptables commandsList of Common commands:
Command-A, -- append
Example iptables-a input...
It indicates that a new rule is added to a Rule refining, And the rule will become the last rule in the Rule refining.
Co
1. View Activity on the current phone interfaceDumpsys | grep "Mfocusedactivity"2. View All PackagesPM List PackagesView packages for keywordspm List Packages | grep "Android " or (no quotes can be) PM list packages "Android"3. View information about the app Dumpsys package
ServiceADB start-server13. Close the ADB serviceADB kill-server14. Visit Sqlite3ADB shellSqlite315. Restart the deviceADB reboot16, hanging in the partition (can make the system partition can be re-writable)ADB remount17, the release port (can be set any port number, as the host to the emulator or device request port)ADB forward tcp:5555 tcp:800018. Shutdown commandADB Shell Reboot-p19. Delete Files and foldersTOOLS>ADB remountTOOLS>ADB Shell#su#cd system/sd/data//Enter the specified folder wit
power button event to turn the device on or off.26Unlock screenThis command sends the event, unlocks the lockscreen on the device. It can be combine with the power button command above to turn on and unlock the device.82Print all installed PackagesADB shell PM List packages-fLoggingTo show the log stream on your command line.ADB logcatFilter by TagNameADB logcat---s TEST MYAPPFilter by priorityTo show logs of a specific priority warning and above." *
~user1Go to your personal home folderCD-Go back to the folder where you last#LS //list displays the current directory contents#Rm-r xxx //delete the directory with the name xxx and all the files inside it#RM xxx //delete file xxx#rmdir xxx //delete the directory of XXX#mkdir-p xxx //Recursively create a directory of XXX#CP [Options] [source file] [destination file ],-d copy a shortcut/-r copy a folder/-i to an existing file, asking whether to overwri
Scene:1. As a bridge between PC-side and mobile-phone communication, ADB plays an important role in debugging mobile app and viewing mobile phone information.2. Some of the more useful commands are listed here to facilitate quick check.To view a list of devices on which USB debugging is turned on: ADB devices install APK: adb-s xxxxx (device serial number, using ADB devices, assuming that only one device
Add commands in Fastboot for AndroidFastboot is the default debug method for android. Its advantage is that it is used before linux kernel.Default commands supported by fastboot:
usage: fastboot [ ] commands:update
reflash device fromupdate.zipflashall flash boot+ recovery + systemflash
[
] write a file to a flashpartitionerase
1.Create a new project1. Package Name: cannot be a Chinese--------------package name on the phone2. Minimum Required SDK: The smallest SDK, typically 2.33. Target SDK: The largest SDK, running version4. Compile with: Compiled version, general and run consistent5. Theme: Theme6. Configure Launcher icon: Custom icons, various properties2.ADB:ADB (Control Simulator)---------------virtual Machine connection to Eclipse-----------------------------practical (with ADB)
Preface: Just started to learn Android (adhere to 1 notes a day ^_^), more practical command is the ADB, so the first to learn these, mainly with the real machine debugging, simulator is genymotion, so emulator temporarily not need ha, can follow up1. View simulator/Connection device:By default, all ADB clients communicate with the ADB service using a 5037 port number. Each emulator/Device instance requires a pair of contiguous ports: even ports for c
One. Use the ADB command to viewOpen a command window and go to Platform-tools in the Android SDK directory to execute the command:1. Input: Under Windows: adb shell under Linux: ./adb Shell2. Enter Data/data: If the phone does not have root, use the command Run-as package name to go directly to/data/data3. Go to databases: CD databases4. Use the ls command to list all databases in the current directory5. U
The first step is to configure the environment variables.ADB devices List of all devicesADB start-server open ADB serviceADB kill-server close ADB serviceadb logcat View LogADB shell mounts to Linux spaceADB Install Adb–s ADB Uninstall ADB pull ADB push EMULATOR–AVD ADB common commands (Android Debug Bridge)
Android also limits the use of system resources, such as network devices, SD cards, recording devices, and so on. If your application wants to use any system resources, we have to apply for Android permissions. This is the role of A permission usually has the following format, with a string named Name to guide the permissions we want to use.
Copy Code code as follows:
For example, to obta
Program execution needs to read to security-sensitive items that must be declared in Androidmanifest.xml for the relevant permission request, the complete list is as follows:
Android.permission.ACCESS_CHECKIN_PROPERTIESAllow read-write access to the "Properties" table in the Checkin database, change the value can be modified upload.
Android.permission.ACCESS_COARSE_LOCATIONAllows a program to access Cellid or WiFi hotspots to get a rough loca
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.