=" Wkiom1rzvlctlqh_aagia5jatuq221.jpg "/>Note: The above is a non-brain string splicing, we recommend that you use the string concatenation when using the StringBuilder class append () method to splice, because the string is immutable, in each + new string, you have to reallocate memory, inefficient, although you do not feel, But it is not advisable to use this. And the efficiency of StringBuilder is much higher.A brief summary is as follows:Comparison of the three in execution speed:StringBuild
Home key and other reasons, the program will become a background program, the system will be more necessary, may be recycled resources, and then open, it will be due to resource recycling, and then call OnCreate, no intent parameters and cause the program to crash.In this case, there are two ways we can deal with it:@Override protected void Onsaveinstancestate (Bundle outstate) {//TODO auto-generated method
Android system development (3) -- compiling MakefileWhat is Makefile?
Functions of makefile:
1. Organize project files and compile them into complex programs
2. Install and uninstall our programsMakefile example
The/home/username/makefile directory contains the following three files:
Main. c
#include
#include
int main(int argc, char *argv[]){
CCCxx____c++ the name of the compiler, the default value is g++ARFLAGS_____ library file maintenance program options, no default valuesasflags_____ assembler options, no default valuesCflags______c compiler option, no default valuecxxflags____c++ compiler option, no default valueHere we use the pre-defined variables to rewrite our makefile file abovewatermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvzgf3yw5nyw5iyw4=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast "/>The ad
Action_notification_listener_settings
Interface for notification usage settings
Action_notification_policy_access_settings
Do not disturb the interface of the permission setting
Action_captioning_settings
The interface for subtitle settings
Action_print_settings
Print Setup Interface
Action_battery_saver_settings
Power Saving Assistant Interface
Action_home_settings
Chapter III Getting Started with GitThe purpose of using GIT is to reduce the compression size of various versions of Linux and provide source code to compile on Linux.In this chapter, the key step is actually the operation, although Git is not very much associated with the android we are learning, but it is also essential in the development environment. Learn this chapter by learning how to install, view, and extract Git . The details are described b
First open the terminal (search for Te can come out)
then enter cd/library/java/home/bin/
Then this step is critical, because we are using the current user, so there is no maximum permissions, can not generate any files in the Library folder, so the method is copied online is unable to create a successful, copy and paste the contents of step 4.
Keytool-genkey-v-keystore xxx.keystore-alias xxx-keyalg rsa-validity 20000-keystore/users/your user
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.