1. install the development environment 1. required resources JDK, Eclipse, SDK, and ADT 2. note the path of all resource storage must not contain Chinese characters the simulator path can be modified by creating the environment variable android_
To use
Code And tools to develop Android applications, you need a suitable development machine and environment, as described below.
Environment: Windows 2003
First, install jdk6(jdk-6-windows-i586.exe)
After JDK is installed, install
Reprinted from: Http://orgcent.com/android-app-intent-share-list/ | radish cabbage blog
In the Android system, how does one add the sharing function to an application and add the application to the system sharing selection list?
Intent.
To improve efficiency, we can use viewholder. Here, we will keep the common operations of viewholder. If you forget it, you can come back and check it out.
1. Create viewholder first
Private ClassViewholder {textview TV _type; textview TV _date;
There are two ways to create a service:StartserviceOrBindservice
The service cannot run on its own. You must call context. startservice () or context. bindservice () to start the service. Both methods
Services can be started, but they are used
All controls in Android inherit from the view. The view and its subclass attributes can be configured in the layout XML file or inCode.
Viewgroup is a subclass of view, but can act as a container for other controls. The child control of viewgroup
1. Do not understandProgramming LanguageGROUP: We recommend that you start with the C language to learn its syntax and write some typical smallAlgorithmTo train the logic thinking ability. You do not need to know much about it or care about class
Previous two articles Article We mentioned the pairing, discovery, activation, and other operations on the Android platform Bluetooth. This article begins to establish a socket for Bluetooth communication through the javasthsocket class. Android 2.0
This section describes the various drawable types on the Android platform. graphics. under the drawable package, we can see that there are more than a dozen drawable classes. What are the relationships and differences between them? I.
Take helloactivity Program For example, we will briefly introduce the framework of Android applications. It is hoped that the reader can write an andorid Application Based on helloactivity. Helloactivity Project Source code In the android directory
Recently, the project needs to convert the object into a JSON string and deserialization as an object in Android. After reading the android SDK documentation, it is found that there is no class similar to datacontractjsonserializer in Android C, if
Initial address:
Mono for Android trialHttp://www.eoeandroid.com/thread-208850-1-1.html
--------------------------------------------
Mono for Android (formerly mondroid) is a mono-based Android Application Development Tool launched by xamarin.
Int
1 (0x00000001)
Base
October 2008: the original, first, version of Android.
Int
2 (0x00000001)
Base_1_1
February 2009: first Android update, officially called 1.1.
Relativelayout is one of the most common layout methods in actual layout. Relativelayout can be used to set the positions of a view relative to other views. These positions can include the upper, lower, and left views. Therefore, it is more flexible
In Android, you need to use the graphics class to display 2D images.
Graphics includes canvas, paint, color, bitmap, and other common classes. Graphics supports drawing points, lines, colors, 2D ry, and image processing.
1. Color
There are
1. Introduction
Used for data transmission between different activities
2. Important Methods
Clear(): Clear all stored data in this bundle ing.
Clone(): Clone the current bundle
Containskey(String key): returns the value of the specified
The checkbox check button is a special type of button with two statuses, which can be selected or not selected. You can now define the multiple-choice button in the layout file, and then perform event monitoring setoncheckedchangelistener on each
1. Create a bitmap image and specify the size; 2. Create a new canvas on the image, draw it on the canvas, and save it; 3. File directory to be saved. Note that if the written directory is "/sdcard/song/", you must first create (file. mkdirs )..
4.
Introduction
For details, refer to the blog post: Android learning notes. Advanced 15: shader rendering.
PublicBitmapshader(Bitmap bitmap, shader. tilemode tilex, shader. tilemode tiley)
Call this method to generate a Renderer with a
Sax is a parser that consumes less memory and is fast to parse. It uses event initiation and does not need to parse a complete document, instead, check whether a part of the document conforms to the XML syntax in order of content. If yes, the
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