Because the project involves operations on the bitmap (Android. Graphics. Bitmap), we carefully studied the bitmap functions provided by Android against the android reference documentation.1. Bitmap acquisitionA bitmapfactory class is provided in
Some of the usage mechanisms of alarmmanager are called Global timers and some are called alarm clocks. Through its use, I personally think it is more appropriate to call a global timer. In fact, its role is similar to that of timer. There are
Use the android location API to obtain the longitude and latitude values
Http://www.cnmsdn.com/html/201004/1270187917ID3038_2.html
Http://jlins.javaeye.com/blog/550163
Android GPS
Http://dev.10086.cn/news/technologyproduct/4859.html
Geocoding
From: http://zhifeiji512.iteye.com/blog/1055358
1. Add this section in ActivityCodeYou can block the Home Key (the home key is captured in the onkeydown event ).
Public void onattachedtowindow () {This. getwindow (). settype (windowmanager.
The Android mobile phone (Mobile GSM) cannot successfully enable the network link after sleep or boot (the settings are normal). Sometimes, even the status bar icon is connected, but the network is still unavailable.
The following solution is not
Some Android applications have two connection modes: "network" and "Network disconnection". "Network disconnection" and "Network disconnection" have two different interfaces, network disconnection API is called when the network is disconnected, and
Put a file to the/cache partition by yourself. After restarting, the file disappears. How does it disappear?
Step 1.
Packages \ providers \ downloadprovider \ SRC \ com \ Android \ providers \ downloads \ storagemanager. Java:
/** *
Louiswang
Reprinted please indicate the source: http://blog.csdn.net/louiswangbing/article/details/6715930
Since Andorid-x86 received attention, more and more friends are being helped, but at the same time, more and more friends are being troubled.
During development, full screen display, custom titles (using buttons and other controls), and other requirements are often required. This requires the most appropriate processing of the title bar.
A very important method is used:
When data is transmitted between activities, in order to avoid the trouble, some values are often encapsulated into objects, and then the entire object is passed over. The parcelable interface and the serializable interface can be implemented when
Briefly describe the video formats supported by Android, as follows:
Different mobile phones support different encoding/decoding methods due to different hardware.G1 supports Decoding in the WMA, WMV, and H.264 AVC formats. Android-supported
In Android Application Development, we may sometimes use the built-in database sqlite3 in the system. For example, we have created a database in an application, how to view the database or the tables or data contained in the database. The following
The android SDK does not provide a library to call WebService. Therefore, you must use a third-party SDK to call WebService. Ksoap2-android-assembly-2.5.2-jar-with-dependencies.jar I use
When importing an incorrect package, refer to my previous blog
1. Intent. action_chooser = "android. Intent. Action. chooser" indicates an activity selector.Intent provides a static createchooser method, allowing us to easily create such an intent. For specific usage examples, refer to the startwallpaper
Document directory
Event-driven processing mode
Follow the process of application development to briefly introduce how to use sax.
Summary
Note: This article from the http://www.moandroid.com.
Previously, in the android read/write XML (on)
Translation: http://source.android.com/porting/build_system.html
Android uses a custom Generation System Generation Tool, binary files, and documents. This document provides an overview of how to build an android compilation system.
The
Android testing and instrumentation
Android provides a series of powerful testing tools. It extends the industry-standard JUnit testing framework for the android environment. Although you can use JUnit to test the android project, the android tool
Android relativelayout attributes
// Relative to the given ID Control
Android: layout_above: place the bottom of the control on the control with the given ID;
Android: layout_below: place the bottom of the control under the control with
I verified my opinion N years ago.
Http://blog.csdn.net/tekkamanitachi/archive/2009/06/18/4280982.aspx
Http://blog.csdn.net/chief1985/archive/2009/09/14/4551242.aspx
Because I do not know much about the property system of Android, I have
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service