1. Start the simulator (my source code is SDK 2.1)
Emulator-AVD sdk_2_1
2. Modify and compile modules
In the source code, write the log where you need to verify and save
First go to the source packageMmm packages/apps/launcher if the prompt does
Copyright statement:
Http://yarin.javaeye.com/blog/4532621: List simulator types
Android list targets
2: Create a simulatorAndroid create AVD -- Target 2 -- name cupcake (cupcake) is the name of the new Simulator
3: List self-built
1. Synchronized Method: the synchronized method is declared by adding the synchronized keyword to the method declaration. For example: Public synchronized void accessval (INT newval); the Synchronized Method controls access to class member
// XML
// In anroidmainifest
Android: theme = "@ style/demo"
// JavaCodeIn
// Click a place other than the input box to hide the input method addfoodweight. setonfocuschangelistener (New onfocuschangelistener () {@ overridepublic void
The following example shows API = 11, so it is out of scope for discussion.
Today, Google released the latest API 18, including a large number of new performances. It was just recently studying actionbarsherlock. Seeing that the latest support V7
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:
/** *
Article Source: http://blog.csdn.net/dany1202/archive/2011/01/26/6164450.aspx
1. Start camera1. An activity starts the call process:Oncreate () --> onstart () --> onresume ()Oncreate ():1. You can add the layout file and draw the interface.2.
In the android project, if an HTTP request is used, the timeout management and exception management of the HTTP request must also be added. In this case, a lot of requests are found on Google, however, it is relatively simple to write, and it is
LP Sense UI is a very good Android launcher with a high imitation of HTC Sense.
Recently, I downloaded the Chinese version on a website and liked it after installation. However, it is found that it is displayed in the drawer box compared to
Custom View
Although the android framework provides a lot of interaction with users and can display views of various data, sometimes the basic view controls built in Android cannot meet some special requirements, in this case, we need to customize
Listview is similar to dividing an interface into one line, for example:
Note: listview. getitematposition (int pos) internally calls the adapter. getitem (INT position) method, and each adapter returns a different type:
When simpleadapter
The side navigation bar is also known as the sliddingmenu, also known as the fly-in APP menu and side navigation. Of course, Google has now launched a component similar to this effect-Navigation drawer
Side navigation
Fly-in APP menu
Slide out
Release is 9.png:All the functions that can be used to perform the job. However, the framework-res.apk \ res \ drawable-hdpi directory contains many xxxxxx.9.png images.
Do not think that this 9 is only a distinction between the names of PNG images.
After upgrading the android SDK In SDK manager.exe, you will find that the cute robot icon of the simulator on the original taskbar is missing, and the image displayed when the icon is missing in a Windows application.
1. In the "C: \ Users \
From http://hi.baidu.com/aokikyon/blog/item/2e8ca6130db328906438db18.html
1. Introduction to PixelflingerPixelflinger is a set of software renderer (renderer) provided for the OpenGL ES engine in the Android system ). When the system starts, you
First, let's take a look at the main usage of Android phones:
Obviously, most of the electricity is consumed by network connections, GPS, and sensors.In short, it consumes a lot of power in the following situations:1. Transmission of large data
The following error message appears when you compile the hello-jni example using the android-ndk-r4b command make APP = hello-jni:
Android NDK: APP variable defined to unknown applications: hello-jniAndroid NDK: You might want to use one of the
Hello everyone, now I can write a blog again. I have prepared Japanese for some time ago and now I am finished. What we want to talk about today isAndroidMediumListViewThe implementation is divided into four steps. I will explain them one by
1. Launcher Startup Process
I found an article about the Launcher Startup Process on the Internet as a background for studying Launcher:
After Linux kernel is started, the app_main process will be used to initialize the android Runtime Java Runtime
Now we have several boards on hand, 2410 and 2440 are used in the past. Now we mainly use 6410, one of which is the JFJ6410 development board of a company and the other is the 6410V1 embedded in the sky. today, I will summarize how many development
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