Recommended articles for Android Development

Source: Internet
Author: User

[XML parsing] learning notes with Sax Parsing
There are three ways to parse XML files. Due to the small memory usage, Sax Parsing is suitable for Android development to build an XML parsing tool class.
Http://www.apkbus.com/blog-113729-45127.html

Android-switching between landscape and portrait screens and display of plaintext passwords
In the use of mobile phones, we need to change the display direction of the screen according to different needs. Generally, when Browsing information, the screen is a vertical screen. When playing games, we need to switch to a horizontal screen. To switch the screen direction in Android, some methods of the activity class are required.
Http://www.apkbus.com/blog-117765-45117.html

Summary of the typical app structure of Android
Now, to learn about Android programming, you must first understand android Program In this way, the idea of APP composition will be clearer, which is conducive to learning and development.
Http://www.apkbus.com/blog-128058-45114.html

Android stopwatchSource code
A simple stopwatch Code Android development is commonly used.
Http://www.apkbus.com/blog-142840-45113.html

Android GPS Positioning and null value error reporting Test and Analysis
After many times of debugging on the simulator, I found a problem, that is, the location is sometimes null and can be found. When the location cannot be found, I will definitely report a null pointer error, to avoid NULL pointer errors in the location package, use while to skip.
Http://www.apkbus.com/blog-56077-45076.html

In Android, how does one use viewpager to implement a drag effect (convert) similar to laucher)
Nowadays, many Android applications will guide how to use some features of the application after the first installation, which will provide a good user experience, it can help users better use certain functions of applications. In fact, this function has the same effect as the luncher function on the main Android interface, allowing you to drag left and right.
Http://www.apkbus.com/blog-134192-45075.html

How to stop a Java thread
How to stop Java threads has always been a problem of annoyance when we develop multi-threaded programs. This question was finally answered in Java. util. Concurrent of Java 5: Use interrupt () to stop the thread in the run method.
Http://www.apkbus.com/blog-13594-45044.html

Loading Custom font display in IOS apps
Everyone said that the fonts provided by the IOS system are limited. We can use the uifont class to retrieve all the Font types supported by the IOS system. All Font types supported by the iPhone are displayed in the uitableview list.
Http://www.apkbus.com/blog-107838-45032.html

Update Android apps online
We can see that many Android applications have the automatic update function. You can update the software with one click. Thanks to the software package management and installation mechanism of the Android system, this function is quite simple to implement. Let's take a look at it.
Http://www.apkbus.com/blog-107838-45011.html

Java redirection
First, let's explain what the redirection is: re-define the output of the output stream Java to print to the console by default, but sometimes we need to get the output result and save it, so we have to use redirection.
Http://www.apkbus.com/blog-123261-45010.html

How to cancel the title bar and set full screen for Android
The first method: requestwindowfeature (window. feature_no_title); // remove the title bar. Note that this sentence must be written before the setcontentview () method. Otherwise, an error will be reported.
Http://www.apkbus.com/blog-56077-44993.html

Android asynchronously loads images from the network
The following is a summary of Android's asynchronous loading of images from the Network: (1) Because Android UI updates support the single thread principle, data is retrieved from the network and updated to the interface, in order not to block the main thread, you may first think of the following methods.
Http://www.apkbus.com/blog-76214-44988.html

Android FAQs about import project errors
Recently, I have seen many questions about import engineering errors. Here are some solutions for your reference. Now I think so much about it. I will try again later. If you have any experience, you can leave a message for me. Thank you.
Http://www.apkbus.com/blog-141038-44987.html

Android development specifications
First, let's talk about the encoding specification of Android development specifications. 1. the Java code does not contain Chinese characters. Chinese characters can appear in the comments at most. XML; 2. Local variable naming and static member variable naming can only contain letters, the first letter of a word is capitalized, and other letters are lowercase
Http://www.apkbus.com/blog-76214-44986.html

Analysis of APK installation process and principles in Android
Application installation is the main feature of a smart machine. Users can install various applications (such as games) on their mobile phones and perform management operations such as uninstallation. APK is the abbreviation of Android package, that is, the android installation package. APK is a file format similar to Symbian sis Or sisx. Directly upload the APK file to the android simulator or Android mobile phone for installation.
Http://www.apkbus.com/blog-104607-44985.html

OpenGL ES series tutorial Summary
What is OpenGL ES? OpenGL ES (short for OpenGL for Embedded System) is a free 2D and 3D graphics library for embedded systems.
Http://www.apkbus.com/blog-83591-44978.html

Popular materials for Android Development
This is an introductory tutorial for Android ndk development. After this tutorial is complete, you will create your own project and simply call the native C language code from the Java code.
Http://www.apkbus.com/blog-105036-44973.html

What is MIME type (mimetype )?
First, we need to know how the browser handles the content. The content displayed in the browser includes HTML, XML, GIF, and Flash ...... Then, how does a browser differentiate them and decide what content is displayed in what form? The answer is MIME type, which is the media type of the resource.
Http://www.apkbus.com/blog-56077-44963.html

Create an animation and set the default Wallpaper
The on-premise animation handler is saved in the bootanimation.zip format and stored in the directory of out/target/product/rk29sdk/system/media. You must also modify the permission: sudo chmod + x bootanimation.zip. The permission is changed to executable files;
Http://www.apkbus.com/blog-104607-44961.html

Calculate the listview height
Put another listview in each scrollview of a listview. However, at the beginning, we will find that the placed listview is not completely displayed, and its height is always faulty. I checked it online and found that someone else encountered this problem. Most people do not recommend this design, because by default, Android prohibits the placement of another listview in scrollview, its Height cannot be calculated.
Http://www.apkbus.com/blog-56069-44960.html

Surfaceview for Android Development
Surfaceview is used for video playback and simple camera preparation. So what does this class do? If this class is not used, can the View class be used? This does not seem to work.
Http://www.apkbus.com/blog-43176-44959.html

About java.util.zip packaging Chinese garbled characters
When using java.util.zip to create a zip compressed file, if the compressed file contains a Chinese file name or a Chinese directory, garbled characters will occur when decompressing it with WinZip or WinRAR. The encoding is different from WinZip and WinRAR, after searching online for half a day, I found that there are only two solutions
Http://www.apkbus.com/blog-13594-44957.html

Sharing installed APK applications for Android
Have you ever encountered a good app on your mobile phone, but you don't know how to share it with friends? As a programmer, I encountered such a simple problem. I must find a solution. After Google and Baidu, I found that all installed apps on Android would be backed up, they are stored in three locations.
Http://www.apkbus.com/blog-83591-44940.html

How to draw the android view tree
The drawing process of the entire view tree is in viewroot. the extends mtraversals () function of the Java class is expanded. The execution process of this function is as follows: Determine whether to recalculate the View Size (measure) based on the previously set status), whether to relocate the view location (layout), and whether to re-paint
Http://www.apkbus.com/blog-45701-44924.html

Android predefined Style
For controls that can display text (such as textview edittext radiobutton button checkbox chronometer), you sometimes need to control the font size. The Android platform defines three font sizes.
Http://www.apkbus.com/blog-138448-44917.html

Radio UI implementation for Android
I recently studied the source code of the radio. I wanted to extract the radio from the source code and make it into a separate application. However, the radio requires the support of the underlying layer, so I can't do anything about it, however, I found that the UI is more personalized (as shown in) and the image is ugly (this is the responsibility of image mm, haha). I will share it with you separately, by the way, you can also learn about custom views.
Http://www.apkbus.com/blog-105036-44915.html

Asynchronous list loading using asynctask
The execution of asynctask is divided into four steps. Each step corresponds to a callback method, which should not be called by the application. All developers need to do is implement these methods.
Http://www.apkbus.com/blog-123261-44908.html

Introduction to selector background selector in Android
Both listview and button must change the background of the original Android control. First, the android selector is configured in drawable/xxx. xml.
Http://www.apkbus.com/blog-138448-44907.html

Android imitation windows Metro Interface UI
Although I am not very interested in Windows Phone, I have to say that I like the style of Metro. Metro is an internal design language developed by Microsoft, named "typography-based design language". It was initially based on the design principles of Swiss graphic design, the interface attracts users' attention by using big text and pictures. The design concept is derived from the bus stops, airport signs, and subway signs of the Transportation Bureau.
Http://www.apkbus.com/blog-83591-44894.html

use pure code to implement radiogroup, and implement the scroll bar
http://www.apkbus.com/blog-130933-45047.html
gregoriancalendar and calendar usage
http://www.apkbus.com/blog-123261-44929.html
progress bar
http://www.apkbus.com/blog-128727-44928.html
Android phone, and SMS Code
http://www.apkbus.com/blog-59666-44969.html
locationmanager summary
http://www.apkbus.com/blog-56077-44964.html
webview some methods of cache clearing
http://www.apkbus.com/blog-35555-45023.html
re-Press the return key to exit the Program
http://www.apkbus.com/blog-107838-45035.html

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.