These days are quite troublesome. For RTSP server, we need to port live555 to Android. The common practice is to write an android program. MK, put it under the android source code tree, mm, you can, but I have always had a bunch of errors, and I
I. First, let's talk about the SAVE and restore functions of canvas. This is a very attractive part of canvas.
The ondraw method will pass in a canvas object, which is the canvas you use to draw the visual interface of the control.
In the ondraw
The margin and padding of Android are the same as those of HTML. As shown in: the yellow part is padding, and the gray part is margin.
In general, padding is an internal border, and margin is an external border.
The corresponding property
Three events in the basic action sequence of message distribution knowledge
Touchevent has three types of events: down, move, and up.
Among them, the move event may occur multiple times in an operation (here, an operation is the interaction between
When developing Android mobile clients, multithreading is often used for operations. We usually place time-consuming operations in separate threads for execution, avoid occupying the main thread and bring a poor user experience. However, the main
Fragment is used for project creation, and an exception occurs during fragment quick switchover: illegalstateexception: can not perform this action after onsaveinstancestate
Logcat prompt: caused by: Java. Lang. illegalstateexception: can not
As for ant and how to use ant for Android automatic compilation, it is difficult to find the appropriate materials during the course of learning.
After my personal study of ant, I have compiled the following documents, which may be helpful for your
There is nothing to do recently. I wrote a paintboard demo (sketchpad) and shared it with you.Function Description:1. Draw a pen, erase (eraser), and clear (clear ).2. Undo and redo functions.3. Save and load the handwriting (stroke ).4. Paint Brush
This example uses sharedpreferences as the data access carrier.To use sharedpreferences to access a data set, follow these steps:
Sharedpreferences sharedpre = getsharedpreferences (name, mode); Save: sharedpreferences. editor editor = sharedpre.
Silent Installation on Android seems to be a very attractive feature. Many people have asked this question. Today, I will share two methods for implementing Silent Installation. However, after reading this article, I will still disappoint some
Media File Management on the Android platform is different from that on the desktop. On the desktop system, media files in different directories are displayed in a tree structure. You need to go to different directories to find files in these
++ ++
This article is original on this site. You are welcome to repost it! Reprinted please indicate the source:
Http://blog.csdn.net/mr_raptor/article/details/7540730
++ ++
Android compilation system (I):
The binder communicates between processes using a small custom kernel module. the binder IPC is used instead of standard Linux IPC facilities (name pipe, socket, signal and so on) so that we can efficiently model our IPC operations as "thread
I haven't updated it for a while, but the project has basically been completed. You can write some new articles. Although the project has been completed, there are still many problems. In May March, new leaders will lead the new version to solve the
The function is cool and Android cannot be vague. You can use the gallery class to move images with your fingers on your iPhone.
Today I made a small e-album:
Suppose you have created a new project.
First, store the prepared images in the drawable
This article from http://blog.csdn.net/hellogv/, reference must indicate the source!
Android-opencv is a transplanted version of opencv on Android phones, while cvcamera is a sample of this transplanted version. This document describes how to
This article from http://blog.csdn.net/hellogv/, reference must indicate the source!
To achieve a drawer effect similar to launch on Android, you must first think of slidingdrawer. Slidingdrawer is one of the official Android controls. The main
Hello everyone, I haven't seen you for a long time. I have previously made a music player to share with you a question during development, because I usually use services to play music.
When the user clicks the play button, the music is played in the
Effect
The code is very simple, mainly for the translateanimation class
Public translateanimation (INT fromxtype, float fromxvalue, int toxtype, float toxvalue, int fromytype, float
Fromyvalue, int toytype, float toyvalue) since: API Level
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