First, install the Java JDK
1. Installation software
1.jdk_7.0.70.10_windows_x64_xiazaiba.rar
Download Address: http://www.oracle.com/technetwork/java/javase/downloads/index.html
2, set up
(1), "Right-click My Computer"--"properties"--"Advanced
Android platform, you can use local resources, you can also use system resources;
Using the static R class to access the resource, the R class contains a static subclass in which each subclass of the R class represents its related resources as a
Fragment (fragmentation) splits the activity into reusable components that are fully individually encapsulated, each containing a separate lifecycle and UI layout.
Fragment is a stand-alone module that can add \ delete \ Replace fragment in the
Intent can use Sendbroadcast () to broadcast events between application components;
Using the Broadreceiver class to monitor and respond to broadcast Intent requires registration (register) and filter (Intent-filter);
1. Create broadcast Intent
Project Source Download
Https://github.com/Wang-Jun-Chao/AndroidProjects
HttpClient
Send a GET request
Create a Client Object
HttpClient = defaulthttpclient ();
Create a GET Request object
=
Send a GET request, establish a connection,
Google is about to officially release the Android 4.4 KitKat. As far as we know, some new user interfaces suggest some new changes to the operating system, such as redesigned phone applications, such as the cancellation of Google services such as
The Android distribution model is destined to cause fragmentation, and vendors can tailor their own devices to their niche and carrier's specific needs, which results in a messy resolution and version distribution of the Android platform. Philip
Common properties for a TextView control
Property name
Describe
Android:autolink
Sets whether the text appears as a clickable link when the text is a URL link/email/phone number/map. Optional value
Recently learned webservice, feel the use of this excuse to develop the site's Android client convenience and use a tool class, here to remember.
Publicstaticfinal string webservicenamespace = ""//Address publicstaticfinal string webaddress =
Android and androidstudioZxing: Zxing is an open source code library for 1D/2D bar code Image Processing in multiple formats implemented in java. It contains ports connected to other languages. You can use the built-in camera of your mobile phone to
An error occurred while loading the network image of Picasso. The message "decodestream" returns null,
Recently, I encountered a problem where the image loading framework used by the project is Picasso and the network loading framework is okhttp.
[Android Development Notes] adds a border style effect to the background image of the Button,
The current project encountered a problem. Only one status is provided for the image, but two statuses are required. The other is the image background and
Explore new DatePicker usage and explore datepicker
DatePicker is rarely used. DatePicker is required for the project. when the project is used, it finds some changes with the previous ones. Repeat the usage of DatePicker.
First:
First, the usage
Android activity startup mode, androidactivity
There are four startup modes for an activity: standard, singleTop, singleTask, and singleInstance. You can select the startup mode by specifying the android: launchMode attribute for the tag in
A summary of how to hide the title bar of an Android project.
1. add such a line of code to the code
This. requestWindowFeature (Window. FEATURE_NO_TITLE );
Note: This code must be written before setContentView (). Otherwise, an error is returned.
The "ninja" function in Kotlin-the ability to understand generics (KAD 12), kotlinkad
By Antonio Leiva
Time: Feb 8, 2017
Link: https://antonioleiva.com/generic-functions-kotlin/
The combination of some features of Kotlin and wildcard functions
Android bitmap and optimization, androidbitmap
Memory Management is an eternal topic!Memory overflow: The allocated memory is insufficient to put down the data entry sequence. If the input data in a domain exceeds its requirements, it will cause a
Scale down an image to another background image ., A background image
/*** Scale the bitmap image to the specified size */public static Bitmap resizeImage (Bitmap bitmap, int w, int h) {Bitmap BitmapOrg = bitmap; int width = BitmapOrg.
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