Android技术

来源:互联网 发布:2017网络红歌都有什么 编辑:程序博客网 时间:2024/05/19 08:40

Android 开源项目分类汇总 github.com/Trinea/android-open-project

Dagger

http://square.github.io/dagger/#using


Event Bus


音频编码 aac-enc

参考:http://blog.csdn.net/yegongheng/article/details/40624267


android-resource-remover
根据lint的提示删除项目中无用的资源,减少包的大小
项目地址:https://github.com/KeepSafe/android-resource-remover

umeng-muti-channel-build-tool
渠道打包工具
项目地址:https://github.com/umeng/umeng-muti-channel-build-tool
另可参见Google的构建系统Gradle:http://tools.android.com/tech-docs/new-build-system/user-guide

jsonschema2pojo
根据Json内容生成java对象,支持jackjson和gson
项目地址:https://github.com/joelittlejohn/jsonschema2pojo
在线演示:http://www.jsonschema2pojo.org/

9-Patch-Resizer
自动生成 png 及点 9 图片的不同分辨率版本
项目地址:https://github.com/redwarp/9-Patch-Resizer


appiconsizes
用于生成各个分辨率的图片
项目地址:http://www.appiconsizes.com/


Android Drawable Factory
用于生成各个分辨率的图片
项目地址:https://github.com/tizionario/AndroidDrawableFactory


SmartAppUpdates
Android App 增量升级,包含前后端方案、Demo、以及 so 库,可用于商店或大体积 App 差分升级
项目地址:https://github.com/cundong/SmartAppUpdates


Uninstall_Statics
Android应用自身被卸载监听及打开浏览器等反馈功能实现
项目地址:https://github.com/sevenler/Uninstall_Statics
文档介绍:http://www.cnblogs.com/zealotrouge/p/3157126.html http://www.cnblogs.com/zealotrouge/p/3159772.html


Android heart rate monitor
Android心跳检测
项目地址:https://github.com/phishman3579/android-heart-rate-monitor


libpng for Android
PNG图片的jni库,支持几乎png的所有特性
项目地址:https://github.com/julienr/libpng-android
文档介绍:http://www.libpng.org/pub/png/libpng.html


RoboSpice
Android异步网络请求工具,支持缓存、REST等等
项目地址:https://github.com/stephanenicolas/robospice
Demo地址:https://github.com/stephanenicolas/RoboDemo/downloads


分组控件 StickyListHeaders

https://github.com/emilsjolander/StickyListHeaders



2015-10-06


android图片等比例缩放 填充屏幕 http://blog.csdn.net/x605940745/article/details/32325793


android bitmap compress(图片压缩)http://blog.csdn.net/wuhongqi0012/article/details/22035585


ActionBar左侧有空白 http://blog.csdn.net/ysh06201418/article/details/46373001




style="@style/toolbarImageBtnStyle"


android photo
Android-Ultra-Photo-Selector https://github.com/AizazAZ/Android-Ultra-Photo-Selector
https://github.com/rtsbtx/PhotoPicker



svn
http://www.it165.net/pro/html/201404/11412.html


netstat -aon|findstr "5037"  //查看占用5037端口的占用者  
tasklist|find "3872"  //查看服务进程号  



PinnedHeaderExpandableListView
首先它是一个 ExpandableListView,但是它的头部可以固定,其次,在它的上面还有一个头部可以来回伸缩
项目地址:https://github.com/singwhatiwanna/PinnedHeaderExpandableListView




Side-Menu.Android
分类侧滑菜单,Yalantis 出品。
项目地址:https://github.com/Yalantis/Side-Menu.Android


LDrawer
Material Design 形式的展开折叠 Icon
项目地址:https://github.com/ikimuhendis/LDrawer


Context-Menu.Android
可以方便快速集成漂亮带有动画效果的上下文菜单,Yalantis出品。
项目地址:https://github.com/Yalantis/Context-Menu.Android


MaterialDrawer
Material Design 风格的导航抽屉,提供简便且强大的定制功能
项目地址:https://github.com/mikepenz/MaterialDrawer


Droppy
支持多种样式的下拉菜单
项目地址:https://github.com/shehabic/Droppy


android-gif-drawable
支持 gif 显示的 view,用 jni 实现的,编译生成 so 库后直接 xml 定义 view 即可,而且本身不依赖于其他开源项目所以相对下面的 ImageViewEx 简单的多
项目地址:https://github.com/koral--/android-gif-drawable


支持双击或双指缩放的 ImageView,在 ViewPager 等 Scrolling view 中正常使用,相比上面的 AndroidTouchGallery,不仅支持 ViewPager,同时支持单个 ImageView
项目地址:https://github.com/chrisbanes/PhotoView



Android程序Crash时的异常上报 http://blog.csdn.net/singwhatiwanna/article/details/17289479
listview所带来的滑动冲突 http://blog.csdn.net/singwhatiwanna/article/details/8863232



Android 嵌套滑动机制(NestedScrolling)http://segmentfault.com/a/1190000002873657
CoordinatorLayout
Android L中十大漂亮的细节设计 http://www.weand.com/news/2014-07-22/Beautiful_Android_L_in_the_top_ten_beautiful_design_details_589960.shtml
Android的材料设计兼容库(Design Support Library)http://www.jcodecraeer.com/a/anzhuokaifa/developer/2015/0531/2958.html?mType=Group
https://github.com/chrisbanes/cheesesquare 修改后的项目:http://download.csdn.net/detail/wyyl1/9159551
Android5.0+(CoordinatorLayout) http://my.oschina.net/kooeasy/blog/484593


TabLayout
Collapsing ToolbarLayout


Dexposed:Android平台免Root无侵入AOP框架 https://github.com/alibaba/dexposed


当页面数量比较大的时候,建议使用 FragmentStatePagerAdapter http://blog.csdn.net/kaiwii/article/details/7823613

Android RecyclerView 使用完全解析 体验艺术般的控件 http://blog.csdn.net/lmj623565791/article/details/45059587

Android 自定义RecyclerView 实现真正的Gallery效果 http://blog.csdn.net/lmj623565791/article/details/38173061


Android中Drawable分类汇总详解  http://blog.csdn.net/ouyang_peng/article/details/8800743


热心网友提供的资料

Android大神 http://www.gogeeks.cn/job/10/安卓开发

Android的 学习资料分享 http://blog.csdn.net/zq13561411965/article/details/47406811

做一个优秀的Android App 应该考虑到的方面 http://blog.csdn.net/zq13561411965/article/details/47708921


Android 自定义控件 优雅实现元素间的分割线 (支持3.0以下)http://blog.csdn.net/lmj623565791/article/details/42407923

Fresco 图片处理,支持gif,中文文档 http://fresco-cn.org/docs/index.html    github:https://github.com/facebook/fresco


ViewPager 详解(共5篇文章) http://blog.csdn.net/harvic880925/article/details/38453725

直接拿来用!十大Material Design开源项目 http://www.csdn.net/article/2014-11-21/2822753-material-design-libs/1


Android 获取设备各种信息以及其它 http://blog.csdn.net/ainiyidiandian/article/details/6340111
Android 唯一识别码 http://blog.csdn.net/billpig/article/details/6728573
获取Android设备唯一标识码 http://www.cnblogs.com/lvcha/p/3721091.html
Android本地数据存储:Internal Storage安全风险浅析 http://jaq.alibaba.com/blog.htm?id=58
Android-完全退出当前应用程序的四种方法 http://www.open-open.com/home/space-37924-do-blog-id-5805.html
Android's design does not favor exiting an application by choice, but rather manages it by the OS. You can bring up the Home application by its corresponding Intent:
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_HOME);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
来源:http://stackoverflow.com/questions/3226495/android-exit-application-code


Glide
Google推荐的图片加载库Glide介绍 http://blog.csdn.net/theone10211024/article/details/45557859
Glide 是一个 android 平台上的快速和高效的开源的多媒体资源管理库,提供 多媒体文件的压缩,内存和磁盘缓存, 资源池的接口。
它可以最大性能地在 Android 设备上读取、解码、显示图片和视频。Glide 可以将远程的图片、视频、动画图片等缓存在设备本地便于提高用户浏览图片的流畅体验。
项目地址:https://github.com/bumptech/glide
特点:
(1) GIF 动画的解码
(2) 本地视频剧照的解码
(3) 支持缩略图
(4) Activity 生命周期的集成
(5) 转码的支持
(6) 动画的支持
(7) OkHttp 和 Volley 的支持
Glide播放GIF时有黑色背景,位置错乱的解决方法:(https://github.com/bumptech/glide/issues/423)http://www.licheedev.com/2015/05/16/imageview-scale-type/
public static void playGif(Context context, ImageView view){        Glide.with(context)                .load(R.drawable.ic_live)                .asGif()                .override(83, 23) // 不指定宽高有时会很大                .diskCacheStrategy(DiskCacheStrategy.SOURCE)//                .placeholder(R.drawable.ic_live)                .into(view);    }


Android清除本地数据缓存代码 http://www.cnblogs.com/rayray/p/3413673.html

Activity的四种launchMode http://blog.csdn.net/liuhe688/article/details/6754323/

       <activity            android:name=".activity.launcher.LauncherActivity"            android:launchMode="singleTask"            android:label="@string/app_name" >            <intent-filter>                <action android:name="android.intent.action.MAIN" />                <category android:name="android.intent.category.LAUNCHER" />            </intent-filter>        </activity>

Glide 源码解析 http://blog.csdn.net/junjianzhang/article/details/49514465

Recyclerview 的加强控件 UltimateRecyclerview https://github.com/cymcsg/UltimateRecyclerView


Android开源项目分类汇总 http://blog.csdn.net/zmissm/article/details/38372115 
AndroidAnnotations(Code Diet) 
android快速开发框架 
项目地址:https://github.com/excilys/androidannotations 
文档介绍:https://github.com/excilys/androidannotations/wiki 
官方网站:http://androidannotations.org/ 
特点:(1) 依赖注入:包括view,extras,系统服务,资源等等 
(2) 简单的线程模型,通过annotation表示方法运行在ui线程还是后台线程 
(3) 事件绑定:通过annotation表示view的响应事件,不用在写内部类 
(4) REST客户端:定义客户端接口,自动生成REST请求的实现 
(5) 没有你想象的复杂:AndroidAnnotations只是在在编译时生成相应子类 
(6) 不影响应用性能:仅50kb,在编译时完成,不会对运行时有性能影响。 
PS:与roboguice的比较:roboguice通过运行时读取annotations进行反射,所以可能影响应用性能,而AndroidAnnotations在编译时生成子类,所以对性能没有影响

Android Visualizer 
从Android MediaPlayer获得音频,然后像iTunes及WinAmp一样展示音轨 
项目地址:https://github.com/felixpalmer/android-visualizer

Android heart rate monitor 
Android心跳检测 
项目地址:https://github.com/phishman3579/android-heart-rate-monitor

Bolts 
Android的异步编程模式 
项目地址:https://github.com/BoltsFramework/Bolts-Android/ 
与AsyncTask比较:(1) 使用的是无大小限制的线程池 
(2) 任务可组合可级联,防止了代码耦合

Uninstall_Statics 
Android应用自身被卸载监听及打开浏览器等反馈功能实现 
项目地址:https://github.com/sevenler/Uninstall_Statics 
文档介绍:http://www.cnblogs.com/zealotrouge/p/3157126.html 
http://www.cnblogs.com/zealotrouge/p/3159772.html

FreeFlow 
布局引擎,更简单的创建自定义布局,并且当数据和布局改变时更美观的过渡动画 
项目地址:https://github.com/Comcast/FreeFlow 
Demo地址:https://github.com/Comcast/FreeFlow/releases

Android 通知栏Notification的整合 全面学习 (一个DEMO让你完全了解它)http://blog.csdn.net/vipzjyno1/article/details/25248021 
Intent和PendingIntent的区别 http://blog.csdn.net/zeng622peng/article/details/6180190 

Android SpannableString实现富文本展现 http://sinye.iteye.com/blog/2103421


https://github.com/lucasr/twoway-view/ 
动态设置图片评分屏幕宽度 
那还不如用weight 
网格布局管理器里有每一行显示几个的方法 
http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0722/3214.html

MPAndroidChart https://github.com/PhilJay/MPAndroidChart

轮播图 ConvenientBanner https://github.com/saiwu-bigkoo/Android-ConvenientBanner 
SmartTabLayout https://github.com/ogaclejapan/SmartTabLayout 
RecyclerViewPager https://github.com/lsjwzh/RecyclerViewPager 
PhotoView https://github.com/bm-x/PhotoView

RippleEffect https://github.com/traex/RippleEffect 点击圆圈特效 
MultiActionTextView 可以分别给 TextView 中的某几个字设置点击事件的 TextViewhttps://github.com/ajaysahani/MultiActionTextView 
ExpandableTextView 可展开和收缩内容的 TextView https://github.com/Manabu-GT/ExpandableTextView

shadow-layout Android Shadow Layout 圆形按钮 解决了CardView:1.不能画圆的阴影。2.设置阴影的位置。3.设置阴影颜色。 项目地址:https://github.com/dmytrodanylyk/shadow-layout

Android 嵌套滑动机制(NestedScrolling)http://segmentfault.com/a/1190000002873657 
CoordinatorLayout高级用法-自定义Behavior http://www.tuicode.com/article/566e54fd0ef65cdb5e67e095


ExoPlayer 开发者指导 http://www.jianshu.com/p/3251a5189f56

android-player(动画特效) https://github.com/geftimov/android-player

VLC视频播放器 https://www.videolan.org/vlc/index.zh.html 
https://github.com/mstorsjo/vlc-android

Vitamio 
https://www.vitamio.org/ 
源码:https://github.com/yixia/VitamioBundle 
简单的demo https://github.com/CharonChui/Vitamio

https://github.com/master255/ImmortalPlayer

NoHttp

https://github.com/yanzhenjie/NoHttp

NoHttp是一个开源的Android网络框架[1]  ,代码托管在Github。 支持并发,支持异步/同步请求,自动维持Cookie,大文件/多文件上传,文件下载。支持304缓存,302/303重定向,支持通过代理请求。

1 0