Android-the first Android program, android-android
Directory structure and functions of Android Projects
Directory
Function
Gen
Do not modify automatically generated files
Assets
Resources needed for custom projects, which canno
Android [android] edition Air Video remote playback of computer videos, Android android
In Apple's iOS, there is an application of Air Video, which can remotely play videos in the computer on iOS through Wifi without copying the Video to the mobile phone. Very easy to use! I recently used my
)
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
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
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
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
Tutorial Index
Android drag and drop tutorial
Android plotting (drawables) Tutorial
Android styles and themes tutorial
Live wallpaper tutorial
Homescreen widgets tutorial
Custom views for Android (M m views) Tutorial
Android supports support for different screen siz
I. Differences between Android: gravity and Android: layout_gravity
Android; gravity is the position of its content relative to its own control, while Android: layout_gravity is its position relative to its parent class.
For example, if there is an edittext file, one sets Android
Android app source code is based on android's campus second-hand Transaction System Client + SERVER + database, Android android
The source code is a campus second-hand transaction system application with a server, and is also a campus second-hand Transaction System Based on Android and javaweb, including
Hello everyone, this section is to share some of the Android image special effects processing tips, such as rounded corners, reflection, there is a picture scaling, drawable into bitmap,bitmap into drawable and so on.
Talk less, directly to explain today's example, this example is mainly to get wallpaper (Getwallpaper ()), and then some of the current wallpaper effects processing. Step by step:
The first step: a new
can be the interception of the image first compression, after all, the late still need to blur, that is, this image is compressed does not affect the fact that we are blurred (because to the end is blurred). In fact, when we compress the image, we find that the blur effect of the picture is different under the same blur radius, as shown in the following two figure:
The reason is: Gaussian fuzzy algorithm to determine the color of a point is through the point near the other points to obtain t
. This is a security mechanism. For Android, the final apk file contains the Dex type of file, Dex file is the class file repackaging, packaging rules are not simply compressed, but the class file inside the various function tables, variable table optimization, resulting in a new file, that is, Dex file. So loading this special class file requires a special ClassLoader dexclassloader.
Ii. the practical application of the Dexclassloader method
Suppos
Welcome to Android Studio (Meet Android Studio) 1, prefaceAndroid Studio is an Android application development environment based on IntelliJ idea under the official whole. Based on IntelliJ's powerful code editor and development tools, Android Studio offers more features to increase your efficiency in developing
Android android source code case when adding the volume plus/minus button in the navigation bar, Android android
Some Android devices do not have a volume adjustment button for the entity, or you need to add a volume addition or subtraction button to the virtual buttons in t
Android android APK decompilation reverse, Android android apk
The reverse of the android APK program is much easier than that of the WindowsPE file.1. the android APK program is actually a zip file that can be opened with winrar
Tutorial Index
Android drag and drop tutorial
Android plotting (drawables) Tutorial
Android styles and themes tutorial
Live wallpaper tutorial
Homescreen widgets tutorial
Custom views for Android (M m views) Tutorial
Android supports support for different screen siz
First, build the Android development environmentGetting ready: Download Eclipse, JDK, Android SDK, ADT Plugin: eclipse:http://www.eclipse.org/downloads/Jdk:http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.htmlAndroid sdk:http://developer.android.com/sdk/index.htmlAdt:http://developer.android.com/tools/sdk/eclipse-adt.html1. Install and configure the Java Development environme
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.