整理一些比较好的Android开发教程

Oct 7 2014
技术

这些都是我在学习Android开发过程中觉得比较好的教程和博客,在这里整理一下,方便自己也方便大家学习使用。

欢迎补充~

##介绍LoaderManager的使用

  1. Life before Loaders(part 1)
    http://www.androiddesignpatterns.com/2012/07/loaders-and-loadermanager-background.html

  2. Understanding the LoaderManager(part 2)
    http://www.androiddesignpatterns.com/2012/07/understanding-loadermanager.html

  3. Implementing Loaders(part 3)
    http://www.androiddesignpatterns.com/2012/08/implementing-loaders.html

  4. Tutorial: AppListLoader(part 4)
    http://www.androiddesignpatterns.com/2012/09/tutorial-loader-loadermanager.html
    https://github.com/alexjlockwood/AppListLoader

  5. How to use Loaders in Android
    http://www.grokkingandroid.com/using-loaders-in-android/

介绍Volley的使用

  1. Android库Volley的使用介绍
    http://bxbxbai.github.io/2014/09/14/android-working-with-volley/

  2. Android Volley完全解析(博主是Android牛人,博客质量很高!)
    http://blog.csdn.net/guolin_blog/article/details/17482095 (Android Volley完全解析(一),初识Volley的基本用法)
    http://blog.csdn.net/guolin_blog/article/details/17482165
    http://blog.csdn.net/guolin_blog/article/details/17612763
    http://blog.csdn.net/guolin_blog/article/details/17656437

  3. Android 官方的Volley使用介绍(看完基本就知道怎么用了)
    3.1 Transmitting Network Data using Volley
    http://developer.android.com/training/volley/index.html
    3.2 Sending a Simple Request(发送一个简单的request)
    http://developer.android.com/training/volley/simple.html
    3.3 Setting up a RequestQueue(创建一个请求队列)
    http://developer.android.com/training/volley/requestqueue.html
    3.4 Making a Standard Request(使用volley自带的request类)
    http://developer.android.com/training/volley/request.html
    3.5 Implementing a Custom Request(创建你自己的request类这里的栗子就是创建一个GsonRequest)
    http://developer.android.com/training/volley/request-custom.html
    3.6 Google I/O 2013,Volley:Fast, Networking in Android(Google IO大会上的演讲,自备梯子)
    https://www.youtube.com/watch?v=yhv8l9F44qo
    3.7 使用Volley的一个demo 工程
    https://github.com/bxbxbai/FeedListViewDemo

Android开发实例

  1. Android Working with ActionBar(讲解Actionbar的使用)
    http://www.androidhive.info/2013/11/android-working-with-action-bar/

  2. 创建一个类似Hello SMS的菜单
    http://blog.robinchutaux.com/blog/how-to-create-a-menu-like-hello-sms/

  3. 一个开源的知乎专栏App
    https://github.com/bxbxbai/ZhuanLan

Android 开源项目集合

  1. 最流行的Android组件大全(包括工具和教程,UI组件,类库,游戏引擎和H5应用)
    http://colobu.com/2014/08/15/android-components-collection/
    http://blog.daimajia.com/android-library-collection/

Android 应用性能优化(包含Android 官方文档)

  1. Managing Your App’s Memory
    http://developer.android.com/training/articles/memory.html

  2. Performance Tips
    http://developer.android.com/training/articles/perf-tips.html

  3. Improving Layout Performance
    http://developer.android.com/training/improving-layouts/index.html

  4. Sending Operations to Multiple Threads
    http://developer.android.com/training/multiple-threads/index.html

  5. Performance Tuning On Android(作者详细介绍了各种分析Android性能的方法以及优化策略,非常好的一篇博客)
    http://blog.venmo.com/hf2t3h4x98p5e13z82pl8j66ngcmry/performance-tuning-on-android

  6. Using Android TraceView
    http://blog.cindypotvin.com/using-android-traceview-in-eclipse/

  7. 分析你的App内存使用情况
    https://developer.android.com/tools/debugging/debugging-memory.html

  8. Android Performance Case Study
    http://www.curious-creature.org/2012/12/01/android-performance-case-study/

Android ContentProvider介绍

  1. Content Provider Basics
    http://www.grokkingandroid.com/android-tutorial-content-provider-basics/

  2. Using Content Providers
    http://www.grokkingandroid.com/android-tutorial-using-content-providers/

  3. Writing your own Content Provider
    http://www.grokkingandroid.com/android-tutorial-writing-your-own-content-provider/

  4. Better Performance with ContentProviderOperation
    http://www.grokkingandroid.com/better-performance-with-contentprovideroperation/

Android 开发经验

CodePath Android: http://guides.codepath.com/android

  1. Working with the TextView
    http://guides.codepath.com/android/Working-with-the-TextView

  2. Working with the ImageView
    http://guides.codepath.com/android/Working-with-the-ImageView

  3. Endless Scrolling with AdapterViews(可以无限加载更多的AdapterView,很巧妙的继承了OnScrollListener)
    http://guides.codepath.com/android/Endless-Scrolling-with-AdapterViews

  4. Android事件传递机制(有栗子,有分析)
    http://www.infoq.com/cn/articles/android-event-delivery-mechanism

  5. Android Tips Round-Up, Part 5(Android开发技巧)
    http://blog.danlew.net/2014/05/28/android-tips-round-up-part-5/

  6. Activity和Fragment的生命周期图
    http://bxbxbai.github.io/img/complete_android_fragment_lifecycle.png

  7. 使用GestureDetector(ListView中左右滑动显示菜单也是使用GestureDetector)
    http://ryanharter.com/blog/2014/10/08/using-gestures/ (博文中有图片方法缩小的栗子,可能需要梯子)
    https://github.com/rharter/android-gesture-detectors (github上使用GestureDetector的一个项目)

Android开发在线工具

  1. 在线创建Holo主题(Android Holo Colors Generator)
    http://android-holo-colors.com/

  2. 在线创建ActionBar样式(Android Action Bar Style Generator)
    http://jgilfelt.github.io/android-actionbarstylegenerator/

  3. 在线创建Button样式(Android Button Maker)
    http://angrytools.com/android/button/

  4. SQLite数据加密
    https://www.zetetic.net/sqlcipher/

  5. 在线创建Icon资源(包括:Launch Icon,Actionbar和tab icon,Notification Icon等等)
    http://romannurik.github.io/AndroidAssetStudio/index.html

  6. Device Frame Generator
    http://f2prateek.com/android-device-frame-generator/

  7. Android Simple Nine-patch Generator
    http://romannurik.github.io/AndroidAssetStudio/nine-patches.html

  8. AndroidDrawableFactory
    https://github.com/tizionario/AndroidDrawableFactory

  9. Android Layout Resource Binder(根据xml布局文件,生成findViewById 的Java代码)
    http://android.lineten.net/layout.php

  10. Android Fragment Code Generator
    http://techisfun.github.io/pages/android-fragment-generator/

  11. Android ContentProvider Generator
    https://github.com/BoD/android-contentprovider-generator

  12. SelectorChapek for Android(快速生成Select文件)
    https://github.com/inmite/android-selector-chapek

  13. Android开发工具整理
    https://github.com/inferjay/AndroidDevTools
    http://www.androiddevtools.cn/

Android Design

  1. 台湾人翻译的Material Design文档(非常好!)
    http://wcc723.gitbooks.io/google_design_translate/content/material-design-introduction.html

  2. Android Design 非官方文档(中文翻译)
    http://adchs.github.io/

  3. Google 开源的Material Design Icons
    http://google.github.io/material-design-icons/
    https://github.com/google/material-design-icons

  4. Android Desgin规范
    http://www.androiddesign.tips/
    http://petrnohejl.github.io/Android-Cheatsheet-For-Graphic-Designers/

  5. Material Design Center:
    https://github.com/lightSky/MaterialDesignCenter

很不错的Android开源库

  1. 第一必须是Volley,上面已经列出链接了

  2. Android Asynchronous Http Client(又是一个异步http通信库,也是非常简单好用)
    http://loopj.com/android-async-http/

  3. Butter Knife(你再也不需要老是调用findViewById了!!!功能超级强大!!)
    http://jakewharton.github.io/butterknife/

  4. Android Smart Image View(可以从Url或者联系人地址簿中加载图片,图片会自动缓存到内存和SD卡上)
    http://loopj.com/android-smart-image-view/

  5. Square公司的Android开源项目
    http://square.github.io/#android

  6. ActiveAndroid项目(SQLite数据的ORM框架)
    https://github.com/pardom/ActiveAndroid/wiki/Getting-started
    https://github.com/pardom/ActiveAndroid