Eclipse comments and eclipse comments
The entry for setting the annotation Template: Window-> Preference-> Java-> Code Style-> Code Template. Then, expand the Comments node to set all the elements for annotation. We will introduce each element one
Android implementation maskKey Methods
paint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_IN));
Description
The original canvas image can be understoodDst
The new foreground chart can be understoodSre
The Mode value is as follows:
General
How iOS programmers use python to write Web Crawlers
As I said in my previous blog, iOS developers would not have been familiar with languages except c and c ++ (c ++ is too difficult, and it would have been impossible to be proficient for less
QML application framework on Ubuntu OS and ubuntuosqml framework
When writing a QML application, we sometimes need to consider how we can use a good framework to complete our application in advance. How many pages are there in our application and
Android Material Design (2) Observable Scroll View, androidobservable
Observable Scroll ViewIt is an open-source repository on GitHub. There are 49 different effects combinations. I bind the demo Activity to the ListView OF A 49 item, and click to
Android Touch gesture distribution and androidtouch gesture
In the Touch distribution in android, we often see ACTION_DOWN-> ACTION_MOVE-> ACTION_UP. When we don't know how it is distributed, we always feel confused, therefore, it is necessary to
A variety of App Main Interface Tab implementation methods, apptab
I took a look at the implementation method of the Tab on the main interface of the App and summarized it as follows:
Let's look at the implementation:
First: ViewPager
Android highlights 34: android studioimport project download gradle-x.x.x-all.zip,gradle2.2.1all.zip
Every time you open a github project, gradle is downloaded first. Each project has its own gradle build program, but it is really miserable to
Use Xcode-debug and release modes, and xcode-debugrelease
In the development process, we often need to use NSLog to output some information, or even some development processes, which must be viewed in the console, experienced programmers can use the
Android widget Package Description and application, androidwidget
A widget package stores custom components.
Develop custom components;
In fact, the App Widgets section in the Android API Development Guide has been clearly stated. The following is
Android-personalized progress bar
1. Case studies
2. Prepare materials
Progress1.png (78*78) progress2.png (78*78)
3. Principles
Use an image as the background image of the ProgressBar (Generally, light colors are used.). The other is
YUV12 (420) (from) to RGB24, yuv12rgb24
Directly Add code
# Include # include # define min (a, B) (a B )? A: B) /*************************************** * ******************************* // * YUV12 to RGB24 (4) basic Optimizations 3.1 *//*******
Cocos2d-x lightning war (3)-unlimited bullet launch, cocos2d
Original works of Lin bingwen Evankaka. Reprinted please indicate the source http://blog.csdn.net/evankaka
In this article, we want to implement a lightning game. At the beginning of the
Android handler learning notes, androidhandler
Call Message. obtain () to obtain a message object from the message pool, instead of simply creating a Message object, which can save memory overhead. You can also use handler. obtainMessage (). In
Intent. Action for Android Development
1 Intent. ACTION_MAIN
String: android. intent. action. MAIN
Identifies Activity as the beginning of a program. It is commonly used.
Input: nothing
Output: nothing
2 Intent. Action_CALL
Stirng: android.
Android performance optimization: asynchronous image loading tool with dual cache (LruCache + SoftReference ),
Previously, I used the LruCache algorithm to implement image caching in Guo Dashen's blog. here, I followed his ideas and wrote one myself.
Android event-driven programming-Based on EventBus (2), androideventbusAndroid event-driven programming (2)
-- Welcome to reprint, please indicate the source of http://blog.csdn.net/asce1885, do not use for commercial purposes without my consent,
Download the album list and source code for android (3). Download the android source code
The functions of this project are as follows:Obtain the mobile phone album. Click each album to go to the image list page of the album. You can select
Android path animation production
1. Preface
Today, the project will use a function similar to sending Dash and screen floating expression. So after analysis and research, the technology used should be path animation, which is incorrect if you do
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