QQ music/cool dog music lock screen control implementation principle, cool dog lock screen
My implementation results
Chaotic screen lock Control
Android 4.0, that is, API level 14, has added the lock screen control function. The related classes
Playing music in iOS background and playing music in ios background
// Play music in the background-(void) playAudio {dispatch_queue_t dispatchQueue = Queue (queue, 0); dispatch_async (dispatchQueue, ^ (void) {NSError * audioSessionError = nil;
4. UITableView and iosuitableview for iOS development1. Create UITableView
You must specify a style when creating a table control. You can only use the following instantiation method:
[[UITableView alloc] initWithFrame:self.view.bounds
Cocos2d-x/Cocos2d-js compiling 64-bit so library encountered problems, cocos2djs Compilation
These days the company project used Cocos2d-js, need to package to generate Android apk package, but found that the generated apk package in 64-bit 8-core
Android DynamicLoadApk open-source plug-in development project code analysis, androidstudio plug-in
The directory structure of the current Code is:
1. com. ryg. dynamicload. internal
2. com. ryg. dynamicload. service
3. com. ryg. dynamicload
4. com.
3 simple and practical RPG Algorithm Based on cocos2dx, cocos2dxrpg1. Determine a formation center object.
It may be a hero or a hidden object. That is, the GridCenter of the following text2. Pre-calculate the vector of the relative Center Object
Android-the simplest menu rotation in history to achieve the effect, android rotation menu
Reprinted please indicate the source: http://blog.csdn.net/l1028386804/article/details/48048323
For physical reasons, I didn't update my blog for you a few
Android inter-process communication data (1) ------ origin of parcel, androidparcel
For parcel, let's talk about its "parent" Serialize.
Serialize is a serialization mechanism provided by java. However, we will discuss why serialization,
Android NDK development steps, androidndk
NDK development is generally divided into the following steps: (you have installed the NDK and android development environments by default)
1. Create a project
2. Create a JNI directory
3. Compile the
(Excerpt) Android data Adapter optimization: use efficient ViewHolder and androidviewholder
From: http://stackvoid.com/using-adapter-in-efficiency-way/
When using Listview or GridView, you often need a custom data adapter. Generally, getView ()
Android learning-implicit Intent-based communicationIntent implicit Communication
The Intent object can describe the task to be processed to the operating system. When using an explicit intent, we need to explicitly tell the activity class name to
Android plug-in development-Verification of four components and Application functions in OpenAtlas
With OpenAtlas for plug-in development, plug-in development can be performed almost according to the normal program development process, without
Android big image loading Optimization-local file caching Based on LRU AlgorithmPreface
In his blog: Memory Optimization for Android large image loading (how to prevent OutOfMemmory), I explained how to load the original image or estimate the image
Android NDK Development
When it comes to NDK development, it is actually to call some underlying C/C ++ things for project needs in some cases, and to make it more efficient. Google promotes Android Studio. This is a good tool. At least we can see
Use CountDownTimer to obtain the mobile phone verification code. countdowntimer
Brief Introduction:CountDownTimer class is used to implement the countdown effect.The constructor receives two parameters: the first parameter sets the countdown length
Android rounded corner Tag Control
Generally, the rounded corner label control is implemented by setting the shape in xml. However, if we want to create a more powerful and general rounded corner control, you don't need to care about the rounded
IOS image watermark effect implementation and save to album, ios watermark
Implement the image watermark effect and save it to the albumEffect
Download project: github project download link
Code:
-(Void) viewDidLoad {[super viewDidLoad]; UIImage *
Context Memory leakage: Handler & Internal class, contexthandler
In the previous code, I often use Thread to process time-consuming operations, and then use Handler to return to the main Thread, which involves memory leakage, only then can we know
The combination of ViewPager and Fragment includes the frequently asked questions of listview, viewpagerfragment
During our development process, we may encounter similar requirements. We need to implement a tab navigation by sliding left and right.
Android-activation of the application details page
In the settings function provided by the Android system, after entering the Application List, click the List entry to go to the application details page. Can we write our own application to
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