First, build the Android development environment
Preparation: Download Eclipse, JDK, Android SDK, ADT Plugin
1. Install and configure the Java Development environment:
① installs the prepared Eclipse and JDK on this machine (preferably installed in a full English path) and configures environment variables for JDK, where the JDK's variable value is the root directory of the JDK installation path, as my: D
Now there's an Android project A. We wanted to extend the functionality of a, but didn't want to develop on a basis, so we created another Android project B and wanted to refer to a in B.
One idea is to make engineering a a pure jar bag so that other projects can be referenced directly.
However, if you use a reference in R.java in Project A, you cannot make a jar package. The reason is that R.java are gen
Everyone android is a good mobile phone application software, we use the time to find his home page layout is nine mode, people feel very chic, because now a lot of Android software rarely use this layout mode, everyone Android use is very successful, Make people feel simple and generous and beautiful, let's look at the layout of
Objective
Since most of the Android beginner's tutorial doesn't teach you how to choose time, beginners encounter this kind of inevitable will be a bit overwhelmed, should let the user enter the date time? Not to say that the user experience is not good, processing users to enter a variety of date format will also take a great deal of effort, below to see how to achieve the Android selection time function.
Android Studio is a Google Android development environment, similar to eclipse development and debugging, is a tool development software. Android Studio 1.0 has recently been released. For more information, view the page.
Install using the PPA, very convenient, open the terminal, enter the following command:
sudo add-apt-repository ppa:paolorotolo/
The generated Android application APK file is best optimized because the essence of the APK package is a zip-compressed document that optimizes the orderly arrangement of uncompressed data in the package, reducing the memory consumption at the time the application runs. We can use the Zipalign tool for APK optimization.
Zipalign is an important tool for optimizing APK applications, according to the Android
Android app source code is based on android's personal privacy monitoring project, Android android
The system draws on the advantages of existing security software and designs four functional modules: permission access monitoring, traffic monitoring, application risk monitoring, and signature verification. It also addresses the shortcomings of existing
Requirement Description: Android developmentContent: Environment building for Android developmentFrom: The time of the poemOriginal: http://www.cnblogs.com/zoupeiyang/p/4034517.htmlReference: http://jingyan.baidu.com/article/bea41d437a41b6b4c51be6c1.htmlIntroductionInstalling Android in Windows Development environment is not simple or complicated, this article fo
The previous article describes the communication between the Android phone and the BLE terminal, while the most common ble terminal should be the ibeacon base station advocated by Apple. Ibeacon technology based on BLE, it is characterized by the broadcast of external messages, mobile phones do not need to connect to the Ibeacon base station can also obtain its information, is mainly used to do indoor positioning and marketing information push, in the
Android Push principle
Since the recent project involved Android push, I saw something about Android push, and we know that the Android push can come down to 3 kinds of implementations:
1, POLL, pull. The general idea is to send the request to the server regularly, and then let the server return the information itsel
RAR for Android is an old WinRAR free Android tool that allows you to compress and decompress files on Android devices.
Via @Xang Azu
WinRAR, who ranks ahead of the piracy rate in China, has released a free decompression tool to support RAR, ZIP, TAR, GZ, BZ2, XZ, 7z, ISO, ARJ formats.
RAR for Android also support
Fourth, Android build system and custom Android platform system4.1Android compilation systemAndroid's source code is composed of hundreds of thousands of files, these files are interdependent, and some are independent of each other, they are placed in different directories by function or type, for this big project, Android through its own compilation system to co
Download Android Development sdk ndk and android development sdkndk
Version 2014.7
ADT BundleHttp://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zipHttp://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zipHttp://dl.google.com/android/adt/adt-bundle
)
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
QR code synthesis, Apple and android (ios and android) are combined into a QR code, allowing users to scan a QR code to download apple and android apps separately. android QR code scanning
Because of the company's promotion, there is no suitable tool to synthesize a QR code from Apple and
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
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.