This article aims to record the stars learned during the study and development of the Android system for future use ~ The content includes: development environment, installation program, system partition, Directory Overview, process analysis, and
Internal Storage space
The so-called internal and external storage refers to whether the mobile phone is built in. The built-in storage space of the mobile phone is called internal storage. It cannot be changed once the mobile phone leaves the
I have been reading the MMS code for more than a month. I think it is necessary to take notes. I am reading the 1.5cupcake code. I also roughly browsed the code 2.2froyo. The difference is not big. When you look at the code, it is best to look at
Like installing mobile phone software for Nokia mobile phones, mobile phone software cannot be installed when the mobile phone software certificate you have installed expires. To package Android development projects as APK packages, certificates are
// Obtain the screen size to properly set the button size and position
Displaymetrics dm = new displaymetrics ();Getwindowmanager (). getdefaultdisplay (). getmetrics (DM );Int width = DM. widthpixels;Int Height = DM. heightpixels;
// Customize the
I have been developing and modifying lib support libraries under the android multi-media framework for a long time, and finally come to an end, but according to the project requirements, you need to write a network-related service, which is
When developing and testing Android applications, due to the limitations of the simulator, we often feel that the simulator is slow or cannot meet certain functions, how can I deploy the Android Application on a real mobile phone to test it? In fact,
Steps for installation and upgrade:
1. Online installation and upgrade through eclipse
Method 1:
Open es and select help-> check for update. After the search is complete, the ADT that can be upgraded is displayed. Select the ADT to be upgraded,
Some time ago, I processed Android music file information. I checked online and found that the Android system provided mediascanner, mediaprovider, mediastore, and other interfaces and provided a set of database tables, share content to users
Today, I will introduce some knowledge about gesture and multi-touch ......
First, identify the last dish and gesture .....
java.lang.Object ↳android.view.View ↳android.view.ViewGroup ↳android.widget.FrameLayout
Mediaplayer class
Static Constructor
Method Name
Description
Public static mediaplayer create (context, Uri, surfaceholder holder)
Specify to load the music file from the resource file corresponding to the resource ID,
-- Extract some of the chapters in a book to help you understand the architecture of the entire android system .)
1.1.1 Android system architectureTo learn more about Android, you must first learn the Android system architecture. The architecture of
Screen Size:
I. Different Layout
The screen sizes of Android mobile phones vary by 480X320,640x360,800 X. How can an app automatically adapt to different screens?In fact, it is very simple, just need to create different layout folder under the res
Reference: http://wikidroid.sinaapp.com/Guide/topics/sensors/sensors_overview
1. Sensor entry
Since Apple released its first iPhone in 2007, sensors that seem to be tied to mobile phones have gradually become an important part of mobile phone
Reference: http://www.cnblogs.com/skynet/archive/2010/04/12/1709892.html
Suddenly I changed my cell phone. In order to be able to afford the support of my family, Android should at least learn it. Even if it is not so powerful, it cannot be a
During Android development, sometimes it is not necessary to create a database and then insert data. For example, you need to provide a search function for a large amount of data resources. Such as the number, city list, and IP address. At this time,
Status bar notifications)
The status bar icon adds an icon to the system's status bar (with an optional text reminder message) and adds a notification message in the notification window. When you select this notification, the android system will
Use localized Resources
How to create default Resources
Put the default text of the application in a file with the following position and name:
res/values/strings.xml
Text strings in RES/values/strings. xml should use the default language, which is
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.