Today, I finally finished reading the foundation of Android development. This time I understood it better than I did last time and almost went to bed.
It will only use basic functions, and the development and design should be well imagined.
Many
The general printing method of Java is system. Out. println (""); the result is also displayed on the IDE console. HoweverAndroidPlatform, system. Out. println (""); you cannot see the printed message. Because the printing method provided by Android
Ndk is the meaning of Native Development Kit, which is easy to understand and developed locally. Most people know that the android development language is Java. At the same time, we also know that android is based on Linux, and many of its core
Step 1: first in the main. build the dialing interface in the XML file (we recommend that you use a tool to drag it, because it is faster and you do not need to define something in other files) Main. XML Step 2: strings under values. XML file
Android Startup Mode
The specific parameters are not explained in detail, just for a record.
First nandflash Startup Mode
Set the bootargs and bootcmd parameters:
Set bootargs console = ttysac2, 115200 noinitrd root =/dev/mtdblock3 init =/init
Sapan Diwakar has been engaged in Android development for the past few years. At the same time, he has accumulated some practical Android Application development resources, hoping to help you.
1. AndroidAnnotations Android annotations is an
1. Make preparations.
Linux --- pear OS 6,
JDK---JDK1.7.0,
Eclipse --- adt-bundle-linux-x86_64-20130729.
2.
Install linux
Here I chose pear OS 6,
Pear OS 6 is a Ubuntu-based Linux system developed by French.
Because of the appearance, I chose this
WAC: wholesale applications community (large-scale Application Software Development Alliance)
Official Website: http://www.wacapps.net/
As I know, the WAC standard was initially launched by a group of telecom operators, including mobile. as a
Linerlayout is a row (column) that can only place the linear layout of one control. Therefore, when many controls need to be listed, you can use this pull.
Code:
Main. xml
Code in string. xml Hello world,
I like Java and Android.
Write down this article to commemorate yourself.
Not much nonsense:
Configuration steps:
(My development tools are shared with my classmates. If I have resources, I will use them more)
For Java Development, you must first
I. error level
Error> warn> info> debug> verbose (redundancy)
Ii. View Android project logs
The console view can only view the information of the Project deployed on the simulator. The development log information can only be found
1. Functions of handler in Android
See how the SDK introduces it:
A handler allows you to send and process the message and thread's messagequeue runnable object. Each handler instance is related to a separate thread and the message queue of the
When you create an android project, the tool automatically creates many folders, the following explains the functions of these folders: src/Java original code storage directory GEN/Automatic Generation directory Gen directory stores all files
1. Introduction to the android graphic frameworkThe android graphic framework can be divided into two parts: the upper-layer view system used for application graphic UI display and the bottom-layer graphics driver used for graphic rendering.
The
1. Introduction to the android IPC Mechanism
1. Introduction to Android processes/threads
In the Android system, an application usually contains multiple components (such as activity and service). These components can be in the same process or in
About Android hal
1. Introduction to Hal
The existing Hal architecture was proposed by Patrick Brady (Google) in his 2008 Google Io speech, for example:
Android Hal is designed to protect the intellectual property rights of some hardware providers,
Onloadfinished
This method is called after the previously created loader has completed its loading process. this method is called before the data applied to the loader is released. in this method, you must delete all the use of old data (because it
Save activity status
As described in the previous section, the system saves its status when the activity is stopped by default. as a result, when a user navigating to the previous activity, the user interface is displayed the same as when the user
Comparison between sleep wake-up for Linux and Android (2)
Android sleep and Wakeup
Android defines several low-power States: earlysuspend, suspend, and hibernation.
1. earlysuspend is a low power consumption State. Some devices can choose to enter
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