Android dvm process and Linux Process, whether the application process is the same concept
DVM refers to the Virtual Machine of dalivk. Every Android application runs in its own process and has an independent Dalvik Virtual Machine instance. Every
After talking about this, what is the size of the View? In this section, I will study the size of the View. Use LogCat to study how the View Size is determined. Okay. Let's get started with the subject.
1. The size of the View when new HelloView
In the previous blog, I wrote a program to directly operate the built-in storage of the mobile phone. This time, I went on to operate the files on the SD card under the previous blog protocol. Different from built-in storage, You need to grant
Although this article already has several translations, I have found that many of the words are not the original meaning. below is my own translation version. If there is anything wrong, please correct me.
Compile efficient android code
The previous articles introduced the usage of some basic classes in the libgdx framework, and also included some of the source code. But if libgdx is used for actual development?
It is not enough to understand several classes. You also need to
Unit Tests can ensure the quality of our applications. Generally, after the business layer is developed, we test the business layer to ensure that no bugs occur at the business layer, after the business layer is passed, the control layer can call
TextViewAttribute settingsAndroid: layout_width = "fill_parent" Android: layout_height = "wrap_content" Android: id = "@ + id/autotx"Note: The parameter of the setText () or setTextColor () method is an int value or a resource address.Android:
This article is followed by the previous article:
Configuration changeIf the Configuration of the device (defined as the Resources. Configuration class) is changed, all displayed user interfaces must be updated to adapt to the new Configuration.
Recently, I have been entangled in the issue of passing values between activities. What I want to do is to simply pass values, including passing values between applications and passing values in applications, with the activity Loading Mode added,
In the previous section, we implemented our own notification. I believe everyone has some knowledge about it and finally accepted the notification that uses RemoteView to implement custom layout, here is an example for easy understanding.
Step 1:
XML escape charactersThe numbers and string escape characters of the XML flag are as follows:"(& #34; or & quot ;)'(& #39; or & apos ;)& (& #38; or & amp ;)Lt (Gt (>) (& #62; or & gt ;)
The following characters are defined as whitespace characters
Previous: http://www.bkjia.com/kf/201112/115573.html
TableLayout is the table layout, that is, the UI control is managed by columns. Each TableRow represents a row, and the number of columns is determined based on the number of controls you add. You
A Fragment represents some behaviors in the Activity or some user interfaces. You can combine multiple Fragment in an Activity to create multiple UI panels. You can also reuse one Fragment in multiple activities. You can understand Fragment as a
Custom ComponentsThe Android system provides a powerful component model for users to create their own UIS. This model is based on basic layout classes such as View and ViewGroup. The Android system contains the pre-created child classes of View and
Recently, the project used to call the camera and provide the code. It only calls the code on the interface provided by the android api:
1. ackage com. ray. test;
2.
3. import android. app. Activity;
4. import android. app. AlertDialog;
5. import
If the MIDlet-Name in the jad file is modified in the j2_project, The result project will not work, and the Illegal Manifest Entry Key or Value " MIDlet-Version" error will be generated no matter whether it is compiled or packaged. However, the
When using Camera and SurfaceView for cameras, you will inevitably encounter the problem of setting the Camera flash. Before setting the Camera, you must first obtain the flash mode supported by the Camera and then set it. As I am developing in a
Sharing global data in android DevelopmentDuring normal development, we may sometimes need some global data to make all the activities and views in the application accessible. In this case, you may first want to define a class and then create many
This is a simple adapter that maps static data to a view defined in an XML file. You can specify a list supported by data, such as a Map composed of ArrayList. Each entry in the ArrayList corresponds to a row in the List. Maps contains each row of
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