My Android notes-my knowledge about android and my Android notes-androidAfter coding for such a long time, I recorded some of my concepts about Android. Most of the content below is sourced from network information and official documents. 1. The core of the Android operating
, which contains the Android. mk and XS_NDK_01.cpp files. Android. mk is the Makefile of the ndk project, and XS_NDK_01.cpp is the source file of the NDK.(About Android. mk instructions can refer to: http://www.cnblogs.com/luxiaof
compile. such as the following configurationThis is basically the case, of course, different projects may need to be further modified configuration, make before the implementation of configure, etc., but generally.2. Ndk-build modeFor Android.mk, the difference with makefile is very large, with its own syntax, its location throughout the compilation process, may be closer to the makefile.am in the Automake tool. For its syntax, see my mk file below,
Android Studio tutorial-Android Studio 2.1 installation and configuration, android-android1. Download Android Studio
Go to the official website https://developer.android.com/studio/index.html to download the latest version of Android Studio2.1 (bring your own ladder)
Or copy
.
4. singleInstance
Create the Activity instance in a new stack and share the Activity instance in the stack with multiple applications. Once an instance of a modified Activity exists in a stack, any application that activates or changes the Activity will reuse the instance in the stack. The effect is that multiple applications share one application, no matter who activates the Activity, it will enter the same application.
What is NDK?
NDK is a collection of column tools,
NDK provides a s
differential package to the jni directory of android studio.
Create Android. mk in the jni file. The content is as follows:
LOCAL_PATH := $(call my-dir)include $(CLEAR_VARS)LOCAL_MODULE := PatchLOCAL_SRC_FILES := blocksort.c bspatch.c bzip2.c bzlib.c bzlib.h bzlib_private.h cn_edu_zafu_util_PatchUtil.c cn_edu_zafu_util_PatchUtil.h com
[Android Wear] android wearable device Moto 360 evaluation and development analysis, Android androidPreface:
I just bought Moto 360 yesterday. This is the best Android wearable device that the landlord has seen so far, a round watch:
BesBuy and the official website are all sold out .. This is what I heard from the auth
hard for me to stubbornly think. The makefile syntax is simple, so you can just knock on one. But looking back at ant's build. XML, it looks dizzy at first glance.XML is very good, but it's just a mess of his uncle, and he claims to say that it's something for people to see... Everything really has some substantial use, and the data stored in XML (used to demonstrate XML like Hello world is free of use) makes people look dizzy.
Ant uses XML as the basic input. I personally think it is better to
input. Jar output. Jar
*. X509.pem is the public key in X509 format, and pk8 is the private key.
Four default signatures are available in the build/target/product/security directory: testkey platform shared media(see readme.txt), Android in the application. MK has a local_certificate field, which specifies the key used for signature. If it is not specified, testkey is used by default.
B) self-signed
Remember the former compiled so library directly using Ndk-build, today using the error is as follows:notdirectory ! thevariabletotoit. /opt/android-ndk-r10b/build/core/build-local.mk:148: *** Android NDK: Aborting . Stop.An expert's weapon is as follows:You need toSpecify3Things. Ndk_project_path- theLocation ofYour PROJECTNDK_APPLICATION_MK- thePath of theApplication.mkfileApp_build_script- the
[1] Android learning notes [the first android program], Android android
1. java JDK configure java System Variables
Java JDK
Please install it on Baidu
Configure java System Variables
1. Open my computer -- properties -- Advanced -- Environment Variables
2. Create System variables JAVA_HOME and CLASSPATH
Variable name
Android-the first Android program, android-android
Directory structure and functions of Android Projects
Directory
Function
Gen
Do not modify automatically generated files
Assets
Resources needed for custom projects, which canno
Android [android] edition Air Video remote playback of computer videos, Android android
In Apple's iOS, there is an application of Air Video, which can remotely play videos in the computer on iOS through Wifi without copying the Video to the mobile phone. Very easy to use! I recently used my
[Android performance optimization series] memory basics-how to manage memory for Android, android-android
If you like my blog, please pay attention to my Weibo, please click here (http://weibo.com/kifile), thank you
Reprinted please indicate the source (http://blog.csdn.net/kifile), thank you again
Address: http://de
locally and compile the code for testing. The error is the same as that of the server, that is, classnotfound.
1. Since the compiled code in Eng mode can run properly, it proves that the Code logic and functions are OK.
2. The classnotfound problem occurs when USR is compiled, which proves that the compilation results are different due to the different compilation modes of USR and ENG.
There is indeed a class missing in the class (which will be replaced by lostclass. Java later ).Case Investiga
Reprinted from Smoilbig final edit Smoilbig
Google's open Android NDK allows the Android platform to support the development of native C native code. The development kit for the Android NDK (native Developer Kit) is for the bottom developer (applause). )。 However, it is necessary to understand that NDK does not support the A
Solve the Problem of referencing sqlite3 library when porting Android cocos2d-x, cocos2d-xsqlite3
1. First talk about cocos2d-x 3. x Portable Android simple steps
(1) Go to the proj. android directory of your project and open Android. mk in the jni directory (do not forget t
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.