Android's official developer blog posted a slide to introduce some tips on Android UI design. Roger came out here in the form of a picture, if you are interested, continue to the next step. The entire PPT is divided into five parts. Part I
Load the jar plug-in Android app
Introduction of plug-ins
1. Some custom general control code in the UI is not limited to a project. When shared use is required, you can integrate the source code into a new project, however, this original method
One way is to set the app to never be killed. Add Android: Persistent = "true" to androidmanifest. xml"
Applicable to apps stored in/system/APPAfter setting, the app is upgraded to the core level of the system and will not be killed in any case.
Introduction
There is an innovative UI design in the status bar of the Android system, which is a notification prompt that can be pulled down. When the system has some messages to notify users, such as receiving text messages, emails, or missed
First, let's take a look at the introduction and give a small instance.
Introduction
Monkey is a command line tool that can run in a simulator or a real device. It sends a pseudo-random user event stream to the system to test the stress of
2. lifecycle of the activity during horizontal and vertical screen Switching1. When the Android: configchanges of the activity is not set, the split screen will call the lifecycle of each activity again. The split screen will be executed once, and
After studying this afternoon, I finally finished setting the background image and background color of the menu. The results are as follows.
I don't care about it. It's just for reference. Let's take a look. The Code is as follows:
Package COM.
Recently, in order to verify the energy consumption of an algorithm, we studied how to enable wireless network card automatically on the open-source Android platform and automatically scan and associate wpa_supplicant-based AP, and record and share
Android Compilation: only 64-bit build environments are supported beyond froyo/2.2
Run $ repo init-u git: // android.git.kernel.org/platform/manifest.git$ repo sync to make, $ Cd ~ after downloading the code ~ /Mydroid
$ Make has the following
If the C language file of Android JNI requires ADB, the following two lines are required:
# Define log_tag "mytag"
# Include
If the header file cutils/log. h cannot be found, add the following line to the Android. mk file in the
Intent Object Parsing
Intent can be divided into two groups:
1. Use the component name to clearly point the intent object to the target component (specify the target component name in the component name segment of the intent object ). Generally,
Filter NFC intent
To start your application when you want to process the scanned NFC tag, you can filter out one, two, or all of the three NFC intents in your app's Android list. However, you usually want to control the most commonly used intent of
Work with attachments
When a user connects a USB attachment to an Android device, the android system can determine whether your application is interested in the attachment. If you are interested, you can establish a communication with the desired
Running Android applications depends on two things: 1. Whether you have an actual Android device; 2. Whether you are using eclipse.
This section describes how to install and run your applications on real devices and Android simulators.
Before
The application component (client) can bind a service by calling the bindservice () method. Then, the android system calls the onbind () callback method of the service, this method returns an ibinder object that interacts with the server.
This
Select Operation items
By evaluating some key features, you should carefully select the menu items in the option menu to be displayed as operation items. Generally, each operation item should satisfy at least one of the following features:
1.
About Dalvik virtual machinesA very important feature of Java is its independence from the platform. Java virtual machines are used to achieve this feature.. General advanced languages must at least compile different target codes to run on different
In system. IMG and data. IMG, We can find directory and files have their own UID/GID, and also access permission.But in Android build environment, they have not been given the configuration.
In fact, these modification are done by mkyaffs2image tool.
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.