NDK compiles FFMpeg [Linux] And ndk compiles ffmpeglinux
I recently studied live video technology and learned about FFmpeg. I checked how to port FFmpeg to Android on the Internet and checked it for a few days. I saw a lot of things, that is, none
Android parses XML files and generates XML files, androidxml
Parse XML files
public static void initXML(Context context) { //can't create in /data/media/0 because permission //can create in /sdcard/hotel File mSettings = new
FloatingActionButton and floatingactionbutton
I. Introduction
This class is inherited from ImageView, so we can use all attributes of ImageView for this control.
android.support.design.widget.FloatingActionButton
2. Prepare for use, and write in
Android custom title TitleView, androidtitleview
During Android development, we often encounter a project that needs to repeatedly define the title bar of the same style. Android has successively launched actionBar and toolBar. I believe that useful
Eclipse's "Running Android Lint has encountered a problem" solution, androidlint
Install eclipse for android error records, reproduced from: http://blog.csdn.net/chenyufeng1991/article/details/47442555
(1) Open Preferences. In Windows, choose
Android learning Activity preliminary, androidactivity
Activity, as the first step of Android development, summarizes the preliminary understanding in the study to facilitate future review and reflection.
1. When Android Studio is used to generate
Fragment, androidfragment
Fragment is lightweight and faster than Activity. It is suitable for page jumps in the same APP.
1: Enable a fragment in MainActivity:
public class MainActivity extends AppCompatActivity implements
Android implements image Flash Animation and Android image Flash Animation
When you use an APP, some apps will have a small microphone after you click the voice search interface. The microphone will flash like a radar, it means you are listening to
Android programming client communication with the server through socket
Android programming client communication with the server through socket
This article describes how the Android programming client communicates with the server through socket. We
Android Studio development RecyclerView Problems and Solutions (1), studiorecyclerview
ListView has been used in the past. Recently, it was found that RecyclerView is powerful. The premise of RecyclerView is that the Android version is later than 5.0
Android ProgressBar preliminary application, androidprogressbar
Here, you can use ProgressBar to instantly display the download progress.
Problems encountered on the way:
1. URLs cannot be opened in the main thread, and Toast can only be used in the
GetFragmentManager () and getSupportFragmentManager (), getfragmentmanager
Fragment is indispensable in Android development. Currently in practical use, there are v-4 package support Fragment and Fragment under the app package, the two packages of
CircleImageView and Cardview, circleimageview
Effect:
Circular portraits are common in our daily apps, because they are more beautiful.
Using a circular image, we may crop the image into a circular image and then use it in the app,
The custom
Android uses pull, sax to parse xml, androidpullPull parses xml files
1. Get reference of XmlpullParser class
There are two methods
// Parser factory XmlPullParserFactory factory = XmlPullParserFactory. newInstance (); XmlPullParser pullParser =
It is implicitly started to determine whether a matching Intent exists and to determine whether a matching intent exists.
1. resolveActivity of PackageManager
Public abstract ResolveInfo resolveActivity (Intent intent, int flags );
Android-based Handler message transmission mechanism, androidhandlerAndroid only allows the UI thread to modify the UI components in the Activity. When the Android program is started for the first time, Android will start a Main Thread at the same
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