[Development Diary of Android in a row from scratch] (8) -- Android data storage (II) and android Data StorageLet's talk about database operations. Come On!When talking about data storage, databases have to be mentioned. Databases are the best tool for storing relational data. Android provides powerful database support
Travel to Android 16th use of various resources in android and travel to android
Use of various resources in android:
In android development, reasonable use of various resources should be defined in their respective xml for reuse;
String Resource: strings. xml, referenced in
Windows XP-android environment setup-[Comprehensive tutorials on Tanzhou android development], xp-android
Recently, many people in our class won't build the environment. Today, our Tanzhou android teacher talked about how to build the Windows XP-android environment. I secret
)
2
Onmeasure
Measure the size of the view (don't care for the moment)
3
Onsizechanged
Determine the view size (record the width of the current view)
4
Nlayout
Determine the child view layout (No child view, no care)
5
OnDraw
Actually draw the content (draw a pie chart)
6
Provide interface
Provides an interface (provides an interface for setting data)
The code is as follows:
public
A related download
(1) Java JDK Download:
Enter the page: http://java.sun.com/javase/downloads/index.jsp (or click to download directly) as follows:
Select the Download jdk to download only the JDK, without downloading the JRE.
(2) Eclipse download
Enter the page: http://www.eclipse.org/downloads/(or click Download: bt download http download) as shown below:
We chose the first (that is, the Eclipse IDE for Java EE developers)
(3) Download the Andr
Revealing the layout of Android and revealing the secrets of androidPreface
Today, I will write down some understanding of the layout. The main content includes the inheritance relationship between the control attributes, the relationship between the control attributes and the container attributes, and the use of various types of attributes.Property type of the control
Generally speaking, when assigning values to attributes of a control, there are gen
of cool applications in WM, such as pointui, but the development cost is very high, and the UI framework of OS is the focus of competition to win WM, in this way, more apps can be created.
Openness
This must have been a big win for Android, including iPhone, Symbian, MTK, etc. The openness of android can make the hardware that supports him more diverse, and many manufacturers and carriers have joined
Android development will bring about a new wave of popularity. Many developers have invested in this wave and created many excellent applications. Many developers provide open-source applications and contribute their wisdom and creativity. Learning open source code is the best way to master the technology. Several open-source application projects are recommended below. These projects not only provide excellent ideas, but can also be directly mastered.
[Android development experience] Use Android Studio for unit testing and android unit testing
Reprinted please indicate the source: http://blog.csdn.net/zhaokaiqiang1992
Android Studio has reached version 1.2, and developers in China are basically switching from Eclipse to Andr
Android configuration file (2) and android configuration file
We know that each module of the Android system provides very powerful functions (such as phones, power supplies, and settings). By using these functions, applications can be more powerful and flexible. However, using these functions is not unconditional, but requires some permissions. Next, we will beg
The source code of the Android example imitates the animation effects of android and Alibaba Cloud broadcast radar scanning.
This project is a small example of imitating the Android and cloud play radar scanning animation effects. Click the black circle in the middle to start scanning the animation, and click reset again, if you need this effect, you can downloa
Free Library and tool set for Android development, android class libraryA set of free class libraries and tools for Android development, which are classified by directory. Action Bars
ActionBarSherlock
Extended ActionBar
FadingActionBar
GlassActionBar
V7 appcompat library
Advertisement
AdMob
Google Mobile Ads SDK
InMobi
MMedia
MobileCore
MoPub
Tapjo
Today, I saw an iOS written by the Turing machine people, directly to the official website (http://www.tuling123.com/openapi/) looked at the API access, too simple, just a GET request ~ So, wrote an android version of the robot, no technical content, But it is very fun ~ just last night to see their favorite Qin when the moon, hey, little Pixiu, is my robot pet! ~
This is an Android intelligent chat robot
Tags: github tle window remove line MoS CEP Pass source
3.1 Android Control architecture
Measurement of 3.2 view
Drawing of 3.3 view
Measurement of 3.4 ViewGroup
Drawing of 3.5 ViewGroup
3.6 Customizing View
3.6.1 to expand the existing space
3.6.2 Creating a composite control
3.6.3 rewrite view to achieve new space
3.7 Custom ViewGroup
3.8 event interception mechanis
Ym-Android bus summarizes nearly a hundred excellent open-source android projects.
1. sample projects provided by the Android teamIf you do not start by learning the sample code provided by the Android SDK, there may be no better way to master the development on the Android
Wang Wenjun, chief architect of Xiaomi technology miui, confirmed the topic of his speech: compilation, installation and operation of Android programs.
Lecturer profile: Wang Wenjun, Master of Science and Technology University of China, formerly IBM system engineer, is now the chief architect of Xiaomi technology miui and author of The Open Source C compiler project UCC.
Topic Introduction: compile, install, and run
Android. Permission. access_coarse_locationAllow a program to access cellid or WiFi hotspot to obtain rough location(Allows an application to access coarse (e.g., cell-ID, WiFi) location)
Android. Permission. access_fine_locationAllow a program to access excellent locations (such as GPS)(Allows an application to access fine (e.g., GPS) location)
Android. Permis
About Android ProjectsA project is a container for saving source code and resource files.The Android SDK tools provided by Google can only be compiled and packaged for projects with a fixed directory structure. It is therefore highly recommended to create an Android project using Eclipse + ADT or Android commands.You c
Android is a milestone in the development of embedded Linux. In recent years, there have been a large number of Embedded Linux applications, and some people have come to unify the world, give confidence and a success model. Android is a successful example of embedded Linux!
The open source code for Android is too helpful for studying all aspects of the embedded
My Android advanced tutorial ------) Create and view a custom Debug version Android signature certificate in Android
When Android Application Development accesses various sdks, it will find that many sdks need to be identified by the package name and the certificate fingerprint SHA1 code, such as the Baidu map SDK. In
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.