Android Otto framework
Today, we will introduce a framework Otto which Android event bus EventBus mode is widely used in android.
Otto: http://square.github.io/otto/
1. Configure Otto in Android Studio (directly download jar package import in
Recently, due to interest, I began to learn OpenGL plotting. This article uses "Draw sphere" as a point to summarize what we have learned recently.
> OpenGL ES started with OpenGL from Android. As we all know, Android View is thread unsafe, so it is
Recently, almost all of Google's services have been banned. The consequence is that the Google Play store On Xiaomi 3 cannot connect to the server, that is, it cannot download new applications through the Google Play Store, or update existing
Previously, I used the base station method to locate the location in my project, using the API provided by Google, but I suddenly did not return data at noon the day before yesterday. I found out after searching the Internet, google's access port
As we all know, we generally put the playing logic into the service, so that we can continue playing music in the background. The probability of background services being recycled by the system is relatively low, but this situation does exist.
Front-
This article is based on the source code Scenario Analysis of the Android system, by Luo shengyang
I. Test code:
~ /Android/external/binder/server
---- FregServer. cpp
~ /Android/external/binder/common
---- IFregService. cpp
---- IFregService. h
~
I haven't updated my blog for a long time. Recently I am busy with training at the company. On the one hand, I am a little busy, on the other hand I am lazy, so I have never updated my blog. Now let's get down to the point. Today we will briefly
I. Data storage File:
In android, you can create a file to save data on the storage device of the device or an external storage device. By default, files cannot be shared among different programs.
Context in android provides several methods for file
After reading the code at the Android Framework, I can find that the ubiquitous SP has a visual impact on me. What is this? At the beginning, I think this is basically used as a pointer, and I don't know its internal beauty. So I will learn and sum
X86 Android * 4.3 (Jelly Bean) simulator system image allows you to run Android simulation on your development machine. With the Android SDK, you can test your Android app on a virtual Android device based on the intel architecture.
To install the
Android app: Let smart phones become personal guides. At the 2011 innovation China finals, James from Beijing presented their speech to everyone.Tour guideTouchChina is a traditional applicationTour guideProducts integrated with the mobile Internet.
BKJIA Editor's note: This article is an article by a developer who has participated in the Google IO conference in to adapt a PPT with a good topic on mobile apps, it is very helpful for mobile app developers. In fact, BKJIA also has an official
The Virtual Machine size of Android SDK2.0.1 is relatively small and is not applicable to models. It is only for the sake of comfort in the PC. Of course, the bigger it is, the better it is. I set it to 1050*450, however, the built-in screen saver
The Android 4.0 SDK has been available for some time. I have long been trying to see how this version works. I haven't done android development for a long time. I used Android for development before. It looks like ice cream, so it's funny to call
Sometimes, when the app needs to click a button, the text color also changes. After the app is released, it is restored. Currently, two solutions are found: first, use images. If there are many images, the number of images is considerable. Second,
1. On a Linux terminal, run the following command to create an android directory under the user directory and enter the directory: Flat view printing? 1 mkdir android 2 cd android 2. Create the bin directory in android to execute the command: Flat
We need to deal with the update related issues used by some applications. We learned that android build system will use open-source bsdiff to update packages. this article analyzes OTA update in the android system.
First, let's take a look at the
The Android system will maintain a program process for as long as possible, but when the system resources are insufficient, after all, the system will kill some old processes for some new or more important processes to release the memory. The system
There are two types of animation resources:
Property Animation
You can create an animation by modifying the attribute values of objects related to the Animator class within the specified time.
View animation
There are two types of view animation
ColorStateList is an object that can define the Applied Color in XML, but it actually changes the color based on the status of the View object using the ColorStateList object. For example, the Button control has one of several different States
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