Build an Android environment and an Android Environment
I. configuration of the Java environment (taking JDK1.7 as an example)
Check the environment variable to check whether JAVA_HOME exists. If not, create
JAVA_HOME: jdk installation directory
Custom three views of the Android group English notes series: implements a simulated download.
1. Implementation result: the progress is displayed dynamically (the entire dynamic change process is displayed separately, and then a dialog box is
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 Development 5: Implementation of App Widgets, an application widget, androidwidgets
Preface
This is mainly to implement an Android Application that implements static broadcast and dynamic broadcast to change the widget content, that is, to
Android custom control -- (1) rounded corner button, android rounded corner
-------------------------------- Rectangle or rounded corner type (attribute explanation under source code )-----------------------------------------------------
I.
Introduction to the first view in the Android group English notes series
After learning the first line of code, I continue to learn about the English series of Android games. I hope I can stick to it, learn this book well, and take relevant notes in
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
ViewPager + GridView implements the page layout of the homepage navigation bar. viewpagergridview
It is achieved by using ViewPager + GridView to implement the page layout of the homepage navigation bar.
Demo: http://download.csdn.net/detail/qq_29774
Silicon Valley NEWS 3-Parse json data using the API provided by Android, androidjson
NewsCenterPagerBean2 bean2 = new NewsCenterPagerBean2 (); try {JSONObject object = new JSONObject (json); int retcode = object. optInt ("retcode ");..........
1.
Android ViewPager Lesson 2: androidviewpager
Paste only part of the code here
In the first lesson, the animation effect is triggered only after the View slides. In the second lesson, the slider and View are synchronized.
SecondActivity. java
Package
Java multithreading FAQ1. What is the difference between processes and threads?
A process is an independent (self contained) running environment, which can be considered as a program or an application. A thread is a task executed in the process. A
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
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 ---------->
Android mobile guard 14-Widget widget AppWidgetProvider, Widget add widget
1. AndroidManifest. xml broadcasts the receiver keyword android. appwidget. action. APPWIDGET_UPDATE based on the form widget.Search for android: resource = "@ xml/process_
Android5.0 development examples Book Reading Notes (3) and android5.0 examples
(2) User Interaction
2.14 forward touch events
1. TouchDelegate is suitable for simple touch forwarding. It specifies any rectangular area to forward touch events to a
Shortcut Keys for Mac Android Studio
Optional-> option | alt Shift> shift Allow-> control Commands> command Instances-> esc Too many connections →
CodeAlt + F7: Find usage
Alt + command + L: format the code alt + control + O: optimize import (Remove
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