Debugging with adb wireless for Android
Today, there is a problem with the usb interface on the computer, so I thought that I could connect to the mobile phone through wifi, and then DEBUG eclipse and check logcat.
I searched the internet and found this solution.
Now I want to share it with my android friends.
Android uses adb wireless for debugging, androidadb
Today, there is a problem with the usb interface on the computer, so I thought that I could connect to the mobile phone through wifi, and then DEBUG eclipse and check logcat.
I searched the internet and found this solution.
Now I want to share it with my android
In Android, in addition to starting a program from the interface, you can also start the program from the command line, using the command line tool AM.
Enter am -- help in the work area of the ADB Tool
Bytes ------------------------------------------------------------------------------------------------------------------
Bash-3.2 # Am -- HelpUsage: am [subcomman
Because I study Android also quite a long time, has kept the diary in Evernote, because just leave relatively idle plan to put Evernote in the log over and over again published to share online.This article will use the C # and Java languages, respectively, to implement the PC client code that communicates with the Android terminal.The ADB-related components are r
In Android, in addition to starting the program from the interface, you can also start the program from the command line, using the command line tool AM.usage:am [subcommand] [options]Start an activity:am start [-d]-d:enable debuggingSend a broadcast intent:am broadcastStart an INSTRUMENTATION:AM instrument [flags]-r:print Raw Results (otherwise decode Report_key_streamresult)-e:set argument to-p:write Prof
1 Preparatory work(1) Move the Adb.exe from the \sdk\platform-tools directory to the \sdk\tools directory (mainly to see emulator these files in which folder to move Adb.exe to which folder);(2) Move the Sqlite3.exe from the \sdk\platform-tools directory to the \sdk\tools directory (IBID.)2 Open CMD interface, CD to \sdk\tools directory, run instruction adb shell into A
In Android, in addition to starting the program from the interface, you can also start the program from the command line, using the command line tool AM.usage:am [subcommand] [options]Start an activity:am start [-d]-d:enable debuggingSend a broadcast intent:am broadcastStart an INSTRUMENTATION:AM instrument [flags]-r:print Raw Results (otherwise decode Report_key_streamresult)-e:set argument to-p:write Prof
Home Home Button Main interface keyF2, PAGEUP Menu (soft-left) button left soft keySHIFT-F2, PAGEDOWN Star (soft-right) button right Soft keyESCAPE Back buttonF3 call/dial button dial/Call keyF4 hangup/endcall Button End CallF4 power button Supply keyF5 Search buttonKeypad_plus, Ctrl-f5 Volume up button Increase volume keyKeypad_minus, Ctrl-f6 Volume down button Decrease volume keyCtrl-keypad_5, CTRL-F3 camera buttonkeypad_7, ctrl-f11 switch to previo
phone screen)/1602 (max in event 0035) = 0.674Rateh = 1920 (high on the phone screen)/2503 (max in event 0036) = 0.767Step Two: Click on the screen to calculate the coordinates of the click positionADB Shell GetEvent | Grep-e "0035"-E "0036"Click on the desired location on the screen and the following output will be available:/dev/input/event0:0003 0035 00000341/dev/input/event0:0003 0036 000008ecConverts the position data from 16 to 10 in the back of 0035 and 0036width = 0x341 = 3*16*16 + 4*16
Data storage and interface display based on Android Application Development (I): android Application DevelopmentDirectory structure of the Android Project
Activity: interface displayed when an application is opened
Src: project code
R. java: Resource id of all resource f
packages, and their child packages, and you can see that all the UI components of the Android app inherit the view class. The view class is the basic unit of the user interface representation on the Android platform, and some subclasses of view are collectively referred to as widgets (tools), providing a complete implementation of UI objects such as text input b
Directory structure for Android projects
Activity: The interface that is displayed when the app is opened
SRC: Project Code
R.java: Resource ID for all resource files in the project
Android.jar:Android jar Package, import this package to use the Android API
Libs: Importing third-party jar packages
Assets: Storing resource files, for e
Directory structure for Android projects
Activity: The interface that is displayed when the app is opened
SRC: Project Code
R.java: Resource ID for all resource files in the project
Android.jar:Android jar Package, import this package to use the Android API
Libs: Importing third-party jar packages
Assets: Storing resource files, for e
This article translated from: http://developer.android.com/training/basics/firstapp/building-ui.html
The graphical user interface of Android applications is built using the view and viewgroup object layers. Generally, view objects are some small UI windows, such as buttons and text fields. The viewgroup object is an invisible view container, which defines the layout of the Child view, such as in a grid or a
files under AMD64 and x86SDK Setup.exe:Android startup filesSDK Toolset:Android Emulator: The emulator is a virtual mobile device that runs on a computer.Debug Monitoring Service Ddms.batAndroid Debug Bridge adb.exe:adb is a versatile tool that can help manage the status of devices and emulators:There are several ways to join ADB:(1) Run the shell command on the device(2) Managing the emulator or copying files via port forwarding(3) Copying or copyin
Interface Construction The UI is the face of every application that interacts with the user. A good face is not just to be beautiful but to be human. It is best to have a good meal, but to have a strong temperament and be gentle and patient. For developers, forging such a face requires not only superb skills, but also powerful tools and materials worthy of the party. As the saying goes, yunmu cannot be carved. Furong is not made in a single day. It is
In the Linux Kernel (Android) Cryptographic algorithm summary (cipher, Compress, Digest) article, it describes how to include three different types of kernel encryption algorithms in the kernel, and gives examples of how to invoke them in kernel modules.This article will focus on how to invoke the cryptographic algorithm API provided by the kernel space (kernel space) cryptographic module in application space (user spaces).Method one: By calling the C
Document directory
Flexibility
Optimize Layout
All resources
Policy
Status
Communication
Boundary
In the past two years, apart from management departments, some projects should also be taken into account, but mainly for mobile projects. Recently, some interface and user experience content have been involved, and no one has done anything about it, learn it by yourself and use the learning record as a backup.Style devices and displays
Objective:When using some apps, such as Google Play, when not connected to the network, the app will automatically jump to the system's own WiFi connection interface (such as), in this interface to connect WiFi has a good feature: When the WiFi hotspot is not connected, the "next" button is not clickable, This experience is very good and ensures that a network is available in the next step.Implementation st
Use the Dumpsys tool to view activity-related informationADB shell Dumpsys activity > 1.log//Save relevant information to 1.logADB Shell Dumpsys Activity | grep "Running Activities"-A 7//-a 7 indicates that matching rows and 7 rows of data are displayedView Help: adb shell Dumpsys activity-hThe first one is the activity name of the current interface. ↓↓↓↓↓↓↓↓Dumpsys There are other parametersReference:1, ht
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.