The general printing method of Java is system. Out. println (""); the result is also displayed on the IDE console. HoweverAndroidPlatform, system. Out. println (""); you cannot see the printed message. Because the printing method provided by Android
Create the first AndroidProgram, Helloandroid, we will first see these files:
Here is the program: androidbooktestbutton
Next, let's talk about it. After the introduction, these are my own understandings. If any hero finds that I have made a
Step 1: first in the main. build the dialing interface in the XML file (we recommend that you use a tool to drag it, because it is faster and you do not need to define something in other files) Main. XML Step 2: strings under values. XML file
Android Startup Mode
The specific parameters are not explained in detail, just for a record.
First nandflash Startup Mode
Set the bootargs and bootcmd parameters:
Set bootargs console = ttysac2, 115200 noinitrd root =/dev/mtdblock3 init =/init
Sapan Diwakar has been engaged in Android development for the past few years. At the same time, he has accumulated some practical Android Application development resources, hoping to help you.
1. AndroidAnnotations Android annotations is an
1. Make preparations.
Linux --- pear OS 6,
JDK---JDK1.7.0,
Eclipse --- adt-bundle-linux-x86_64-20130729.
2.
Install linux
Here I chose pear OS 6,
Pear OS 6 is a Ubuntu-based Linux system developed by French.
Because of the appearance, I chose this
1. Use proguard to prevent DecompilationA lot of programs are decompiled, And it is basically impossible to understand them. It is common to use proguard to prevent the decompilation. I won't dare to release the program. The average person tells you
1. Environment Setup 1. Download the android SDK and adt2, open eclipse, click Install new software under help, and click Add to install ADT on the pop-up interface, you can create a path with the location ADT (note: the path should not contain a
1. Introduction to the android graphic frameworkThe android graphic framework can be divided into two parts: the upper-layer view system used for application graphic UI display and the bottom-layer graphics driver used for graphic rendering.
The
Reprinted from: http://developer.51cto.com/art/201001/180265.htm
Since the Android mobile phone operating system is one of the most attractive advantages, it is an open-source operating system, and its writing method is simple and flexible, it can
1. Introduction to the android IPC Mechanism
1. Introduction to Android processes/threads
In the Android system, an application usually contains multiple components (such as activity and service). These components can be in the same process or in
package com.example.bounce;import android.content.Context;import android.util.AttributeSet;import android.util.DisplayMetrics;import android.widget.ListView; public class BounceListView extends ListView{ private static final int
State_pressed, state_checked, state_pressed, state_selected, state_focused, state_enabled, and other States:
Android: state_pressed
If it is true, the image is displayed when it is clicked. If it is false, it is displayed by default when it is not
Httpurlconnection is a standard Java class.
Httpclient is a sub-project under Apache Jakarta common. It is used to provide an efficient, up-to-date, and function-rich client programming toolkit that supports http protocol. It also supports the
From: http://www.iteye.com/topic/689272
Ratingbar is a good component for us to display scores in the system. However, we generally want to make ratingbar better decorated and use better-looking images to replace the default images of the system,
Provide important geographic location information services
1 Location Manager Management Service2 Location provider provides the data content provider
Method 1: GPS features: high precision, high power consumption, no traffic permissions Method 2:
1. If you want to get the data returned after the activity is closed, you must use the startactivityforresult (intent, int requestcode) method provided by the system to open the new activity, after the new activity is disabled, data is returned to
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