1. Start a virtual machine
2. on the "E: \ Android Development Environment \ Android SDK \ platform-tools.pdf" page of my android SDK, copy the apkto be installed to this directory (the same folder as adb.exe ).
2. Click the start button in the
In 《
In-depth analysis of message loops in Android HandlerHandler is used to operate the Message Queue inside the thread, so Handler can be used to communicate with ITC between threads. This method is safer and more efficient, which can greatly
Introduction and basic usage of AsyncTaskFor details about the introduction and basic usage of AsyncTask, refer to the official document and Android Development Notes: multi-threaded AsyncTask.
A problem caused by AsyncTaskLast week, I encountered
Category
There are several types of notification:
1> normal notification
1. Content title
2. Large icons
3. Content
4. Additional content information
5. small icons
6. Time
2> large layout Notification
Figure 1
The large layout notification is
1. the starting point of all the processes is to press the dialing key after dialing. The code for this step is TwelveKeyDialer in the/android sourcecode/packages/Contacts/src/com/android/contacts/directory. in the java file, the related code is as
I previously worked on the address book software, where I had been worried about how to implement T9 input while I was working on a dial. I found a lot of posts online and I was not satisfied with the answer.However, it was finally implemented. It
Custom Controls are everywhere in android, which gives us great convenience. For example, a view is a combination of multiple controls, such as imageview, imagebutton, and textview. There are many places to use. It is impossible for us to write
In Android, how does one determine whether the system is in flight mode:
Copy codeThe Code is as follows: public static boolean IsAirModeOn (Context context ){
Return (Settings. System. getInt (context. getContentResolver (),
Settings. System.
System Startup Process diagram:
All services in the Framework layer are run in the SystemServer process, and the SystemServer process is created by the Zygote process.
SystemServer process initiation involves two processes: init1 creates a Service
For details, see chapter 3 of HeadFirst Design Pattern decoration objects
The modifier mode dynamically attaches the responsibility to the object. To expand the function, the modifier provides an alternative solution that is more flexible than
The am pm command in the adb shell, some of your own opinions and translations on most official websites.
Let's talk about the am command, which is short for activity manager. You can use am to simulate various system behaviors, such as starting an
This article describes how to save the image resources of android Assets to the SD card. If you are interested, refer to the following:Copy codeThe Code is as follows:
Public class ReadBitmap {Public void readByte (Context c, String name, int
To quickly extract image and Video Thumbnails, you can directly access the databases android. provider. MediaStore. Images. Thumbnails and android. provider. MediaStore. Video. Thumbnails to query the Thumbnails.
How to determine files? You can use
You are already familiar with the UI of social networking applications. This UI is the best reference for the first time when you use it. You can slide the navigation between the left and right of some products, finally, enter the application. This
Problem: after connecting the mobile phone to the computer, the driver is correctly installed and the USB debugging mode is enabled. The device and its process information can be seen in DDMS, but no information is output in logcat.
Cause: logcat
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.