The first step, the effect show Figure 1, Blue progress bar Figure 2, Red progress bar Figure 3, a number of different colors of the progress bar Figure 4, a number of different colors of the progress bar Step two, custom
When it comes to drop-down refresh control, there are a lot of online versions, and many software also have a drop-down refresh function. There is a call Xlistview, I see others used, have not seen is how to achieve, see the name is estimated to
I. Overviewinadvertently turned to Foldinglayout's introduction of the blog, as well as the GitHub address. Feel very nice ah, so spent a little time research and writing, this blog will take you from the most basic principle analysis, step-by-step
I. Overviewtoday to bring you a real case of Surfaceview, saying that the custom view is also a variety of writing, has not written surfaceview, what is this thing? When is it better to use it?Can see Surfaceview also inherited view, but we do not
Starting with 5.0 (API level 21), Android is starting to support vector graphics. What is the vector map and the vector map has any advantages and disadvantages is not covered in this article, the specific reference vector map encyclopedia. But here'
In the figure above, except for the last red box, the other boxes are commands under the ADB shell. "1" in the Android program, databases that are typically created are stored in the directory of the/data/data/[application package name]/databases.
Objective Recently in the process of doing the project, in the use of ListView encountered when setting the item to listen to events when there is no callback Onitemclick method of the problem. My situation is that there is a button in the item. So
This article illustrates the simple File Manager implementation approach for Android development. Share to everyone for your reference, specific as follows: Here using Java I/O, listactivity, Dialog, bitmap and so on to implement a simple File
For the development platform, if the data storage has good support, then the development of the application will have a great role in promoting. In general, there are three ways to store data: One is a file, one is a database, and the other is a
Pull parse XML files in much the same way that sax parses XML files, all based on event-driven. Therefore, the following steps are required to parse an XML file using Pull: 1) Get Xmlpullparser object through Xmlpullparserfactory. 2 The input
How to present a different menu for different list items, this article introduces the Android imitation micro-letter or QQ slide pop-up edit, delete menu effect, increase Drop-down refresh functions such as the realization, share for everyone
The Android program has a lot of activity, such as the main window a, calling child window B, and child window B calling the child window C,back returns child window B, how to close the entire Android application in B? The following cloud Habitat
This example describes the ContentProvider usage of the Android content provider. Share to everyone for your reference, specific as follows: Personcontentprovider content provider Class Package com.ljq.db; Import
First of all introduce Android using caching mechanism to implement file download When downloading files or browsing files online, or in order to ensure the correctness of file downloads, you need to use the caching mechanism, often using
ANDROID.MK Introduction: The Android.mk file is used to inform the NDK build system of source information. ANDROID.MK will be part of the GNU makefile and will be parsed one or more times by the build system. So, try to declare variables in
Android applications run on mobile devices that are limited by their computing power, storage space, and battery endurance. From this, it must be efficient. Battery Endurance may be a reason for you to optimize your program, even if it seems to be
The main analysis of the Android ListView scrolling process of image display repetition, confusion, flashing reasons and solutions, incidentally mentioned ListView caching mechanism. 1. Reason Analysis ListView Item caching mechanism: To make
Android allows you to derive subclasses from the existing View toolbox (Widget Tool Box) or implement your own view controls; By overriding the event handlers and the OnDraw () method, but still recalling the superclass (super) method, you can
I've been looking at the custom view piece lately. It's been almost one weeks. This week, keep updating the blog every day, feel that their technology has a bit of breakthrough, the custom view of the calculation also has a deeper understanding.
The recently made. NET project (Windows Service) needs to send a push message to the Android phone, it's a little hard to keep searching the document, and finally see an open source project Pushsharp, Can be in the. NET platform to push