Overview and Basic concepts**eventbus** is an Android-optimized Publish/subscribe message bus that simplifies communication between components, components, and background threads within an application. such as the request network, when the network
We want to enter the bank card number in order to display in the format, rather than simply display a bunch of numbers, the following section of code to implement the bank card number format input.
Format of the bank card numberpublic void
The following information, as a resource for the Samsung knox™ end user, describes various pop-up messages that may appear on the device when a security notification is issued.
To ensure that your device always has the latest security
Use of the Android service:
We can create an Android program that creates an activity in the SRC directory, a service class that inherits from the services class, and creates a raw folder in the Resource folder res directory to store audio files,
First of all, with an extremely excited mood to write down this diary ...Googles really give the force .... Let me have the opportunity to see the Android application of the internal source code ....Now let's get to the bottom:Android apps are made
Previously in Guo Dashin's blog to see Using the LRUCache algorithm to achieve image caching. Here imitate his ideas, he also wrote a. and add concurrenthashmap> to implement level two cache, because Concurrenthashmap is the thread safety of
Three kinds of page-flipping effects in the Android platform.
The first page-flipping effect is as follows:
Implementation principle:
the current finger touch point is a, the point a coordinates is (Ax,ay), the triangle ACB and the
1. Reduce the brightness of the screen. Adjust the brightness of the screen to the right value by setting---> Sound and display settings---> brightness, but even if the screen brightness of the Android phone is set to a minimum, it can be very clear,
Attention:1. The use of this feature must be two mobile phones to support NFC features.
2. Samsung mobile phone with the original battery.
1. Under the Standby page, click "Application".
2. Click "Set".
3. Slide your
How to determine whether the system is currently in flight mode in Android:
Copy Code code as follows:
public static Boolean Isairmodeon (context context) {
Return (Context.getcontentresolver (), Settings.System.getInt (),
Android browser source code sharing, android browser source code sharing
Browser source code sharing
[Daily browser] has a very streamlined kernel. The size of the mobile App is less than 2 MB. It is a very low-speed browser on the market that
Android Studio usage exception. Android Studio usage
Android studio Tutorial: [4] Real Machine Test
1. Unable to connect to the mobile phone
Android Studio does not recognize the mobile phone (and eventually returns to the status indicated in
Five data storage methods for Android and five data storage methods for android1. Five methods for storing Android data
(1) SharedPreferences Data Storage
Description: http://www.cnblogs.com/zhangmiao14/p/6201900.html
Advantage: SharedPreferences is
100044 error reported during QQ Internet login and unofficial genuine applications, 100044 error reported
When a third-party QQ log on, an unofficial genuine application is displayed, and error 100044 is reported;Pit 1: we need to set the package
Mathematical Analysis of scattered lists (final solution)-solving collision and mathematical analysis through the Linked List Method
The specific implementation of the hash is not described much. It is an array. Each subscript stores the head
Android hides the pitfalls in the top Status Bar and the top Status Bar of android
Hide the pitfalls in the top status bar in Android
First, let's look at the general method of hiding the status bar:
Method 1:
@ Override protected void onCreate
Silicon Valley News 8 -- replace ViewPagerIndicator with TabLayout and tablayoutindicator
1. associated database
Compile 'com. android. support: design: 23.3.0'
2. Write TabLayout to the layout.
3. TabLayout and ViewPager
Android 5.0 (including versions earlier than 5.0) obtains the top-stack application package name and android package name.
/**
* Get the package name (available in both versions)
*
* @ Return
*/
Public String getTaskPackname (){
Android custom control 1 -- Introduction to custom control, android1 --Basic Introduction to Android controls
Android provides many widgets, suchTextView and EditText;Button control Button and ImageButtonStatus switch button ToggleButtonRadio check
Odin flash machine toolOdin3 is Samsung's exclusive flash brush tool. It enters Samsung's coal mining mode (Samsung's flash brush mode, also known as coal mining) through the combination key or a coal mining artifact (that is, a mini-tool with a pin
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