If you only need to modify the content of a module, but you need to execute make every time, the last wait is a long time.To compile a module, you only need to execute mm in the directory or its subdirectory of your module to compile a separate
In the Android system, its root file system has several configuration files required for starting the system:
/Init. RC
/Default. Prop
/System/build. Prop
Generally, we can get it through the getprop command and set setprop.
Before using
This section describes how to implement the sharing function in your own applications and how to add your programs to the sharing list.
For example, if you want to share an image on campus.
This is what we want to do. At the same time, we will add
Android provides four data storage methods:
Shared preferences: used to store data in the "key"-"value" format. It is a lightweight key-value storage mechanism that can only store basic data types.
Filws: file storage
SQLite: a standard
1. Install git
The android Linux kernel can be selected from the release (portable) version. If git is not commonly used, you can select the portable version.
Download the git of portable, decompress it, and run Git-Bash. A console window is
Reprinted please indicate the source is klayge Game Engine
From http://android-developers.blogspot.com/2011/11/updated-ndk-for-android-40.html
Today we are releasing an updated version of the android ndk, now in Revision 7. The updated ndk lets
Running environment:
1. Install JDK
2. Install the android SDK
Suggestion: add the JDK and SDK environment variables and add the paths to the PATH environment variables.
Configuration steps:
1. Go to cmd command line mode and check whether JDK and
Reference webpage:Http://www.njpro.cn/forum.php? MoD = viewthread & tid = 111.Http://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcpHttp://forum.xda-developers.com/showthread.php? T = 1071584
Method 1: Connect
Occasionally, you may want to make sure that your application is displayed in either landscape or Landscape mode in a certain direction. For example, you may develop a game that runs only in Landscape mode. In this case, you can write code to force
In the course lecture03 _ application framework and key components _ 1, the instructor introduced that intent is the medium for passing parameters between activity and service, the usage and example of using intent and bundle to transmit data
From: http://blog.csdn.net/moruite/article/details/6028547
1. terms and concepts
Terms
Description
Remarks
Screen Size)
It refers to the actual physical size of the mobile phone, such as commonly used 2.8 inch, 3.2 inch, 3.
The corresponding permission must be set in androidmanifest: Android: Name = "android. Permission. record_audio"
1. first determine whether an SD card exists and obtain the corresponding path
/* Check whether an SD card exists */
If (environment.
1) download Baidu map mobile API (Android) Development KitTo use Baidu map API in Android applications, You need to reference Baidu map API development kit in the project. This development kit contains two files: baidumapapi. jar and
Register the corresponding permissions in androidmanifest:
Key code for flashing:
Camera camera = camera. open ();
Camera. startpreview ();
Parameter = camera. getparameters ();
Parameter. setflashmode (parameters. flash_mode_torch );
To create a shortcut, You need to press the button on the desktop, select export cut, and then select the program to create the shortcut. Follow these steps:
1. First, you must add
1A. Determine whether to add shortcuts:If (getintent (). getaction ()
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