About the pitfalls of Android6.0 dynamic permission application, android6.0 dynamic permission
During the day, SDK23 was adapted and encountered a lot of pitfalls. Now, I have to remember this as a warning.
First of all, you must understand some
Silicon Valley News 9-Three-Level Image caching,
1. Three-level cache design steps:
* Retrieving images from memory* Retrieving images from local filesKeep one copy to memory* Request a network image, obtain the image, and display it on the control.*
Draw two views of the Android group-English notes series (1 ).
3. view rendering
1. Usage: the drawing is completed by inheriting the view and rewriting its onDraw () method.
2. Specific implementation:
A. First define a Canvas object, which is
First knowledge of Android, first knowledge of android
It has been a year since I created my blog and I feel quite ashamed to use it all the time. Recently, I felt an impulse to write a blog. what's even more terrible is that this impulse seems more
Two usage methods of sharedpreference for android: sharedpreference
SharedPreferences:
1. sharedPreferences is a lightweight data storage method. It stores key-value pairs based on xml files. It is usually used to store some simple configuration
Okhttp3.4.1 + retrofit2.1.0 implements offline cache and implements fitokhttp Cache
I will not talk about the strength of Retrofit + OkHttp. If you are not familiar with it, you can go to Baidu on your own. This article mainly describes how to use
SharedPreferences and sharedpreferences in Android software developmentSharedPreferences a lightweight data storage method that stores small batches of data using key-value pairs: SharedPreferences sp = getSharedPreferences ("myopt" (file name),
Android mobile guard 8 -- delete call records, android8 --
1. Pay attention to bugs when writing code:
When deleting the call record, the previous call record is deleted. The phone number intercepted this time is not deleted ??????Cause: the phone
Android weak reference and soft reference, android reference and softSoft reference and weak reference
1. SoftReference : soft reference --> when the VM memory is insufficient, the object to which it points will be recycled. When you need to obtain
Android custom View-based self-painting control and androidview painting Control
First of all, I should declare in advance that I do not have a deep understanding of the custom View. I have been reading the blog about the custom View written by the
Android Studio Lambda Config, androidlambda
Although lambda cannot improve the performance of our applications, it is a good choice to improve code cleanliness and facilitate reading. currently, android studio is not very friendly with lambda
Configure gradle. properties and gradle. properties
App and lib will be split in some projects. When support is referenced at this time, there will be two problems that need to be synchronized and changed once the version is changed. you can
Android supports the following four methods:
(1) Use its own class as the event listener
Package cn.edu. gdmec. s07150745.work5;
Import android. support. v7.app. AppCompatActivity;Import android. OS. Bundle;Import android. view. View;Import android.
Android mobile guard-9patch diagram,
This topic describes the 9patch diagram.
* .9.png: images automatically stretched on android phones as needed
For more information, see http://www.cnblogs.com/wuyudong/p/5920.5.html.
Use as to open xxx.9.png
Android mobile guard-set interface & function list interface jump logic processing, android guard-Interface
The encryption class has been implemented in "Android mobile guard-md5 encryption process". Here, the mobile phone anti-theft function is
Rapid release of Android projects to JitPack and androidjitpack
Reprinted please indicate the source:Http://www.cnblogs.com/zhaoyanjun/p/5942616.htmlFrom [Zhao yanjun blog] 2016/10/09
In the past, I wrote a summary article about how Android studio
Android mobile guard-Confirm Password dialog box, android Confirm Password
This document implements the "Confirm Password" function, that is, the user has set a password before, now you only need to enter a Confirm Password
For more information,
Android removes the shadow that slides to the top and bottom, android to the top
Android removes the shadow that slides to the top and bottom.
Explains the attributes used by listview.
Remove the default color background when
Summary of minor Android knowledge and minor android knowledge
1. Android Studio compiles and packages the module into an aar file, and the module depends on
(For example
Compile 'com. zhy: autolayout: 1.4.3'
) Will not be packaged into the aar
Activty: Four startup modes, and activty:
Activty supports four startup modes. LaunchMode:
Standard: each time a new activity window is started (new Operation)
SingleTop: if it is a target activity at the top of the stack, It will be opened
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