ADB, short for Android debug bridge, is a tool in the android SDK. It can be used to directly manage Android simulators or real Android devices (such as G1 ~ 8 mobile phones ).
Its main functions include:
Run the shell of the device (command
ProgramName: Mobile Phone program lockVersion 1.0Website: http://blog.csdn.net/icemanyandyIntroduction : Applock is a security tool for encryption applications on Android. It is easy to operate and efficient. You can lock Multiple software programs
This article mainly involves creating Android projects, updating existing projects, and ant compilation projects.
I. Prepare ant
Download from ANT Official WebsiteHttp://ant.apache.org/Ant environment Configuration:1. Decompress the ant package
When a vendor customizes Android, it is inevitable that new API interfaces will be added in frameworks, whether to add new interfaces to existing classes or new classes, be sure to mark it as "@ hide". Otherwise, you need to perform
Author: Wang Jinnan,Hua Qing vision embedded college lecturer.
Process of porting Android 2.2.1
Environment: ubuntu10.04 and later versions, linux2.6.30 source code package (software), atmel9g45 Development Board. (Hardware)
Tool: gcc4.4 and later,
Android messagequeue mechanic
Core classes:
Handler-the operator, user apps use this to operate the messages: Send messagewith postrunnable, sendmessage etc. And process messages in handlemessage.
Message-the container for the data
Textview of Android is a text label to display text. but it can show text only horizontally by default, left to right or right to left. there are some chances that we wowould like to show text vertically, top to bottom or bottomTo top, for layout of
Understanding asynctask
Asynctask is a class added by the android 1.5 cubake for asynchronous operations. Previously, thread in the Java SE library can only be used to implement multi-thread Asynchronization. asynctask is the asynchronous tool of
Document directory
Interaction with the main thread
Scheduling of thread tasks
Introduction and basic usage of asynctask
For the introduction and basic usage of asynctask, refer to the official documentation and practical Android skills:
I. Environment + device:
Development Environment: Eclipse (jdk1.6)
Model: GT-S5830 (android 2.3.4)
II,Process
After opening the google Page Based on the junit unit test run on the simulator last time, I tried to run it on a real mobile phone again.
There are several ways to display the list effect on the android interface:
Method 1: Inherit from ListActivity. The key code for using Listadapter is as follows:
private ListAdapter mListAdapter;private List> listItems = new
The mobile LAN feixun tool integrates information chat, File Sending and receiving, and voice calls. The software is developed based on the Flying Pigeon book on the computer, in daily work and life, each person's cell phone will save some of
The color and opacity (alpha) values are expressed in hexadecimal notation. The value range of any color is 0 to 255 (00 to ff ). For Alpha, 00 indicates completely transparent, and FF indicates completely opaque. The expression order is "aabbggrr",
Preparations:
1. SurfaceView
Provides a dedicated drawing surface embedded inside of a view hierarchy. you can control the format of this surface and, if you like, its size; the SurfaceView takes care of placing the surface at the correct location
Android folder structure
The Core System \ app mainly stores applications that are routinely downloaded. You can see that all files end with the APK format. The program in this folder is the default component of the system. The installed software
IPC framework analysis Binder, Service, Service manager
First, I will look at the Binder, Service, and Service Manager from a macro perspective and describe their respective concepts. In the concept space of Linux, the Android design Activity is
SoftReference in JavaSoft reference of an object. If an object has soft references and the memory space is sufficient, the garbage collector will not recycle it. If the memory space is insufficient, the memory of these objects will be recycled. The
1. Fade-in and fade-out effect
OverridePendingTransition (R. anim. fade, R. anim. hold );2. Zoom in and fade outOverridePendingTransition (R. anim. my_scale_action, R. anim. my_alpha_action );3. Rotation fade-out effectOverridePendingTransition (R.
Today, it is relatively simple to learn the menu control, and you can directly access the code. First, layout files:
The main program code is as follows:
Package com. cloay; import android. app. activity; import android. app. alertDialog;
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