編輯:關於Android編程
為了簡化 Android 的開發力度,Google 決定將重點建設 Android Studio 工具。Google 會在今年年底停止支持其他集成開發環境,比如 Eclipse。
Android Studio 是第一個官方的 Android 開發環境。其他工具,例如 Eclipse,在 Android Studio 發布之前已經有了大規模的使用。為了幫助開發者轉向 Android Studio,谷歌已經寫出一套遷移指南。
具體內容可到http://android-studio.org/查看
本文為其中常用功能介紹篇:








buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
}
}
allprojects {
repositories {
jcenter()
}
}maven {
url http://xx.xxx.xxx/xxx
}http://maven.oschina.net/content/groups/public/http://maven.oschina.net/content/repositories/thirdparty/include ':app'include ':app2'
project(':app2').projectDir = new File('path/to/app2')apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion 21.1.2
defaultConfig {
applicationId cc.bb.aa.myapplication
minSdkVersion 10
targetSdkVersion 21
versionCode 1
versionName 1.0
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'
}



Android開發之搜芽項目的圖片加載問題(使用Volley進行網絡圖片加載)
搜芽的移動開發這幾天進度相對來說非常的快。但是美中不足的就是網絡圖片的加載問題。我有兩套方案: 1)沿用迅雷動漫的圖片加載。迅雷動漫也是用的一個開源的庫。但是不知道是我使
側拉新聞菜單
功能描述菜單分左右兩側,整體可以滑動,效果如下功能分析widthMeasureSpec:期望值組成: 32位的010101010101011010101組成 頭2位:代表
Android Service全面解析
Service概念及用途A service is an application component that can perform long-running opera
(Android 應用之路) MPAndroidChart~PieChart
簡介MPAndroidChart是PhilJay大神給Android開發者帶來的福利。MPAndroidChart是一個功能強大並且使用靈活的圖表開源庫,支持Androi