Step 1: Go to the official website to download ndk --- http://androidappdocs.appspot.com/sdk/ndk/index.html
Step 2: Install the downloaded ndk to our own directory, my is D:/geolo/android-ndk-r4b
Step 3: Now the ndk is a new version, and the
Android ndk Overview
Introduction:
Android ndk is a set of tools that allow Android Application developers to embed local machine code compiled from C, C ++ source code files into their respective application software packages.
Important:Android
Different from the past, this time only put the code and no longer write steps, but it is necessary to develop a good writing step, so that you are not prone to errors, it is also easy to identify errors through your steps. Especially when errors
1. Install wine
Look at: http://wiki.ubuntu.org.cn/Wine
Sudo apt-Get install wine
Because the version is old, you do not need to use wine in PPA.
Install the latest wine version
Ubuntu officially comes with wine, but we recommend that you use
Writing efficient code should be the goal pursued by every programmer and an important factor to improve their coding capabilities.
However, it is not easy to achieve this. It requires long-term accumulation, consideration, and practice.
Favorite
I personally like refactoring. refactoring not only makes the Code look clear and increases the readability of the Code, but also allows myself to discover more unknown things during the refactoring process.
This article is reproduced at http://code.
Reprinted: http://hi.baidu.com/aspxdiyer/item/5879980402843519eafe388f
1. layoutinflater
Layoutinflater finds the XML layout file under Res/layout/and instantiates it. This is similar to findviewbyid, the latter is to find the specific widget
For details about the PM command, see PM help. Today, I only want to talk about the PM enable, disable, and disable-user package_or_component commands!
The mobile phone must have the root permission to prohibit the Application Command PM disable
Android applications are developed in Java. Android ndk enables us to use the native code developed by C/C ++ on Android.
There are two reasons to use ndk: one is to rationally reuse existing code, and the other is to improve the execution
Public class glsurfaceviewactivity extends activity { Private myglsurfaceview mglsurfaceview;/** Called when the activity is first created .*/@ OverridePublic void oncreate (bundle savedinstancestate ){Super. oncreate (savedinstancestate
This afternoon, I got one thing done: Let the system automatically save the data for me on the screen.
The reason for this problem is that the latest project uses full screen, and the view in it changes dynamically. At the beginning, p73 of the
Sometimes we need to load multiple menu files in an activity. For example, to achieve the following results:
1. We have a drop-down list. When we select the first drop-down item and press the menu key, the first menu is displayed;
2. Select the
Recently, I am working on multimedia development on Android. I use the JNI interface to call various underlying libraries, such as lib ***. So. As shown below, loading is always unsuccessful. Debugging found that each time the so library is loaded,
Kids shoes who have compiled the android source code must know that it takes a long time to compile the entire android source code, if we modify a module in the android source code or add a new module in the android source code project, will we
In this era of smart phones, I believe that a mobile phone with its own personality can attract its users, the iPhone has built its own IOS mobile operating system on the basis of innovative and personalized hardware, giving users a very special
Post: http://hi.baidu.com/juwend/blog/item/95b98f726fdb04178701b016.html
Note that the menu here does not appear in the menu on the machine, but is based on the android SDK. view. animation. translateanimation (extends android. view. animation.
Obtain the android APK package signature information and post it on 133
No comments for the Development Workshop
1. Use the command to obtain the signature information of the android APK package
Jarsigner-verify-verbose-Certs
You can use the
In the previous article "one of Android JNI development Beginners", I introduced how the Android Application (APK) calls the sharing library implemented by native C through JNI. This article will further introduce the Android Application calling
Reprinted please indicate the address http://blog.csdn.net/xiaanming/article/details/9750689
In Android, activity is mainly responsible for displaying front-end pages, and service is mainly responsible for tasks that require long-term running.
In Android development, in order to ensure that the UI thread can respond in a timely manner and avoid time-consuming operations, the interface may be suspended or even ANR. We usually put time-consuming operations such as downloading and querying
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.