In android3.2 or later versions, you can set them as follows:
Edittext has an attribute: Android: textcursordrawable, which is used to control the color of the cursor.
Android: textcursordrawable = "@ null" "@ null" is used to make the cursor
In Android and later versions, Android applications can customize the installation path.
Androidmanifest. xmlThe followingThe manifest node has the following attributes: Android: installlocation.ProgramInstallation pathAttribute values include:Auto
Connect to database# Sqlite3/data/COM. Pad/databases/pad. DBSQLite version 3.6.33SQLite>
Exit InterfaceSQLite>. Quit or SQLite>. Exit
Show available databasesSQLite>. Databases
Display available database tables:SQLite>. Tables
List display table
Efficient Android development:
Principles: 1. Do not do unnecessary things; 2. save memory usage as much as possible
Avoid creating objects as much as possible
Use your own method,
Such as string. indexof (), String. lastindexof (),
IOS provides better support for HTML5 than Android.Android does not support HTML5 much better than iOS, whether it is HTML5 events or css3 performance.As the father of jquery said: mobile platform development is a tangle of events. On mobile
ArticleDirectory
IPhone
The well-designed interface can bring us a good mood for reading and viewing, especially for some mobile phone applications.ProgramThe effective way for designers to improve their levels is to watch other people's
Next, let's optimize the calculator in the previous article. Let's look back at the App we have implemented, and what we lack compared to a mature App. The most basic menu is the menu. Let's talk about the menu below.
As we mentioned earlier, we
[A basket of Rice rare original, reproduced please indicate the source of http://www.cnblogs.com/wanghafan/archive/2012/07/03/2574300.html]
First, create the respective files in src and layout respectively.E.g.Src \ fantsy. androidtest \ main.
The use of the floating search box is not difficult, but because its configuration is very cumbersome. It is mainly used to facilitate developers to better design the UI when there is a search service in the program.
Follow these steps to use
[Note: The blog for a long time, so attached to the download link of this project: http://pan.baidu.com/share/link? Consumer id = 81046 & uk = 1158065893 if you are interested, please download it]
Since the app is used, the interface is too
The first is the Layout file:
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
the empty view or the list view. -->
Serivce components:
First, you must inherit from Serivce to implement the methods in its life cycle. Then, you must declare the In AndroidMainfest. xml before using it.
You can call startService to start a Service, bindService to bind an existing
Note: AIDL is required. 1. Create an aidl file first, as shown in IPerson. aidl.
2. After creation, refresh the file. You can see the Iperson. java file implemented by the proxy under R. gen.
3. Implement the aidl interface. For example, IpersonImpl.
1. Check whether the process of Android dvm is the same concept as that of Linux.
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 DVM is a
1. How to refresh the View?2. What is the difference between DDMS and TraceView?3. What should I do if the activity is recycled?4. How to introduce C language in Java?Answer1. View can call the invalidate () and postInvalidate () Methods to refresh2.
2011-08-28
My first android app ---- happy first version is coming soon
This week, the computation has done something and added icons and pic for the result page.
To sum up
Problem: add an image for AlertDialog. The number of images is displayed
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