Similarities:
Implementation ideas.
Your Server communicates with Apple (apns) or Google push server. The push server sends push information to the corresponding terminal device based on the corresponding conditions (for example, the current
An incorrect understanding
The Android: layout_weight of each view (such as button) is shown in the parent view as a proportional relationship.
2. self-understanding
Weight is the identifier of importance. The greater the value, the more
The sub-application (or plug-in) mentioned here is also an independent APK, but it cannot exist out of the main application, that is
If you download and install a sub-application, there is no use value, but it only occupies the space of the mobile
If you directly place a XXX. So file in/libs/armeabi in a jar file and export it as a jar package, such as A. jar,
In an androidProgramTo reference this A. jar file, the following error occurs during compilation:
The library 'a. jar' contains
Hello everyone, I believe everyone knows that there is a method in the API for the android double-click event, but it must be available in the activity.
You may have different opinions on using the double-click event API without using Android.
I. Preparations
1. Download The msysgit Tool
Git client in WindowsProgram,: Http://code.google.com/p/msysgit/
See:
2. Install the msysgit Tool
See:
3. Create a folder on the disk
To store the android source code
Most people may have used the view togglebutton.
It is easy to use to implement a listener after initialization.
However, when you first enter the interface, togglebutton will display a "off ". Many people may want to change it. togglebutton.
I saw this on someone else's blog.ArticleIf you think it is good, you can get it here for reference.
Article Source: http://mobile.51cto.com/android-266522_1.htm
ApplicationProgramEach component has a life cycle, starting from the android
Remove the title bar:
ApplicationAndroid: icon= "@ Drawable/icon"Android: Label= "@ String/app_name"Android: Theme= "@ Android: style/theme. notitlebar">
OrCodeIn:
Requestwindowfeature (window. feature_no_title );//Remove title bar
Note that
1. I just found an amazing thing. In tabactivity, gettabhost () is used (). setcurrenttab (2); set the current subactivity to the first, for example, the second, but the first subactivity will still create. Currently, we do not know the situation
In Android, the spinner is the drop-down box. When you click it, the selection list is displayed, from which you can select data. The data in the spinner must come from the adapter. Therefore, when adding data to it, you must first define the
Besides programming with Java, We're also able to do native programming with C or C ++ on Android platform.
To do so, we need a cross compiler target on ARM processor for our working platform (Windows or Linux ). so I downloaded sourcery g ++ lite 20
This article introduces affinities and tasks in Android by referring to the official Dev guide document ). Activity and task
A task is like a stack that can contain many activities. By default, when an activity starts another activity, the two
1. create four tab styles for 9patch. For details, refer to the default Android resource.
Tab_unselected.9.png tab_selected.9.png tab_press.9.png tab_focus.9.png
These four resources represent the four statuses of the tab.
2. Define the selector
I have been learning a very basic knowledge for a while recently, and I have accumulated a little accumulation of knowledge, and I have not updated my article. I plan to gradually extract my own things after I have a certain understanding of the
Four components of Android
Android administrator: Activity
The activity manages and schedules the operations you want to perform on the screen.
All user operation classes must inherit from the activity
For example
@ Override
Public Boolean onkeydown
Document directory
The background of a button or imagebutton is transparent or translucent.
Translucent
Transparent
Set the background image transparency (ultra-simple)
1. To view the uidesign and cropping of an excellent Android
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