Data needs to be shared among multiple activities or services
1. Custom Application
JavaCode
Public class demoapplication extends application {private hashmap map = new hashmap (); Public void put (string key, object) {map. put (Key, object)
Have you ever been attracted by the iPhone dragging photos with your fingers on the screen? It can also be implemented in Android, and it is not difficult.
Android. content. Context; Android. widget. baseadapter; Android. wiiot. imageview; and so
Ireaper for Android is a tool developed by elder brother for Android. It helps you download the course video of the Chinese msdn webcast,CodeAnd courseware. The function is similar to ireaper.
Chinese msdn Webcast has launched more than 2004
View rendering process in the android framework
Simple examples
About paint
About canvas
About drawable (3 create method)
Drawable extensions: transitiondrawabl, shapedrawable, ninepathdrawable(XML and class representation)
About windows
Preface:
Using the free time of the past two days, I got an android flash card to send the APK. Due to time rush, there are still many problems to be stored, so release the Alpha APK first, and I will connect it when it comes to the bate
Preface I have been studying Android for a while. In order to further understand how Android applications are designed and developed, I decided to study several open-source Android applications in detail. From some open-source applications to absorb
Preface
Two months have passed since the last release of Alpha, and applications have not been developed in the middle of the last month. Therefore, Alpha is released this time. Major updates
In the previous version, only the most basic flash list
Because the camera Preview Data in android can only be in the imageformat. nv21 format, decoding should go through a twists and turns.
Camera mcamera = camera. open (); camera. parameters P = mcamera. getparameters (); p. setpreviewformat
1First, create a project
2And fill in the properties of the project
3CreateActivityClass.EclipseUseAlt +/The shortcut key can automatically complete the parent class
4InREC/LayoutCreate a layout in the folderXMLPageNew-> others-
Preface I have been studying Android for a while. In order to further understand how Android applications are designed and developed, I decided to study several open-source Android applications in detail. From some open-source applications to absorb
I have not introduced preferenceactivity in many books, but I just used it in the project. So I will summarize my usage here, which is also convenient for future search.
Perferenceactivity:
Android system (left) musicplayer setting
Preface standuptimer, an open-source project on the Android platform during this period, is a simple Android Application designed by jwood to control the conference time, similar to the stopwatch countdown. Android reminder
There are three main
1 intent. action_view
String Android. Intent. Action. View
Displays user data. Generally, the corresponding activity is opened based on the user's data type. For example, tel: 13400010001 open dialingProgram, Http://www.g.cn will open the
1 intent. action_main
String: Android. Intent. Action. Main
Identifies activity asProgram. It is commonly used.
Input: Nothing
Output: Nothing
For example:
Code highlighting produced by Actipro CodeHighlighter
The following tools are required to compile the Android system source code: git tool, Repo tool, Java SDK, and host compilation tool.
My experiment environment is Ubuntu 10.10. The steps are as follows:
1. Open terminal Input
Alex @ Alex-Linux :~ $
First, declare that this is a post. In Linux, you can use VMware to virtualize and download ubuntu.Directory1. Background Knowledge2. File structure of the boot and recovery Images3. General methods for unpackaging, editing, and packaging image
Here we will introduce a major method, which is also found on the internet and sorted out here... For emergency purposes
public static Bitmap toRoundCorner(Bitmap bitmap, int pixels) { Bitmap output = Bitmap.createBitmap(bitmap.getWidth(),
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