1. Main Content
This section describes how to use sharedpreference APIs.
Get the handle of sharedpreference
Write shared preference
Read shared preference
2. Video descriptionHttp://www.eyeandroid.com/thread-11495-1-1.html
3.
Http://www.douban.com/group/topic/13498481/
JDK 1.6 is required for compiling android2.2, but if you have installed a later version of JDK, it is not as good as, how can you switch and install it, the following are the solutions to this problem:A.
1. Demo description and demonstration
This demo shows a translucent activity, mainly implemented through style and theme.
As follows:
2. Video description
Http://www.eyeandroid.com/thread-10936-1-1.html3. Demo Analysis
The last few examples of
1. Demo description and demonstration
Translucentbulr: In this example, blur is different from translucent, that is, other activities behind the current activity are displayed in Fuzzy mode. This is set through the flag of the window object.
1. Example description • Android-support-v4.jar, a software package officially provided to us by Google that is compatible with low-version Android devices and contains APIs that can only be used in Android 3.0 and later versions. Viewpager is one
1. Main ContentThis section describes how to use onsaveinstancestate and onrestoreinstancestate.
2. Video description
Http://www.eyeandroid.com/thread-11391-1-1.html
3. Translation ReferenceIn some cases, your activity will be destroyed due to
Properties can inherit properties from hashtable and be understood as a hashtable. However, the only difference is that the "key-value" corresponding to properties must be a string type of data. Files Data Storage Uses properties in combination with
If the textview text contains a phone number or a website address, you can call or open the webpage by clicking the phone number or website address. In Android, you have provided us with such attributes and methods for setting, there are three types:
Today, I discussed with my colleagues about the webview text control to obtain system contacts. I thought it was okay to just click the text box to bring up the system contact activity. The idea immediately emerged is to implement the jump function
This time, we were working on lephone adaptation. The test group submitted a bug: the text in the title bar was not completely displayed for a long time. In fact, this was not a bug, this problem has not appeared on other machines in the past, but
Footfall original, reprinted please indicate the source.
After Android 1.5, the brightness adjustment API is hidden, but the android source code can still be implemented as follows:
IPowerManager power =
When I went to Xiamen for a wandering trip, there were several hundred items on my body. If the Back-to-forth Ticket Fee was included, I would not have enough money to eat or live for 300 yuan. During this period, in order to survive, I thought a
In the past two days, a small memory cleanup plug-in has been established. This information is rarely found on the Internet. I have previously found an example of how to clean up the cache and the result is unsuccessful. Later, I thought about how
A few days ago, when I needed to call the binary program in Java code, I found some information on the Internet and wrote something to record.
Android is also based on LinuxOf course, you can also run binary executable files. Only androidOnly APK
1. Create of isurface
For details about create and surfaceflinger of surface, refer to this article:
Http://blog.csdn.net/yili_xie/archive/2009/11/12/4803527.aspx
Android started a lot early, and now I can only step by step follow the footsteps of
The previous article only learned about the overlay Hal architecture. Next we will continue to look at how the system layer calls the overlay module.
1. Test code
Frameworks/base/libs/surfaceflinger/tests/overlays. CPP provides a simple overlay call
The screen is landscape. You need to display it as portrait by default.
1. Rotate the framebuffer in the kernel.Add fbcon = rotate: 1 to the startup parameters (0: normal screen; 1: instant clock to 90 degrees; 2: instant clock to 180 degrees; 3:
This article mainly introduces the architecture of mediaplayer, which is very important and most complex in Android. For a complete and relatively complex system such as Android, the implementation of a mediaplayer function is not specific to its
The Android platform is based on the Linux and Open Mobile Alliance (Oha) systems. After innovative R & D by China Mobile, it has designed a novel and unique user operation interface, enhancing browser capabilities and WAP compatibility, optimized
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