The default kernel does not support loading and uninstalling lkm. Therefore, you need to configure the kernel before compiling the android Linux kernel,
In the android Linux kernelSource code, Directory, run
$ Make menuconfig
The following
During this time, I have been learning about andengine and developed a tower guard game "android defensive warfare".
Can be learned and used :)
The following is an introduction to the game. If you are interested, you can come and play it.
How can I send emails with attachments in the Android system? In fact, intent can easily send emails, which only takes 10 lines.
Code Here, Android development network uses the android123.cwj file on sdcard as an example to send an email through
ArticleDirectory
Cygwin Installation
Development
Document
Debugging
You can use this SDK for C/C ++ development.CodeIs a key part.
The android ndk is a complement to the android SDK that helps you:
-Generate
ArticleDirectory
3.1 Short Message
3.2 sending and receiving
The SMS structure and main fields of Android are as follows:
Others
Code
_ Id // Short Message serial number
Thread_id // The Conversation sequence number
Attribute
Description
Android: Background
Layout background
Android: layout_margintop
Distance from the previous layout
Android: gravity
The text position in the layout, for example, center
When I wrote the android contentprovider, we can see that it is a message passing Method Based on the observer mode. Each cursor and contentresolver serves as a small registration center. Relevant observers can register in this center, and update
This article combinesSource codeAnd instances to describe tabhost usage.
You can use tabhost to switch between different la s on a single screen, for example, the dial-up application that comes with Android ,:
View the tabhost SourceCodeMain
ArticleDirectory
Set topic in manifest
Set the topic in the program
When you design yourProgramYou can use styles and themes to format various screen and UI elements.
A style is a set of one or more formatting attributes.
If you still don't know about Google's blockbuster Android... I feel that all the talents for Google's name are spent on the word google ...) what is it, you can take a lookHere. If you think it's boring, let's take a look.Here. If you still don't
I thought using list in Android should be a simple task, but -- I am wrong! I have been reading books, followed by book examples.ProgramI learned to write a list, but I still have no skills. Today, I suddenly saw a video tutorial, and I felt a
Today I found a strange bug. I opened a logic thread myself.
Then Android comes with n threads that everyone knows. In The onclick event responseCodeThe block is executed by a thread in the Android system.
So I searched for half a day and found
* Similarities between Res/raw and assets:
1. Files in the two directories will be stored in the APK package intact after packaging, and will not be compiled into binary.
* Differences between Res/raw and assets: 1. files in RES/RAW will be
1. create four tab styles for 9patch. For details, refer to the default Android resource.
Tab_unselected.9.png tab_selected.9.png tab_press.9.png tab_focus.9.png
These four resources represent the four statuses of the tab.
2. Define the selector
Document directory
Filter log output
Control log output format
View available log Buffers
View stdout and stderr
The android logging system allows you to record and view system debugging information. Logs are recorded from various software
I have been learning a very basic knowledge for a while recently, and I have accumulated a little accumulation of knowledge, and I have not updated my article. I plan to gradually extract my own things after I have a certain understanding of the
When an activity receives a focus, it is required to draw its layout. The android framework will deal with this painting process, but the activity must provide its layout level root node.
Painting starts from the root node of the layout. It is
When a component runs for the first time, Android starts a process. By default, all components and programs run in this process and thread.
You can also schedule components to run in other processes or threads.Process
The processes run by the
In Android, the data storage technique balances the speed, efficiency, and robustness:
Using shared preference
When storing the UI status, user settings, or program settings, you may want a lightweight mechanism to store known datasets. Shared
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