Application scenarios
During Android Application Development, sometimes we manually create some XML files, which may be used in the project development process, that is to say, the original XML resource file is used. The original XML resource file
I carefully looked at my blog's previous blog and found that I haven't updated my blog for a long time. I am too busy with this outsourcing project, I don't have much time to update it. I have to worry about it. In the future, I will try to spend
I haven't updated my blog for a long time. Now I want to present an effect demo that I just created today to help you.
Effect:
Implementation ideas:
The group information is actually a dialog. We can inherit from the dialog to achieve our own
Today, we recommend an android vertical seekbar, which may be helpful to your project. This has already been implemented. I just recommend it here. For more good controls, I have built a website on the Internet to specifically include open-source
Today, a friend asked me about the implementation of a layout file, that is, the implementation of tabhost with message prompts at the bottom. As a matter of fact, I have long thought about this effect. The original idea was that I would have
In the previous article (http://blog.csdn.net/jiahui524/article/details/7269738), I used to override the dialog method to implement some implementations of group information. Later, in the comments below my article, someone told me that
Linerlayout linear layout:
This layout method refers to the display of control elements in this display. We can use setorientation (INT orientation) to specify the display mode of linear layout. The values include horizontal (0), vertical (1 ). The
I believe that one of the scenarios in the mobile phone address book is that the data in the text box can be automatically filtered when the user selects the address book. I was also invited by a netizen today, so I sorted out the knowledge points
In actual development, we often need to use the two buttons above, which are commonly called navigation, and so on. Let's take a look at the best effect that needs to be achieved today:
In fact, there are many ways to achieve this effect. Today I
Videoview
Common Methods:
Method Name
Description
Public void setvideopath (string path)
Load the file in the path
Public void setvideouri (URI)
Load the video corresponding to the URI
Public void
Moruite kids shoes have solved many problems. havlenapetr transplanted FFMPEG has been improved, and many adjustments have been made to his compilation. Thanks to the continuous efforts of these shoes, today, this is the spirit and significance of
Application scenarios:
Video playback using videoview is simple and convenient, but mediaplayer can also be used to play videos. However, we know that mediaplayer is mainly used to play audio. It is an output interface that does not provide output
Introduction to sharedpreferences
In the android development process, sometimes we need to save some simple software configuration and other simple data information, and it is not convenient if we directly use the database for storage,
1. The configuration class is used to describe the configuration information on mobile devices. The configuration information includes user-specific and system-specific dynamic device configurations.
The program can call the following method of
1. As with the previous blog, please refer to Android animation effects to achieve simple animation with the Tween;
Next, we will directly use Java code to implement animation:
Definition
private Animation
I. Use files to store data:
First, we will introduce how to store data using files. contextwrapper provides the openfileoutput () method to output data to files, the specific implementation process is the same as saving data to a file in the j2se
A few days ago, the Group members discussed the 9patch tool [I prefer to call it 9 sisters, Xi (* ^_^ *)], and then studied it, this is a simple but practical tool that comes with the android SDK. Here we will share some experiences with you!
1.
Android day 6
Menu Introduction
Android provides three menu types: Options menu, context menu, and sub menu.
The options menu is displayed by pressing the Home Key.
The context menu needs to be displayed after 2 seconds on The View.
Both menus can
1. The source code of Android includes the interface layout file, Java source file, and resource file.
2. Use the assetmanager class to access files in the assets folder. (Learn more about assetmanager ).
3. There are two types of resource files: (1)
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