Recently, my blog has never been updated. The last time someone asked ant to compile the android project, I completed it here. If you think IDE is too slow or you think manual compilation is more cool, you can learn more without IDE. It is also a
Textview can display basic HTML tags. If you do not know the tags, you can view the Textview in Android to display html-text-1 ------- [HTML Tag ]!
Next, let's take a look at Textview's display of the "img" label. You may think of building
Preface
This chapter is about android. bluetooth. bluetoothClass. device. major, for Android Bluetooth part of Chapter translation, version for Android 2.3 r1, translation from Sun Yat-sen University "Android Club SYSU", welcome to visit their
Preface
This chapter is about android. widget. RatingBar. OnRatingBarChangeListener, version: Android 2.2 r1, translated from madgoat, welcome to his blog: http://madgoat.cn, thanks again madgoat! I look forward to your participation in Android
Preface
This chapter is about android. location. gpsStatus, for GPS related chapter, version for Android 3.2 r1, translated from "pandatv 82", welcome to visit his blog: "http://wisekingokok.cnblogs.com", thanks again "pandatv 82 "! Welcome to join
Home Page> Android development> text Android control table, enrich your uidesign
Release date:
Author:Original Android Development Network
The Android platform provides you with many rich controls. Designing a beautiful UI is the
This article describes the common functions of Intent in Android.
1 Intent. ACTION_MAIN
String: android. intent. action. MAIN
Identifies Activity as the beginning of a program. It is commonly used.
Input: nothing
Output: nothing
2 Intent.
This article introducesPrinciples and Examples of page flip in Android.
The first method is as follows:
Implementation principle:
If the touch point of the current finger is a, the coordinate of Point a is (ax, ay). The coordinate between
In the android project, you need to replace the default tabHost style:
(Implementation principle: reconstruct the Indicator of the Tab)
In order to achieve this effect, it took some time to take a note and give it to friends in need.
Step 1: Create
1 ImageSwitcherImplemented FunctionsAnd actual running
The ImageSwitcher class provides the image switching function. through third-party operations, you can set the image displayed by the current ImageSwitcher and set the animation of the image
In ApiDemo of Android, there is a Button drive effect, but it is still a little different if it is changed to TextView.
Define Marquee, mainly in Project/res/layout/main. xml
Copy codeThe Code is as follows: Android: layout_width = "40px"
Android:
The biggest headache for programmers is bug and debug. This debug lasted 20 days, and I made a failover. Tired, because of Android compatibility, different mobile phones may have different bugs, and it is difficult to reproduce, So I went online and
How can I obtain the size of the installed application at the application level?
There are two ways to search online:1. directly obtain the corresponding package under the data Directory and use the File. length () method. Then we will find that
1. Adapter. getView ()
Public View getView (int position, View convertView, ViewGroup parent ){...}
This method is used to obtain the View to be displayed at the specified position. The official website is explained as follows:Get a View that
Lead: PreferenceActivity is an interface for convenient settings and management, but it is monotonous for interface display, so it is necessary to customize the layout. This article provides examples to illustrate how to customize layout in
1. Modify FMRadioService. java
Add:
Copy codeThe Code is as follows: public static final int MSG_EXIT_FM = 1234;
Private Handler sHandler11 = new Handler (){
@ Override
Public void handleMessage (Message msg ){
FMRadioLogUtils. d (TAG,
Android provides a class named WakeLock in android. OS. powerManager. in WakeLock, from the perspective of name, WakeLock is the meaning of the wake-up lock, which can control the backlight switch of the screen, so it is in the power management
Android sdk Basic Package
These are basic packages. They are the foundation for compiling applications through the Android SDK. Here we will list and describe them from the bottom to the top.
* Android. util contains some underlying auxiliary
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.