Recently started to do the development of Android, Android development environment for the first time configured, or quite complex, the following is my entire configuration process.
First step: Download and install the JDK
Download Address:
First, Aidl introduction
Aidl:android Interface definition Language, Interface Definition language, as the name implies, is the language that defines the interface, that is, the interface can be defined using Aidl;
Aidl is simply a method of
Http://satyan.github.io/sugar/index.html
It is very inconvenient to write code when the database is manipulated by some APIs provided by the Android native.
By sugar This jar package, you can convert the tables of the database into objects, and
in the future will be more commonly used in the collection of small functions, improve the efficiency of development later, good memory star than rotten pen, good writing blog, good study.
1. Verify EditText
/**
*
* @param edtext *
I believe many people are familiar with the volatile keyword and unfamiliar, familiar with the name is very familiar with, unfamiliar with his principles and usage is very unfamiliar, in recent days through a large number of information and books,
First, Introduction
Ormlite is a database framework, which allows us to quickly implement database operations, avoid frequent handwriting sql, improve our development efficiency, reduce the chance of error.First you can go to its official website to
If you want to use the Internet for your Android, you must have access to the Internet in Androidmanifest.xml (that is, add Code)
As shown in the following illustration:
Then it's the code that writes the page, (that is, the Activity_main.xml
What is GDB?
It is a powerful Unix developed by the GNU organization.
ProgramDebugging tool, which can be used to debug C and C ++ on Android
Code.
It can mainly do four things:
Start your
1. What is sip?
Step-by-Step sip
Ii. How to Use sip in Android?
Sipdroid, Demo: Android-SDK-Windows \ samples \ Android-9 \ sipdemo
3. Does the system support sip?
Android provides the SIP function since 2.3. The SIP-related APIs are stored in the
Src/development/tools/Eclipse/plugins/COM. Android. Ide. Eclipse. ADT/src/COM. Android/IDE/Eclipse/ADT/launch/androidlaunchcontroller. Java
There is such a piece of code:
Adtplugin. printtoconsole (launchinfo. getproject (),String. Format ("waiting
Source: csdn blog published on reading: 5243 recommendations: 5 original article link [favorites] Abstract: the text will show the author's experience in integrated development of Android + J2EE, and hope to be inspired.
A long time ago, I heard
An android. mk file is used to describe your source code to the compilation system. Specifically, this file is a small part of GNU makefile and will be parsed once or multiple times by the compilation system. You can define one or more modules in
Android debug bridge (ADB) is a versatile debugging tool for Android Developers. It is indeed named the same. It builds a bridge between the developer and the target machine.
ADB usage is very simple, as long as you read the SDK documentation about
1. Use ihardwareservice for direct control
Android1.5 previously provided this interface directly. Later, we need to do it ourselves.
Create a new Android. OS package in your project and create an ihardwareservice. aidl file. The content is as
I recently watched the playback latency problem in Android. After reading the code, I found that the latency function in the audiotrack class has the following comments:
/* Returns this track's latency in milliseconds. * This includes the
According to different sounds, music is usually divided into two parts: music and sound effects. Music can be used for background music and is in consideration of performance. If long music is stored in the memory, resource shortage may occur,
This document describes other resources in the Android system that can be defined outside the code, including:
Bool type resources:
An XML resource that defines a Boolean value.
Color resources:
XML resource that defines the color value (hexadecimal
You can use "android. intent. action. main and Android. intent. category. launcher respectively specifies the action and category for the intent filter to create an activity as the entry to a task. For example:
...
This kind of intent will display
This article translated from: http://developer.android.com/guide/topics/connectivity/bluetooth.html#Permissions
The Android platform includes support for the Bluetooth network protocol stack, which allows a bluetooth device to exchange wireless data
API Overview
Because the additional class library is an encapsulation of the Framework API, the classes supporting the USB slave mode are similar. Even if you are using this additional class library, you can also use the Android. Hardware. USB
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.