The development of Android using the Android-query framework can be fast, much less than the traditional development of Android code to write a lot of, easy to read and other advantages.
Download the document and its example and package address: http://code.google.com/p/android-query/
Here are some of the lessons I l
This article is an example of the Android Open-source approach to customizing the Android shutdown interface. Share to everyone for your reference. Specifically as follows:
In the Android system, a long press power key by default will eject the dialog box to allow you to choose "Flight Mode", "mute", "shutdown" and other functions. As shown in the following illu
Old Deng's android Study Notes (2)-Android gets screen resolutions in N ways, android-android
Android gets the screen resolution
Method 1: the simplest method
12
intscreenWidth=getWindowManager().getDefaultDisplay().getWidth();intscreenHeight=getWindowManager().g
Tell me what I'm trying to do before I finish this example.
First, modify the "Actionbarsherlock" navigation example. Before I implemented this example, I tried "actionbarsherlock" to modify one of its tab navigation examples, and the modification was successful. But finally found that it is not a actionbar implementation of the tab, can not hide Actionbar, when the Actionbar hide method is invoked, Actionbar is hidden, but the title of the tab page still exists, And in the lower version of
Android Phone Daemon can't close workaround
The problem with Android's back-end is entirely due to the Android broadcast system. In simple terms, when a user installs a program, the system will record the function of the program like the interviewer, when the user is using the mobile phone, the system state changes will produce various events, these events need some program to process, the system will send
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
Android Learning Series (41)-simple use of Android Studio, android-android1. Environment
UBUNTU 14.04 + Android Studio 0.8.22. Install jdk
Openjdk-7 is a good choice:
sudo apt-get updatesudo apt-get install openjdk-7-jdkIt is not excluded that you need to select a default version:
sudo update-alternatives --config
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
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
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
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
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
)
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
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.