Android boot broadcast and android Broadcast
Sometimes we often need a program to start up and run. At this time, we need to listen to the system boot broadcast, and then start our program.
Not to mention the Code directly:
Public class
Drop-down refresh of the Water Drop effect -- third-party open source -- WaveSwipeRefreshLayout and swiperefreshlayout
: Https://github.com/recruit-lifestyle/WaveSwipeRefreshLayout
You can directly copy the code to your project:
Usage:
In xml:
Android activity startup mode, androidactivity
I. activity startup 4 middle mode:
2. The standard mode is the default start mode. A new instance will be created each time you start the instance. onCreate, onStart, and onResume will be called. A
Slideshow widget of Android custom control and android custom controlBackground
I recently want to create a carousel image. After reading several articles online, I can basically find the implementation, and the results are quite good, but at the
Prompt & dialog box in android ---- AlertDialog, android prompt
AlertDialog (dialog box)
I. Basic Procedure of using the dialog box
Step 1: Create AlertDialog. Buider;
Step 2: Call setIcon () to set the icon, setTitle () or setCustomerTitle to set
Analysis of android Object serialization Parcelable and androidparcelable1. Introduction to android serialization
We already know that when Android uses Intent/Bindler for IPC data transmission, the object needs to be serialized.
JAVA originally
Path to the Android system (first knowledge of MTK) ------ default screen brightness/date format/picture makeer model
Today, I will share with you how to modify the default screen backlight brightness for the first time the system is started on the
Android internal File Reading
Android File Management MethodAndroid uses a Linux-based file system and restricts file access and management through permission settings.In Linux, file permissions describe the operation restrictions on files by
Controls related to Adapter in android ---- ViewFlipper and adapterviewflipper
ViewFlipper (flip view)
1. ViewFlipper is a multi-Page Management Control. Unlike ViewPager, ViewPager has one page and one page, while ViewFlipper has one layer. Image
Prompt & dialog box ---- Toast, android prompt
Toast (Toast)
1. Toast is a message prompt box. A message prompt box is displayed on the screen of the mobile phone. Without any buttons, the focus will not be obtained and will disappear
Android animation player growth notes
Before introducing the implementation of animation effects in this article, we will first introduce several knowledge points related to property animation.ValueAnimator and ObjectAnimator. Interpolator
Secrets of Android + JNI + Opengl image application development --- Preface
As an image application developer, I have been engaged in the underlying algorithm development of the beauty and makeup image APP. I am very familiar with the architecture
Android uses Okio to simplify I/O operations
The Okio library is developed by square and complements java. io and java. nio to facilitate and quickly access, store, and process your data. The underlying layer of OkHttp also uses this library as
ImageView of the UI component and its subclass (I) ImageView display image
Inheritance relationships of the ImageView family
ImageView inherited from View componentIts main function room displays images and Drawable objects.
The direct subclass of
ImageView of UI components and its subclass (2) ImageButton and ZoomButton
From the literal meaning of ImageButton, It is an image button, so we can use it to create an image button we want, but in actual use, this button is not as simple as you
Callback in android
1. Introduction
The most classic callback in android is the click event setting listener (usually through switch (v. getId ().
btn_rigister.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View
Android-dynamically change the brightness of the ImageView, android-imageview
// Method for changing the brightness of an image 0 -- unchanged> 0 --- brightness
Android uses webservice to operate sqlserver databases. androidwebservice
On the homepage, add database access permissions in AndroidManifest. xml.
Create a new webservice connection class in src. The class name is "HttpConnSoap ". Basically, this
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.