Android custom ViewGroup and androidviewgroup
There are two types of views: View and ViewGroup. ViewGroup is a subclass of View. ViewGroup can contain all views (including ViewGroup). View can only be self-described and cannot contain other
Beginner Android 2016 (10) -- GridView
Like ListView, GridView is a multi-control layout. It is the most convenient to implement the jiugong diagram.
Let's take a look at the picture first. If no picture shows a chicken or chicken, isn't it?
For
Collection of common methods for parsing JSON data in Android, androidjson
The JSON format file to be parsed is as follows:
[{"Id": "5", "version": "1.0", "name": "xiaowang "},
{"Id": "10", "version": "2.0", "name": "lisi"}]
1. Use JSONObject to
Android junit unit test, androidjunit
Classification of software testing* Black box testing* Test the logical business* White box testing* Test logic method
Based on test Granularity* Method test: function test* Unit test: unit test* Integration
Android activity can be started in four ways to record and open activity traps of other applications. androidactivity
Android supports standard, singleTop, singleTask, and singleInstence.
Standard is the most common method to start an activity
Run Android lint and monkey in Jenkins
Go to the configuration page of the corresponding job.Lint:1. Add lint in the Add build operation2. Add lint pass standards in advancedMonkey1. Before running the monkey, install the apk package created this
Often used Android database base class, Android database base class
// Create a database public class DBCreate {public static void CreateDatabase (SQLiteDatabase db) {db. beginTransaction (); try {create_NetTaskBuffer (db); insert_ SQL (db); db.
ORB_SLAM2 porting process on Android
I have never had time to write a blog. I recently took some time to write some experience on ORB_SLAM2's porting process on Android.
After writing the script, I clicked a link. In an instant, 1/3 of the workload
Android project uses Dagger2 for dependency Injection
Link: http://code.tutsplus.com/tutorials/dependency-injection-with-dagger-2-on-android-cms-23345
Dependency injection is a software design model designed for loose coupling, scalability, and
Preliminary use of Drawable Resources
When I first got started with Android, I saw a Button similar to the following:
At that time, I felt that the button was a bit like the Material Design style. I really thought it was a cropped image. curiosity
Use of custom carousel image framework and custom carousel image framework
I am a relatively lazy person .. I don't want to talk too much about advanced things. I just want to express it in a simple way .... It is a miserable story for a girl to be
Implementation of android level (use of direction sensors)
A long time ago, I have studied the Sensor. TYPE_ORIENTATION. According to my own practice, I have rewritten the two online leveling examples, re-encapsulated and used them, and finally used
Android message mechanism
A lot of previous knowledge is always forgotten. It seems that I have not fully understood it, and I hope to record it in the form of a blog.
Speaking of the android message mechanism, we have to mentionHandlerIts Chinese
A deep understanding of the message mechanism Handler in android
What is Handler?Handler is a set of mechanisms provided by Android to update the UI and a set of message processing mechanisms.We can use it to send messages or process messages.
Why
Implement QQ drag-and-drop removal by using the Android besell Curve
This is a learning Demo driven by curiosity. The effect is as follows:Keys + rXE0Ke5 + keys + 7b7x/keys + s/keys + 0z8LNvKO6PGJyIC8 + DQo8aW1nIGFsdD0 = "here write picture
Android beginners (2) Activity-Toast, Intent, intentservicetoast
Link: http://www.orlion.ga/427/
1. Hide the title of an activity
In the onCreate () method of the java code of the activity, enter requestWindowFeature (Window. FEATURE_NO_TITLE); as
Android studio (1)
I wrote a blog for the first time and got into touch with android studio. I didn't even use eclipse before, because I wanted to make some apps for myself, so I entered the deep hole in android development. To learn new things, you
Android Studio NDK Development
I used to develop NDK In the Eclipse environment. Today, I tried to use Android Studio for configuration. The result is actually a pitfall everywhere. Now let's summarize:
1. Steps
1. First create MainActivity and add
Android programming tips (continuous)First: Intent jump is generally used for Activity class, but if you want to jump in a non-activity class, the solution is to add mContext before startActivity (intent), that is, context, and finally mContext.
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.