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 development interview post-3. common Android advanced pen questions, android advanced
Follow finddreams blog: http://blog.csdn.net/finddreams/article/details/44301359In the previous article, we have learned some basic questions about the Android test. Android develo
Android development, permission acquisition, and android Development Permission
Turn: http://blog.csdn.net/yawinstake/article/details/6748897
Access registration attributes
Android. permission. ACCESS_CHECKIN_PROPERTIES, read or write the permission to register the check-in database Attribute Table
Get error location
Android learning route (2) create an Android project, route android
An Android project contains all the files including the Android app code. The Android SDK provides default project directories and files to create a project.
This
Android x86 is used for android Application Development. android Application Development
Android bus. id: android_bin
I. required tools:
1. virtual Machine Software (this article uses virtual Box as an example ),
2. android x86 image, large.
2. Install the
Access registration attributes
Android. Permission. access_checkin_properties, read or write the permission to register the check-in database Attribute Table
Get error location
Android. Permission. access_coarse_location, which uses WIFI or mobile base stations to obtain the user's incorrect latitude and longitude information. The positioning accuracy is roughly 30 ~ 1500 meters
Get
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
Android learning route (3) run your Android app, route android
If you have created your Android project according to the previous lesson, it contains the default "Hello World" source file, allowing your project to run immediately.
How do you run your application? Two things: Whether you have a real
My Android advanced tour ------> Android implements music oscilloscope, balancer, bass and audio field functions, and android advancedThis example is from the crazy Android handout. To implement specific functions, you need to understand the following APIs:
MediaPlayer Media Player
Visualizer Spectrum
Equalizer
Ba
The number of rows of tablelayout is directly specified by the developer, that is, the number of tablerow objects (or view controls.
The number of columns in tablelayout is equal to the number of columns in tablerow with the maximum number of child controls. For example, if the first tablerow contains two sub-controls, the second tablerow contains three, and the third tablerow contains four, the number of columns of the tablelayout is 4.
Attributes that can be set for tablelayout include gl
Author: Zambia chicks
Since its launch, Android has been favored and sought after by developers as an open source. Developers of most Android applications will refer to Dev guide. If you want to gain an in-depth understanding of Android, you must refer to the underlying source code to make it more straightforward.The Androi
Android: gravity and android: layout_Gravity attributes may be frequently used during UI layout.
Many people have explained the differences between these two attributes on the Internet. (Materials are from the Internet)
LinearLayout has two very similar attributes:
Android: gravity and android: layout_gravity.
Their di
[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
[Android development diary] explores Android Service for the first time! Service Startup + gravity sensing + pop-up window + keep running, exploring androidPreface:
I am writing a small program recently. The demand is that the cell phone will pop up as soon as it is shaken. The first time I used the Service, I learned how to use it for two days. I realized a Service pop-up window, started the Service, start
)
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
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.