Mobile phone audio and video 7-basic functions of video players (4) and 7-basic functions
1. Use AudioManager to call the sound
1 _ get the current volume and the maximum volume
// Set the volume private int currentVolume; // The current volume
Android dialog box and android pop-up dialog box
It was really hard this week. Since Tuesday, I started to make a "strike" and finally reinstalled the system... it's just a pity for my software (SAD, hot, and so big )! Do not mention the past. How
The main thread sends a message to the subthread, and the main thread sends a message
Generally, we use a new thread to process time-consuming tasks. After processing, Handler sends the results back to the main thread. For example:
1 package
For Android, the simple ListViewDemo and click events of each control are displayed. The click events of the listview Control
Main. xml homepage Layout
List_item.xml: Layout of each item
MainActivity.
Silicon Valley Social Networking 15-group details, Silicon Valley Social Networking 15 --
1) Page Layout
Group details .pngDelete model group details. PNGGroup members details .png
2) obtain the passed data
// Obtain the passed parameter
Lorule. prepare () and lorule. loop (), lorule. prepare
When do I need logoff?
Logoff is used to encapsulate the message loop in the android thread. By default, the next thread does not have a message loop. You need to call logoff. prepare () to
Android development and learning-use ListView + BaseAdapter, androidbaseadapter
ListView
Is used to display the entries of a rowMVC Structure* M: model layer. Data to be displayed ---- people set* V: view layer. The user-viewed interface is ListView.
Reduce the input of mobile users and mobile users
Recently, due to a login and registration issue, the Project Manager argued with the company's project manager that a second Password confirmation is required during registration, in my opinion,
Silicon Valley Mall 3 -- shopping cart data storage, 3 -- shopping cart
1 _ create a shopping cart class ShoppingCart
Role: the shopping cart class inherits Wares and records the status of a commodity in the shopping cart. For example, how many
Android Plugin and androidplugin
To do well, you must first sharpen your tools. The following describes some commonly used Android Plugin for development.
1. adb-idea
You can run the ADB command on the AS panel. However, if you are familiar with
MaterialRefreshLayout, swiperefreshlayout
The above introduces a more beautiful and powerful drop-down refreyout control than SwipeRefreshLayout: Android-MaterialRefreshLayout
1. xml
2. Java
Package com. frame.
Afinal and afinal frameworks
1. annotation Function
1) Inheritance: FinalActivity (you need to copy afinal_0.5.1_bin.jar to lib)
2) @ ViewInject ()
public class AfinalActivity extends FinalActivity { @ViewInject(id=R.id.bt_afinal_loadimage,click =
Common Android command lines-ADB and android-adbConfiguration environment:
Configure the environment on MAC
(1) Start the terminal. You can search for "terminals" in Spotlight"
(2) Go to the HOME directory. Enter the command cd $ HOME in
XUtils3, xutils3github
1. Introduction
XUtils3 is an upgraded version of xUtils with improved functions and performance. xUtils3 has four main modules: annotation module, networking module, image loading module, and database module;
Annotation
Android custom control -- (1) rounded corner button, android rounded corner
-------------------------------- Rectangle or rounded corner type (attribute explanation under source code )-----------------------------------------------------
I.
Silicon Valley News 8 -- replace ViewPagerIndicator with TabLayout and tablayoutindicator
1. associated database
Compile 'com. android. support: design: 23.3.0'
2. Write TabLayout to the layout.
3. TabLayout and ViewPager
First knowledge of Android, first knowledge of android
It has been a year since I created my blog and I feel quite ashamed to use it all the time. Recently, I felt an impulse to write a blog. what's even more terrible is that this impulse seems more
First day of android learning (Introduction and basics of android): First day of android
(1 ):AndroidArchitecture;
Applications, Application Framework, Librarries, and Linux Kernel );
(2)Roles of folders in Android projects:
NO.
Folder
SharedPreferences and sharedpreferences in Android software developmentSharedPreferences a lightweight data storage method that stores small batches of data using key-value pairs: SharedPreferences sp = getSharedPreferences ("myopt" (file name),
1. TextView display text box control, EditText input text box,. textviewedittext
1. common attributes:
Android: id ------------> Control id
Android: layout_width --> control width
Android: layout_height-> control height
Android: text ---------->
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