Android studio integrates ijkplayer and androiw.playerIntroduction
Ijkplayer is a very popular open-source video player for android and IOS. There are many pitfalls in how to compile and import your own projects in android Studio. This article
Android Project Practice (35): multi-channel packaging and android practice
Multi-channel packaging:
It can be understood that multiple channels of apk are released at the same time. Different app stores are available. These apk tags are used to
TextView two display link methods, textview two linkTextView two display link Methods
I. Introduction
It is also a TextView display text control method.
It also displays rich texts.
Ii. Method
TextView two display link Methods
1) Use html-like
Data is transmitted between activities through global variables. activity global variablesTransfer Data between activities using global variables
I. Introduction
The onCreate method in the Application field is the entrance of the Android program.
Android learning-Dynamic Registration listening for network changes and android listening
Create a BroadcastTest project and modify the code in MainActivity as follows:
1 public class MainActivity extends AppCompatActivity {2 private IntentFilter
Android learning notes-ButterKnife 8.0 annotation usage introduction, androidbutterknifePreface:
Most App project development is based on UI pages. At this time, we need to call a large number of findViewById and setOnClickListener codes. When there
Android Network request framework AsyncHttpClient instance details (with the JSON parsing call interface), asynchttpclientjson
Recently, the project requires the use of the network. I want to choose the AsyncHttpClient framework for APP development.
SoftReference soft reference of Android learning notes; weak references: WeakReference and weakreference
SoftReference can be used for bitmap caching
WeakReference can be used for handler
private Handler mRemoteHandler = new SafeHandler(this);
Webview Memory leakage solution 1: webview Leakage
Recently, in the nested webview of the activity, a large number of pictures and texts are displayed, and the APP memory has been rising, so the memory cannot be released. I checked a lot of
[Method summary] operations related to file creation, reading, and deletion, and reading and deleting
Summarize the common methods related to a wave of File Operations (for use)
Required permissions:
1. Get all file names in the folder
public
Factory model-practice details-practice Details
Factory model:There are a lot of explanations. Here I will explain what I understand in combination to everyone: the company has such a requirement that LBS positioning should be used in the App to
Custom Controls (4): Paint paint Paint path effect, paint Paint
Paint brush, that is, the "pen" used to draw a graph"
We have learned some basic usage of Painting:
Paint. setAntiAlias (true); // The anti-aliasing function paint. setColor (Color. RED)
Custom Controls (1): Paint and Canvas, paintcanvas
Preface:
Two classes required for custom controls: Paint and Canvas
Paint --- equivalent to drawing "pen"
Canvas --- equivalent to drawing "paper"
1. Paint
A drawing pen is used to set colors,
Kotlin operator overload: add standard operations to any class (KAD 17), kotlinkad
By Antonio Leiva
Time: Mar 21,201 7
Link: https://antonioleiva.com/operator-overload-kotlin/
Like other languages, some operators have been predefined in Kotlin to
Android system architecture and android System Structure
1. Applications
Android is released together with a series of core application packages, including email clients, SMS Short Message programs, calendars, maps, browsers, and contact management
[Android] Using ViewPager for navigation, androidviewpager
Reprint Please Note: Reproduced in http://www.cnblogs.com/Liuyt-61/p/6582667.html
------------------------------------------------------------------
First, you can see that ViewPager
Optimization 1-layout optimization, optimization 1-Layout Optimization
1. Reduce the nested layout. You can delete useless controls at a level.
If ViewGroup is selected, for example, RelativeLayout, if LinearLayout can be used in the layout, select
Introduction and use of Android universal player decoding framework Vitamio, androidvitamio
I. Introduction
Vitamio can smoothly play videos in common formats such as 720P or even 1080P hd mkv, FLV, MP4, MOV, TS, and RMVB, and supports MMS, RTSP,
Android obtains local album images and photos to obtain images,
Requirements:Find an image from a local album or call the System camera to take a photo.
Errors:
1. When we specify the uri path of the photo, we cannot use data. getData (); to get the
Draw a view and draw three views based on the axis Map
1. Three plotting methods:
In a custom view, three functions can be rewritten for interface painting. During the view creation process, the execution sequence of the three functions is onLayout,
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.