现在的位置: 首页 > 综合 > 正文

Android技术

2018年05月27日 ⁄ 综合 ⁄ 共 6664字 ⁄ 字号 评论关闭

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

抱歉!评论已关闭.