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
Some time ago, because the customer requested to add the Persian language, but currently android2.3.1 does not have this language, the customer must have the Persian language, after a long time of exploration and online help, finally, the Persian
On the android simulator 4.1.2 and wxga720 devices, lanch simulators often appear:Failed to allocate memory: 8 I searched the internet and summarized the following solutions: 1. Change the device Ram to a smaller value, for example, from 1024m to 512
Document directory
1.
Step 1: Set the simulator to support sdcard
Step 2: Set permissions in the Application
Note:
Suggestion:
There are multiple ways to store data, such as database storage, sharedpreferences storage, and file
Document directory
Application: Create the person. xml file mentioned above to/data/package/files.
I. Introduction to pull parser
Pull Parsing is similar to sax \ Dom and is used to parse XML;
Ii. Use the pull parser to read XML data
The template
The prospective version of Android Studio 1.0 has been released. Download it this morning.
As follows:
Https://developer.android.com/sdk/installing/studio.html
Obviously, intellij idea looks like this. Below are some of them:
Select "New Project"
After the Android 2.3 SDK is released, Google has added proguard to Android SDK tools. proguard is a pair. java files are obfuscated with code to a certain extent. It is very convenient to use proguard. If there are no other external jar packages in
1. The file storage data uses Io operations in Java to store and read files, but Android encapsulates the methods for retrieving input and output streams in the context class.The created storage file is saved in the/data//Files folder.
2.
Task
In Android, a task is defined as a process in which multiple activities work together to complete an application. Note that the activity here does not need to belong to the same application. As shown in, the activity required by our task may
In other words, it's okay to play Android games. A problem was found.
There is a lunarlander example in Google's android-sdk-windows-1.0_r2 sample. A very interesting game, very difficult. However, one problem found was that I did not introduce how
I was very interested in functions such as text message interception when I first started to use Android. Many articles on the Internet have introduced the use of broadcast to receive android. provider. telephony. sms_received action to receive the
Reprint: Linux community
1> keyboard status-hide or display.
I. the keyboard is automatically displayed.
Timer timer = new timer ();
Timer. Schedule (New timertask (){
Public void run (){
Inputmethodmanager = (inputmethodmanager)
I. Preface:For example, layout and permission files (androidmanifest. XML) are a bunch of garbled characters and cannot be understood completely. It is not easy to see how other people layout them. The source code has been compiled into classes.
The following is a demo of how to start, stop, pause, and continue the timer and timertask in Android.
There are two main issues to note:
1. timer and timertask cannot execute the schedule statement after cancel () is called to cancel. Otherwise, an
I have a ZTE u960s mobile phone in my hand. I already have the root permission, but I want to delete the shutter sound and use the re File Manager to delete system/Media/Audio/UI/Camera_click.ogg,However, the operation failed.
I am confused. Execute
The MAKEFILE file Android. mk of the android compilation system is written as follows:
(1) In the Android. mk file, you must specify the local_path variable to find the source file. GenerallyAndroid. mk is in the same directory as the source file to
Articles that have been found for a long time
From: http://archive.cnblogs.com/a/2265135/
First: viewflipper + gesturedetector;
Second, rewrite the viewgroup to manage the view;
Third: Use the viewpager that comes with the system.
As for the first
I installed MyEclipse 10.0 and wanted to Install a plug-in. However, I found that no New Software was installed in the Help menu .... Finally, we found that MyEclipse made some modifications, and the method for installing plug-ins is somewhat
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.