Slidingdrawer hides the content outside the screen and allows the user to handle to display hidden content. It can slide vertically or horizontally, it has two view components, one is the handle that can be dragged, and the other is the view of the
Nothing to do, pondering on the android gesture interaction, found that the Internet in the gesture of the article is not many, and a lot of reference value is not big. So out of this blog, and we share. Since I am writing this blog, the study of
There are two ways to implement asynchronous task mechanisms in Android, Handler and Asynctask.
Handler mode needs to create a new thread for each task, after the completion of the task through the handler instance to the UI thread to send messages
To talk to you today about Android's understanding of several properties of FontMetrics, the final size of the text in Android is related to the type and font size of the font used to draw the text.
Set Font type Paint.settypeface (typeface
Handler is a class that is used to manipulate message queues within a thread. It's a bit round, it's okay, let's take it slow. The previous looper mentioned that Looper is used to create message queues for threads, that is, looper can allow Message
Now the need to maintain and customize Android more and more, do more and more people, and Google directly released the source code has a lot of bugs and unreasonable places, especially native applications, such as Mms,browser, Email, contacts and
Two ways:First, the window interface operation1, open Ddms page
2, open the File Explorer page, if not, in Window--> show View-->file Explorer
3, generally in the mnt--> sdcard
4. In SDcard, click the destination folder where you want to place the
Friends familiar with smartphones know one of the widely used mobile operating system Android open source mobile OS. So what should we do if we want to realize the listening function of the call in this system? Here is a detailed introduction to the
After android2.3, the Android system provides a system component that can be used by other app apps to download things that are easy to use.
For example, we can download the new version of the app apk while registering a broadcast receiver to
This paper mainly introduces how to use rotate to realize the effect of rotating picture in Android. Android platform provides two kinds of animation, one is Tween animation, that is, through the scene of the object constantly doing image
All kinds of mobile phone assistants include SMS backup. Text message is mainly composed of four items: content body, Event date, mode type, numberaddress.SMS Backup ~ One. Use a stupid way to save text messages to an XML file and save it in an
Android provides an API for timing by seconds, and today is a simple countdown to this API.
To make a layout:
"
;/linearlayout>
The code in the corresponding activity is as follows:
Package Com.example.timer;
Import
Let's say 2048 game rules:
At the beginning, there are two numbers randomly appearing in the chessboard, which can only be 2 or 4.
Players can choose from top to bottom four directions, if the number in the chessboard appears to shift or merge, as
The project recently used a variety of charts, originally intended to use a third party, such as Mpandroid, this is a very powerful chart library, the application is very convenient, but finally found and design is not the same, no way, can only
This case is to implement a multithreaded breakpoint download of a file, that is, after a file has been interrupted by a download, you can continue with the progress download and show progress through the progress bar. That is, in the beginning of
With regard to IPC should not be introduced, the Android system can not share the memory between the processes, so if the two different applications need to communicate with each other? For example, a company's project to update, product
Android soft references and weak references
1. Softreference: Soft Reference--> when the virtual machine is out of memory, the object it points to is recycled, and the Get method can be invoked when an object is needed.
2. Weakreference: Weak
First, the preface
This article mainly introduces a practical case is how to modify the geographic information of the system through this framework to realize the hidden function, in today's development of social tools, especially micro-letters, he
Android Serial Communication programming: Embedded programming and wearable devices and smart devices will be used in the serial port, here to take you analysis,
One, Android serial communication
Serial communication using a Third-party open
Before developmentabout the beginning of last year, it may be the Html5 of fire, it is not ... Can always hear from the Internet to the mixed development of XXX, in order to keep up with the trend (although a bit late), we also look at ANDROID+HTML5
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.