The advantages and disadvantages of Android and iPhone OS are still under discussion, but we may wish to make a small evaluation of these two platforms from the perspective of development experience on the application interface.
Interface Layout
Editor's note: This article is the second part of the slide translation document for the official Android developer blog. It specifically introduces some tips for Android UI design, after introducing the first part of this slide, "detailed
There is an interesting situation in China. On the one hand, the clients/applications of several of the largest companies/enterprises in China are still stubborn and unwilling to follow the Android Design at all. They insist on using iOS UI or Metro
In the previous article, we introduced how to build an Eclipse Android development environment under Ubuntu. Now we will introduce how to develop the MediaPlayer multimedia software on the Android platform. MediaPlayer can be used to play videos,
Edge Animate is Adobe's latest visualization tool for making HTML5 animations. It can be simply understood as the HTML5 Flash Pro. In subsequent articles, I will introduce this new HTML5 animation artifact one by one. This article first describes
The coding method in the Android mobile phone operating system is easier for Basic programmers. Because it is based on the Linux operating system. Here we will introduce the Android garbage collection mechanism to deepen your understanding of this
The Android mobile operating system is an open-source operating system. The open source code of various functions is stored in a specific folder. We can modify the source code to easily complete the required functions. Here we will take a look at
Directly run the Code:
Package com. himi;
Import android. app. Activity;
Import android. OS. Bundle;
Import android. view. Window;
Import android. view. WindowManager;
Public class MainActivity extends Activity {
/** Called when the activity is
ListView: it is one of the most commonly used system components in the Android Application development process. Of course, some kids may ask why this is suddenly mentioned in game development, system components, such as game rankings and simple
The default ListView control of Android does not support changing the font color or font Style.
If you want to implement this function, you need to write some code yourself.
Step 1:
Define the resource xml of A ListView item and
A few days ago, due to project requirements, another ListView should be placed in one ListView, that is, another ListView should be placed in each ListItem of one ListView. However, at the beginning, we will find that the placed small ListView is
In the hardware/RIL directory, the ril driver module of Android is divided into three parts: rild, libril. so, and librefrence_ril.so, and radiooptions are available for automatic or manual debugging. All depend on the ril. h header file in the
In android, Parcel is used to bind containers that store basic data types and reference data types through IBinder. This method enables data to be transmitted between processes, parcel positioning is a lightweight and efficient object serialization
In android, Parcel is used to bind containers that store basic data types and reference data types through IBinder. This method enables data to be transmitted between processes, parcel positioning is a lightweight and efficient object serialization
I. Android coding specifications
1. the java code does not contain Chinese characters. A maximum of Chinese characters can appear in comments.
2. Local variable naming and static member variable naming
It can only contain letters. The first letter
Shape DrawableWhen you want to dynamically draw a 2-dimensional image, the ShapeDrawable object may be your right choice. With ShapeDrawable, you can draw the original shape and apply it to any style at will.
ShapeDrawable is a Drawable derived
I. Style
A style is a set of attributes, such as defining attributes such as fontColor, fontSize, layout_width, and layout_height. It is stored in an XML file as an independent resource file and the style name is set.
Android Style is similar to the
Implementation and call of the AndroidHAL Layer
1. HAL implementation
In this article, we will discuss the simple composition of HAL-Layer Code and how jni calls HAL-layer code. The article tries its best to avoid useless information and directly
When the image size is too large or the number of images is too large, BitmapFactory decoding will produce java. lang. outOfMemoryError: bitmap size exceeds VM budget. To use it properly, you need to allocate less memory. The specific solution is to
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