1. Continue with the reference :( original link http://www.crifan.com/run_android_on_avd)
RunOn the emulator
For the newly created AVD, click Start:
The following options are displayed:
Click launch to start.
2. Start to show that the
Some people will be curious about the places where images are placed in Android: drawable-hdpi, drawable-mdpi, and drawable-ldpi. You will surely think about which one you can store, as long as it is in drawable under the res directory in Android,
1. The background turns black when the android listview control is scrolling.
By default, the background of the list control suddenly turns black when the listview is rolled. This may causeProgramThe black background is not in coordination with
1. Hide the title bar
// Hide the title barThis. requestwindowfeature (window. feature_no_title );
Ii. Hide the status bar
// Hide the status barThis. getwindow (). setflags (windowmanager. layoutparams. flag_fullscreen, windowmanager. layoutparams.
When there is a large amount of content, the mobile phone screen cannot display too much content. In this case, you need to slide the page, which is implemented by uiscrollview on the iPhone. The Android sliding screen is implemented by
1. A service runs in the main thread of its hosting process-the service does not createIts own thread and does not runIn a separate process (unless you specify otherwise)
Although the service does not have a UI, it cannot perform time-consuming
Ant official site such as: http://ant.apache.org/manual/index.html here you can get more information about ant.
1. download and install the ant tool and configure environment variables.
(1). Run the following command on the terminal: fql @
I always wanted to study ndk, but it was always because it could not be used in the project. Today, I am idle, and hello World.
As an example, Google was used before doing anything. As a result, there are a lot of articles about ndk. Therefore, it
To add more information, it is very easy to add background music to the game. Android provides a mediaplayer class to conveniently play music files.
Android. media. mediaplayer class has no constructor. Generally, it uses its static method create
There are many ways to display GIF animation in Android. For example, you can use the decoding tool class on the j2_based platform, which is pure Java.However, Android provides us with a more convenient tool: Android. Graphics. Movie.
The reference
Google's Android SDK has been released for a while, and it has been hard to find time for research. I started to force myself to enter the learning status again this week. The reason is simple: I am optimistic about the open gphone.
The download and
I haven't been on my android learning journey for a long time. I will continue today.
To put it simply, let's look at the effect of the Grid. Android provides a gridview. However, from apidemo's perspective, it seems to be quite different from the
The procedure is as follows:1. in the android source code (the target path is system/CORE/logcat. CPP), set this logcat. modify the static void readloglines (INT logfd) function in the CPP file as follows:
Static void readloglines (INT logfd){
If you haven't used the android interface for a long time, it's just a hand-built one. It took a long time to get the effect, but it's okay to get it done.
1. Clearly define your layout and set the following background XML:
Android:
The Singleton mode is commonly used to ensure that a class has only one instance and provides a global access point to it. A Bluetooth-related package in the Android Application Package uses the singleton mode. The instance code is as
When we use HTC's gxx, we will find that it has a function of vibrating prompt after it is connected. Although it is not a big function, it is more convenient to use, for example, when the call process occurs, you can place it on the table and wait
I found this problem when I was debugging a program for an intern last Friday. He wanted to implement this function: when the user chooses to delete the program, the data list will pop up in the form of dialog, in addition, each data has a checkbox,
Setting up the ADT bundle
The ADT bundle provides everything you need to start developing apps, including a version of the Eclipse IDE with built-inADT (Android developer tools)To streamline your Android app development.If you haven't already, go
Http://blog.csdn.net/muyu114/article/details/6623509
Server Design:There should be many design methods. here is one of my methods:A. Create a folder under the server project to store the APK installation file:B. Create a resource file
Transfer http://www.oschina.net/question/157182_47077
Still worried about how to publish applications to the Android Market? Please follow this tutorial. This tutorial will teach you how to publish an application to the Android Market through
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