Software platform: Windows 7 + Eclipse + SDK
Design ideas:
Two pages: Mian and OK, there is a button on each page, click can switch to each other
Source:
Main.xml Source code:
The code is as follows
Copy Code
XML
Mpandroidchart Effect Chart
How to use Mpandroidchart
Here we draw an example of a pie chart with the following steps:
XML Layout Code
The code is as follows
Copy Code
Android:id=
In the second half of last year, three months of Android development, mainly to do mobile phone streaming media broadcast related content, involving TCP, UDP network communications, JSON transmission data, H.264 decoding and playback technology.
Android JDK configuration supports Gradle update, Maven installation, and gradlemaven
If the following error occurs when you configure Maven or execute the Gradle update command, you must reconfigure JDK.
ERROR: JAVA_HOME is set to an invalid
Android calls Baidu map API and androidapi
1. Download the SDK from Baidu map development platform
Http://lbsyun.baidu.com/index.php? Title = androidsdk/sdkandev-download
1. Click custom download.
2. I have selected three feature packages for
TabLayout + ViewPager, tablayoutviewpager
I. Implementation ideas
1. Add dependencies in build. gradle, for example:
compile 'com.android.support:support-v4:23.4.0'compile 'com.android.support:design:23.4.0'
You can also replace the support-v4 with
Android and JavaScript call methods, androidjavascript
Address: http://www.jb51.net/article/77206.htm
This article mainly introduces how Android and JavaScript call each other. The example analyzes Android WebView's skills for executing JavaScript
Activity Overview Screen (Overview Screen), activityoverviewOverview Screen
An overview screen (also known as the latest Dynamic screen, recent task list, or recently used application) is a system-level UI that lists recently accessed activities and
Android Handler introduction and androidhandler Introduction
Handler usage:
Handler processes UI updates based on received messages. The Thread sends a message to notify Handler to update the UI.
Handler mHandler = new Handler (){Public void
Example 3 of AlertDialog in Android (one-way selection confirmation dialog box), androidalertdialog
In Android development, we often need to pop up some dialogs on the Android interface, such as asking users or asking users to choose. These
Mobile phone Audio and Video 8-video player advanced features (1), 8-advanced features1. enable other software to enable self-written players
1. Add the following intent in the function list file
2. file or image browser // 1. enable all
Excellent open-source framework for Android, and open-source framework for androidPart 1: System Architecture
ThinkAndroidHttps://github.com/white-cat/ThinkAndroid
ThinkAndroid is a free, open-source, simple Android development framework that
Custom addition/subtraction controls and custom digital controls
1 _ requirements for custom addition and subtraction controls
Create Module-NumberAddSubView
A _ only numbers can be entered and cannot be entered through the keyboard
B _ use the
Android ViewPager Lesson 1: androidviewpager
To learn about the new features of the new Android version, we should start from scratch. This is a new widget that Android3.0 has added. I have been familiar with it before, but I have not studied it
Android mobile guard 16-mobile anti-virus, android16 --
1. Specify that the animation is always rotated.
rotateAnimation.setRepeatCount(RotateAnimation.INFINITE);
Android: repeatCount repeated times. The default value is 0. It must be an int value.
Cut string, js split string
First, blow the intention: cut the string because when the image address is saved in the database, a commodity may have multiple images. We can create a commodity table (goods) and an image table (goods_image), and then
Android Hack1 uses the weight attribute to center the view, androidhack1
URL: http://www.cnblogs.com/wuyudong/p/5898403.html.
If you want to center the button as shown in, and occupy half of the parent view, whether or not the screen is rotated
Use
Android Memory leakage and android Leakage
Java is a type of garbage collection language. Its advantage is that developers do not need to manage memory allocation, reducing the crash caused by segmentation fault, at the same time, it is possible to
JAVA Memory Model (synchronization of variables) and java model variable Synchronization
Modifications to variables in a thread may not be immediately visible to other threads, but may never be visible.
In code 1, if a thread calls MyClass. loop (),
Android custom control 3-Youku menu animation, android3 --
The layout of Youku menu is implemented in the previous article, and the animation function is implemented in this article.
URL: http://www.cnblogs.com/wuyudong/p/5914901.html.
Create the
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.