Android Tips

公羊浩气
2023-12-01

Util工具类:

http://www.jianshu.com/p/72494773aace  

http://hjxandhmr.github.io/2016/04/19/Android-Utils/  

http://www.wangchenlong.org/2016/05/18/tips/1605/181-android-tips-8/  

http://diycode.cc/topics/85  

http://blog.csdn.net/lmj623565791/article/details/38965311  

http://www.wangchenlong.org/2016/03/17/1602/analyze-app-framework/  

http://www.vmatianyu.cn/summarization-of-technical-experience.html    

http://liukun.engineer/2016/04/11/Android%E5%BC%80%E5%8F%91%E4%B8%AD%EF%BC%8C%E9%82%A3%E4%BA%9B%E8%AE%A9%E4%BD%A0%E7%9B%B8%E8%A7%81%E6%81%A8%E6%99%9A%E7%9A%84%E6%96%B9%E6%B3%95%E3%80%81%E7%B1%BB%E6%88%96%E6%8E%A5%E5%8F%A3/  

http://yuweiguocn.github.io/2016/04/13/interview-2016-big-company/  

http://mp.weixin.qq.com/s?__biz=MjM5NDkxMTgyNw==&mid=208614329&idx=1&sn=2f16eec2cd2974a5ac47328e8475a5c6&scene=4#wechat_redirect  

http://www.jianshu.com/p/e7bb97218946  

http://mp.weixin.qq.com/s?__biz=MzA4MjA0MTc4NQ==&mid=504089716&idx=4&sn=34c1dc25e3d68e19b84008eeb1ec0547#rd  

http://mp.weixin.qq.com/s?__biz=MzA4MjU5NTY0NA==&mid=404388098&idx=1&sn=8bbbba7692dca68cdda2212dec4d86c0&scene=1&srcid=0320gXPloap70ixGeYnNUaAW#wechat_redirect  

https://github.com/tangqi92/Android-Tips  

http://www.jianshu.com/p/f166d3675d65#  

 

 

app的改版设计:

http://www.jianshu.com/p/e9b1f94a4601#  

 

android机制:

http://www.jianshu.com/p/5f6d79323923#  

 

反射:

http://gold.xitu.io/post/5787a4e7d342d300589f46a5  

http://blog.csdn.net/tiefeng0606/article/details/51700866  

https://segmentfault.com/a/1190000004706888  

 

JNI / NDK:

http://www.jianshu.com/p/38859f881888  

http://mp.weixin.qq.com/s?__biz=MjM5NDkxMTgyNw==&mid=2653057617&idx=1&sn=9e71c8ceb84ee95c71f4d6f7a45e8158#wechat_redirect  

http://mp.weixin.qq.com/s?__biz=MjM5NDkxMTgyNw==&mid=2653057617&idx=2&sn=71f209aa654d2627d2c1ffaaddc980ab#wechat_redirect  

http://gityuan.com/2016/05/28/android-jni/  

http://blog.csdn.net/XSF50717/article/details/51598748  

http://www.jianshu.com/p/fa3b29a7513b  

 

apk打包流程:

http://shinelw.com/2016/04/27/android-make-apk/  

 

竞品分析工具:

http://www.jianshu.com/p/ba2d9eca47a2  

 

软引用弱引用:

http://blog.csdn.net/zhaoweixing1989/article/details/7014457  

 

断点续传:

 

http://godcoder.me/2016/04/19/%E5%A4%9A%E7%BA%BF%E7%A8%8B%E7%B3%BB%E5%88%97%E4%B9%8B%E5%AD%A6%E4%B9%A0%E5%A4%9A%E7%BA%BF%E7%A8%8B%E4%B8%8B%E8%BD%BD%E7%9A%84%E5%9F%BA%E6%9C%AC%E5%8E%9F%E7%90%86%E5%92%8C%E5%9F%BA%E6%9C%AC%E7%94%A8%E6%B3%95/  

http://godcoder.me/2016/04/20/%E5%A4%9A%E7%BA%BF%E7%A8%8B%E7%B3%BB%E5%88%97%E4%B9%8B%E5%A4%9A%E7%BA%BF%E7%A8%8B%E4%B8%8B%E8%BD%BD%E4%B9%8B%E6%96%AD%E7%82%B9%E7%BB%AD%E4%BC%A0%EF%BC%882%EF%BC%89/  

 

targetSdkVersion升到26后要特别注意的地方:

https://www.jianshu.com/p/55b817530fa3  

https://stackoverflow.com/questions/46445265/android-8-0-java-lang-illegalstateexception-not-allowed-to-start-service-inten

https://stackoverflow.com/questions/44425584/context-startforegroundservice-did-not-then-call-service-startforeground  

 

------性能优化------

https://juejin.im/post/5b50b017f265da0f7b2f649c  

https://juejin.im/post/5ad2bfaf51882555867fdd09  

https://mp.weixin.qq.com/s/UQj4_SdoLW93SmxPszZPdA  

http://blog.tingyun.com/web/article/detail/155  

http://blog.tingyun.com/web/article/detail/155  

https://blog.csdn.net/guolin_blog/article/details/42238627  

https://blog.csdn.net/guolin_blog/article/details/42238633  

https://blog.csdn.net/chniccs/article/details/51373623  

https://blog.csdn.net/guolin_blog/article/details/9316683  

https://blog.csdn.net/u014539850/article/details/51336879  

https://mp.weixin.qq.com/s?__biz=MzAxMzYyNDkyNA==&mid=2651332083&idx=1&sn=d5a1b24736d6f14ff24dfecf15e397a9&scene=1&srcid=0531UiGMIhPVHXbfuOF10C33&key=f5c31ae61525f82e7df34c801754c9c4601fc142407e7f991636b54bcbce7757c286caee60afc227fad2d088ddf22675&ascene=0&uin=MjAyNzY1NTU%3D&devicetype=iMac+MacBookPro12%2C1+OSX+OSX+10.11.3+build(15D21)&version=11020201&pass_ticket=Xmr7XsJtNP7ulhAZo0ZTWgDyCBZX%2F8CrhXicPX2qtMo%3D  

 

启动白屏问题:

http://blog.csdn.net/guolin_blog/article/details/51019856  

http://blog.csdn.net/yanzhenjie1003/article/details/52201896  

https://www.bignerdranch.com/blog/splash-screens-the-right-way/  

http://blog.lmj.wiki/2016/08/29/app-opti/app_opt_app_startup2/  

 

图片加载缓存原理:

http://blog.csdn.net/guolin_blog/article/details/9526203 

http://blog.csdn.net/guolin_blog/article/details/28863651 

http://blog.csdn.net/guolin_blog/article/details/34093441

 

drawable释放:

http://www.dewen.net.cn/q/3166  

http://blog.csdn.net/lizhenmingdirk/article/details/46378905  

 

viewpager滑动卡顿:

https://stackoverflow.com/questions/10073214/viewpager-setoffscreenpagelimit0-doesnt-work-as-expected

http://blog.csdn.net/z437955114/article/details/48630621  

http://www.jianshu.com/p/311c7ffdb85b  

 

 

adapter is modified by two different thread:

https://stackoverflow.com/questions/3132021/android-listview-illegalstateexception-the-content-of-the-adapter-has-changed  

http://bbs.51cto.com/thread-1132843-1-1.html  

adapter数据更新和dapter.notifyDataSetChanged()要放在一起执行,最好放在一个handler里
当adpater数据发生了改变,马上执行dapter.notifyDataSetChanged(),

当操作list数据时,要拷贝一个clone备份出来,操作list,最后在ui线程里把这个clone list赋值给原list,紧接着调用adapter的notify。

 

------基础------

android开发目录:

http://www.bkjia.com/Androidjc/887665.html  

http://www.cnblogs.com/mengdd/p/3742623.html  

http://blog.csdn.net/a910626/article/details/51470866

 

java对象引用基础:

https://www.zhihu.com/question/21468505  

 


生成并添加aar/jar到自己的工程:

https://github.com/ZQiang94/3rdLib2Depend  


How to shrink code - 65k method limit in dex:

http://stackoverflow.com/questions/15471772/how-to-shrink-code-65k-method-limit-in-dex  


推送push的方式:

https://juejin.im/post/58db17b961ff4b006ce2ebc9  

http://www.cnblogs.com/manuosex/p/3660727.html  

http://blog.csdn.net/shagoo/article/details/7899466  

http://www.cnblogs.com/zhwl/p/3370426.html  

http://ifeve.com/google-guava/  

 


AlarmManager(轮询模拟push/定时任务): 

http://developer.android.com/reference/android/app/AlarmManager.html  

http://jingyan.baidu.com/article/91f5db1bd478e71c7e05e375.html  (api文档的翻译)   

 

http://blog.csdn.net/ryantang03/article/details/9317499  

http://blog.csdn.net/Coder80/article/details/40742877 

http://mp.weixin.qq.com/s?__biz=MjM5NDkxMTgyNw==&mid=2653057518&idx=1&sn=5ec26db7c8a3e887845935eae77113fd&scene=4#wechat_redirect  

 

http://blog.csdn.net/arui319/article/details/7040980     

http://my.oschina.net/mstian/blog/185391?fromerr=3uXi2Aov  

http://www.cnblogs.com/zyw-205520/p/4040923.html  

http://blog.csdn.net/qq_23547831/article/details/51719389  

http://blog.csdn.net/qq_23547831/article/details/51690047  

http://www.jianshu.com/p/1f919c6eeff6  


 

Calendar:

http://developer.android.com/reference/java/util/Calendar.html    

http://blog.csdn.net/joyous/article/details/9630893   

http://blog.csdn.net/zerogotosum/article/details/1671314   

http://blog.csdn.net/yuanbohx/article/details/7161131  

http://zhidao.baidu.com/link?url=LgN7JOqqv9oq_WH5AUIvjXmjI8Evn-Bcs4douKFGAl80K5yGJg6UEin4uFwwz6B5CSN5VohW_PKxR2OLEdZGi_   

 

Timer和TimerTask设置定时器的用法

http://blog.csdn.net/jincf2011/article/details/6603916

http://blog.csdn.net/liuwise/article/details/7616262

http://blog.csdn.net/zuolongsnail/article/details/8168689  

 

修改包名:

http://likfe.com/2016/06/15/android-studio-rename-package/  

 

分享:

http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2014/1103/1893.html  

http://blog.csdn.net/chadeltu/article/details/43450713  

 

去除list集合中重复项:

http://www.cnblogs.com/zhujiabin/p/5717013.html  

 

 

把log写到sdcard:

https://github.com/itgoyo/LogToFile  

 

webview:

https://www.cnblogs.com/mengdd/archive/2013/03/01/2938295.html  

https://www.jianshu.com/p/3c94ae673e2a  

 

------layout------

String/TextView的用法:

http://www.jianshu.com/p/bf8c4b4c8049  

http://blog.csdn.net/sdkfjksf/article/details/51317204  

http://www.jianshu.com/p/84067ad289d2#  

http://www.jianshu.com/p/ea5f8713c9a3  

 

textview超链接:

http://www.jb51.net/article/79268.htm  

http://blog.csdn.net/maosidiaoxian/article/details/39156563?utm_source=tuicool  

http://blog.csdn.net/lovenjoe/article/details/9733307  

 

textview不等字数两端对齐:

http://www.jianshu.com/p/d8f50509b1e9#  

 

密码输入:

http://www.jianshu.com/p/cf35057fed5e#   

 

ImageView属性scaleType:

http://www.cnblogs.com/yejiurui/archive/2013/02/25/2931767.html  

setColorFilter属性:

http://my.oschina.net/blackylin/blog/144342  

tint属性:

http://blog.csdn.net/lgaojiantong/article/details/49836473  

http://www.jianshu.com/p/6bd7dd1cd491#  

https://segmentfault.com/a/1190000003038675  

http://blog.csdn.net/qmln31821007/article/details/42913557  

http://blog.csdn.net/huyuchaoheaven/article/details/47342925 

drawableCompat着色:

http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0824/3356.html  

http://www.race604.com/tint-drawable/  

 

 

代码编写linearlayout布局

http://blog.csdn.net/Xd_Yu/article/details/51455609

http://blog.csdn.net/imdxt1986/article/details/6956350

http://www.bkjia.com/Androidjc/916024.html  

dp与px转换:

http://www.jianshu.com/p/49a66e98cdac  

http://www.android100.org/html/201406/07/20819.html  

代码设置字体大小:

http://blog.csdn.net/zhangxmu/article/details/51545934  

 

代码中获取组件宽高:

http://blog.csdn.net/qq_23547831/article/details/51764304   

 

自定义Actionbar左侧覆盖不全的bug修复:

http://blog.csdn.net/hanhailong726188/article/details/44732209   

 

Toolbar的完全自定义:

http://www.cnblogs.com/0616--ataozhijia/p/5202355.html  

 

 

图片模糊:

http://mp.weixin.qq.com/s?__biz=MzA5MzI3NjE2MA==&mid=2650236619&idx=1&sn=7f4f97babcad9f62607e544efaf2d86e&scene=23&srcid=0809CmU7E9JVZ0ZIyCvG4nLh#rd  

http://blog.csdn.net/wl9739/article/details/51955598  

http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2016/0504/4205.html  

http://blog.csdn.net/xu_fu/article/details/23131241  

 

自定义imageview头像:

http://blog.csdn.net/Amazing7/article/details/51810091  

 

弹窗:

AlertDialog,PopupWindow,使用Activity并配合Dialog主题

AlertDialog:

http://blog.csdn.net/qwm8777411/article/details/45420451  

http://blog.sina.com.cn/s/blog_3e333c4a0102vk0f.html  

http://blog.csdn.net/xanxus46/article/details/7775976  

http://blog.csdn.net/cyj5366/article/details/9195613  

http://www.jb51.net/article/60845.htm  

 

设置自定义的dialog:

https://juejin.im/post/58de0a9a44d904006d04cead

1.只设置自定义的布局:

http://zhidao.baidu.com/link?url=YsDb71EsgPntEL97MkOFx-X9_3GWB8NUQpuAfbAbH7iIGosOFH09imzU8HcdZXzZpCdzyYMcdEyuv8Vvd6sWi_  

http://jingyan.baidu.com/article/3f16e003c872082590c1034c.html  

http://www.cnblogs.com/angeldevil/archive/2012/03/31/2426242.html  

2.抽取成一个自定义的控件类:

http://www.cnblogs.com/lwbqqyumidi/p/3645561.html

http://www.cnblogs.com/and_he/archive/2011/09/16/2178716.html

http://blog.163.com/shaocpa@126/blog/static/55357757201241102525166/

Android自定义对话框(Dialog)位置,大小

http://blog.csdn.net/fancylovejava/article/details/21617553  

http://blog.csdn.net/wufenglong/article/details/9270629  

自定义message部分:

http://my.oschina.net/lichen/blog/136606  

使用builder.setView(View view)的话,就是按照自己喜欢的方式布局了,就是一个布局文件,系统的东西,诸如标题、内容、按钮全部不用设置。

http://bbs.csdn.net/topics/390194506  

http://zhidao.baidu.com/link?url=rsXHLrJ0qwjH3J3LcZe1RTZhxH1XgCAdiUmWFyKrMuimw14e9oeNzC_XEGIN1ZFp8tkZd64jMCXWRzRRCezGwK  

dialog中使用超链接:

http://zhidao.baidu.com/link?url=GjxpASR0IIX0FJLWvl1o3CNZlAD3G53FDOTSTIFlP0x0QXeDftX9CKr20pXmPF5rbIkRk3dcwFy5YEsMw4I6Te1A_5BK_f2jCbM0yOHtcgW  

http://blog.sina.com.cn/s/blog_618199e60101rfw5.html  

android中Dialog对话框合集:

http://xys289187120.blog.51cto.com/3361352/657562/

http://www.cnblogs.com/Gaojiecai/archive/2011/12/10/2283156.html

http://my.oschina.net/lichen/blog/136606 

 

popup window:

 

http://www.jianshu.com/p/825d1cc9fa79  

http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2013/0304/963.html  

http://104zz.iteye.com/blog/1685389  

http://104zz.iteye.com/blog/1685425  

http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2014/0702/1627.html  

http://blog.csdn.net/lixiaodaoaaa/article/details/8280039  

 

Activity设置成窗口的样式:

http://blog.csdn.net/lg878398509/article/details/17338589  

PopupMenu:

http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0106/2272.html  

https://github.com/googlesamples/android-ActionBarCompat-ListPopupMenu  

http://my.oschina.net/suxiaodai/blog/189792  

http://stackoverflow.com/questions/13444594/how-can-i-change-the-position-of-where-my-popup-menu-pops-up  

http://blog.csdn.net/zahuopuboss/article/details/65441186  

DialogFragment:

http://blog.csdn.net/lmj623565791/article/details/37815413/  

http://www.jianshu.com/p/af6499abd5c2  

http://www.jianshu.com/p/3d045ee00880  

http://blog.csdn.net/greathfs/article/details/52089123  

http://gold.xitu.io/post/57bfd4c4efa631005aa5b530  

http://www.jianshu.com/p/de5f9cdfba56  

 

 

FloatWindow悬浮窗:

http://blog.csdn.net/guolin_blog/article/details/8689140

http://www.cnblogs.com/mythou/p/3244208.html  

 

 

alertWindow权限:

http://www.jianshu.com/p/2746a627c6d2  

http://stackoverflow.com/questions/36016369/system-alert-window-how-to-get-this-permission-automatically-on-android-6-0-an  

http://stackoverflow.com/questions/39911377/settings-candrawoverlays-for-api-23  

 

隐藏app logo:

http://blog.csdn.net/jdsjlzx/article/details/22077371

http://blog.csdn.net/binghe_1234/article/details/53419895

动态修改app logo:activity-alias

http://blog.csdn.net/u013134391/article/details/53539399  

http://blog.csdn.net/ahence/article/details/51648768

 

 

切换theme的实现方式:

http://www.jianshu.com/p/3b55e84742e5#  

http://www.jianshu.com/p/87bb4a000bae#  

https://github.com/dersoncheng/MultipleTheme  

http://blog.zhaiyifan.cn/2015/09/10/Android%E6%8D%A2%E8%82%A4%E6%8A%80%E6%9C%AF%E6%80%BB%E7%BB%93/  

 

http://www.jianshu.com/p/af7c0585dd5b  

http://www.jianshu.com/p/506929050c91  

http://www.jianshu.com/p/8c4b2171fa8c  

https://github.com/fengjundev/Android-Skin-Loader  

https://github.com/burgessjp/MaterialDesignDemo  

https://github.com/hongyangAndroid/ChangeSkin

夜间模式:

http://godcoder.me/2016/07/28/Android%20Material%20Design%E7%B3%BB%E5%88%97%E4%B9%8B%E5%A4%9C%E9%97%B4%E6%A8%A1%E5%BC%8F/  

 

 

 

播放视频:

http://blog.csdn.net/weiming8517/article/details/8486754  

http://blog.csdn.net/wangjia55/article/details/9496669  

https://my.oschina.net/u/556624/blog/224666  

 

 

图片突起:

http://blog.csdn.net/hupei/article/details/52064946  

 

ArrayList add/remove同时遍历exception:

http://www.cnblogs.com/dolphin0520/p/3923737.html  

http://www.cnblogs.com/yanghuahui/p/3365509.html  

http://blog.csdn.net/u014746965/article/details/50404207  

http://www.cnblogs.com/alipayhutu/archive/2012/04/23/2465981.html  

http://www.cnblogs.com/dolphin0520/p/3938914.html  

http://blog.csdn.net/imzoer/article/details/9751591  

http://blog.csdn.net/xyylchq/article/details/7869457  

http://stackoverflow.com/questions/24188624/java-util-concurrentmodificationexception-arraylist  

 

ScrollView
http://blog.csdn.net/chengyingzhilian/article/details/7313579 
http://www.eoeandroid.com/forum.php?mod=viewthread&tid=190506 
http://blog.csdn.net/cherry609195946/article/details/8843893 

http://www.trinea.cn/android/on-bottom-load-more-scrollview-impl/  

http://blog.csdn.net/zoeice/article/details/9378415  

http://www.eoeandroid.com/forum.php?mod=viewthread&tid=539456&_dsign=3f5c9906  

http://www.tuicool.com/articles/FzmU32b  

 

ViewHolder:

http://www.cnblogs.com/mengdd/p/3254323.html  

http://www.cnblogs.com/blog-wzy/p/5299193.html  

http://blog.csdn.net/lmj623565791/article/details/38902805  

 

viewPager

http://www.eoeandroid.com/thread-328268-1-1.html?_dsign=14026408  

http://lovelease.iteye.com/blog/2107296  

http://www.cnblogs.com/xinye/archive/2013/07/03/3170071.html  

 

 

SeekBar 样式及拖动监听:

http://blog.sina.com.cn/s/blog_7dbac12501016b2h.html

http://blog.csdn.net/yueliangniao1/article/details/7089059

http://blog.csdn.net/to_cm/article/details/5764320

Android:thumb="@android:color/transparent"可设置拖动按钮不显示

监听:

http://www.xuebuyuan.com/1670354.html

http://www.tuicool.com/articles/yQFVRr

http://blog.csdn.net/deng0zhaotai/article/details/10631237

 

 

merge/viewstub等

http://blog.csdn.net/xyz_lmn/article/details/14524567

merge:

http://blog.sina.com.cn/s/blog_62f987620100sf13.html

viewstub:

http://blog.csdn.net/hitlion2008/article/details/6737537/

 

 

android:clipToPadding和android:clipChildren:
http://www.tuicool.com/articles/32YRJrq 

 

 

android:layout_gravity/android:gravity:

http://blog.csdn.net/shakespeare001/article/details/7843460

 

 

Activity之间数据的传递方式:

http://blog.csdn.net/ankas/article/details/51322861  

bundle:

http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2012/1211/694.html  

 

IntentFilter匹配:

http://blog.csdn.net/mynameishuangshuai/article/details/51673273  

 

 

动画:

https://juejin.im/post/58fbfb93a22b9d00659c655f  

http://blog.csdn.net/huachao1001/article/details/51659963  

http://blog.csdn.net/qq_23547831/article/details/51821159  

 

 

 

去除FC dialog:

http://sixwolf.net/blog/2016/04/11/Android%E5%8E%BB%E9%99%A4%E7%83%A6%E4%BA%BA%E7%9A%84%E9%97%AA%E9%80%80%E5%BC%B9%E7%AA%97/  

 

editText一键清除:

http://www.jianshu.com/p/ddada793f3e7#  

 

清理缓存:

http://mazhuang.org/2016/01/14/android-system-cache/  

 

创建快捷图标:

http://blog.csdn.net/bjp000111/article/details/51363981  

 

 

应用内更新版本:

http://www.jianshu.com/p/46fd1c253701#  

http://www.wangchenlong.org/2016/03/20/1603/201-implement-update-app/  

http://www.jianshu.com/p/5a6501a934cb#  

 

文件读写:

http://blog.csdn.net/ztp800201/article/details/7322110  

 

startActivityForResult:

http://blog.csdn.net/jiangwei0910410003/article/details/16983049  

 

截取字符:

http://heisetoufa.iteye.com/blog/227238  

 

IO操作:

http://www.cnblogs.com/rollenholt/archive/2011/09/11/2173787.html  

 

测试/apk打包发布:

http://www.cnblogs.com/androidsuperman/p/4396889.html  

https://mp.weixin.qq.com/s?__biz=MzI3ODExNzk4Mw==&mid=403834110&idx=1&sn=625a9a080fb5f1963e569eee946db35e&scene=0&key=710a5d99946419d9198a95075d5107f304ed8cdf6c09ab392a0fd3a6eaa5d3c837311f590e53539f42aaba8f06f582fa&ascene=0&uin=NDUzNzA5MjQw&devicetype=iMac+MacBookPro11%2C1+OSX+OSX+10.11.4+build(15E65)&version=11020201&pass_ticket=nlVIC8jbiJw7L8zpO033z%2BO9TuJLZ303Dt%2BZxG5CQ7J7y%2FejfWuvr%2FCk4BjJQnx2  

 

文案:

http://www.devstore.cn/essay/essayInfo/2879.html  

 

UI设计:

http://blog.csdn.net/leejizhou/article/details/51623082  

 

viewpager显示多个item:
http://www.trinea.cn/android/viewpager-multi-fragment-effect/ 

ViewPager的android:layout_width="250dp"必须是写死的。 

 

两个ViewPager的联动:

http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2014/1031/1884.html   

 

LTR布局:

http://book.51cto.com/art/201311/418549.htm  

 

app设置清除缓存和移到sd卡:

http://blog.csdn.net/mingli198611/article/details/22671919  

http://www.jb51.net/article/76282.htm  

http://stackoverflow.com/questions/13043783/Android-move-app-to-sd  

 

模仿美团购买悬浮:

http://blog.csdn.net/xiaanming/article/details/17374599  

http://www.jianshu.com/p/fe69a53502ab#  

ListView分组和悬浮Header实现:

http://blog.csdn.net/leehong2005/article/details/18810509  

 

fragment懒加载:

http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2014/1021/1813.html  

 

语言切换:

http://laobie.github.io/android/2016/05/14/switch-language-on-android-app.html  

 

手机双清:

http://jingyan.baidu.com/article/db55b6098a637e4ba30a2f23.html  

 

平板隐藏system bar:

http://my.oschina.net/wilber/blog/87173?fromerr=hTZzetIw  

http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/1122/3712.html  

 

应用锁:

http://mp.weixin.qq.com/s?__biz=MzA4MjA0MTc4NQ==&mid=504089716&idx=1&sn=ca290cb1d97221601b15bb951bdc2ac9#rd  

 

notifyDataSetChanged不能刷新:

http://www.blog4app.com/?p=62  

 

网页跳转:

http://www.jianshu.com/p/65269064b2d3  

 

Lint:

http://www.bubuko.com/infodetail-1055648.html  

http://gold.xitu.io/post/57bd6f79efa631005a916096  

 


AES加密:

http://blog.csdn.net/iamshaofa/article/details/7708984  

http://blog.csdn.net/jjwwmlp456/article/details/20960029  

http://www.cnblogs.com/carlosk/archive/2012/05/18/2507975.html  

http://blog.zheezes.com/java-aes-encryption-uses-and-principles.html   

 

 

获得最近使用的App:

http://www.intertech.com/Blog/android-5-api-changes-getapptasks/  

http://blog.csdn.net/lwyygydx/article/details/41870377  

http://blog.csdn.net/wangfayinn/article/details/7828318 

http://www.zhihu.com/question/28667355 

http://www.cnblogs.com/shaweng/archive/2012/07/03/2575308.html 

http://my.oschina.net/starmier/blog/364780?fromerr=sIeaUaoj 

http://blog.csdn.net/wen0006/article/details/6575003 

http://stackoverflow.com/questions/27974583/get-tasks-permission-deprecated

http://stackoverflow.com/questions/24625936/getrunningtasks-doesnt-work-in-android-l 

http://stackoverflow.com/questions/24590533/how-to-get-recent-tasks-on-android-l  

 

 

减小APK的size:

http://www.2cto.com/kf/201411/353176.html  

http://cyrilmottier.com/2014/08/26/putting-your-apks-on-diet/  

http://zmywly8866.github.io/2015/04/06/decrease-apk-size.html  

http://gold.xitu.io/entry/56c13ad7a633bd00587845e3  

https://github.com/android-cn/android-discuss/issues/51  

http://www.jayfeng.com/2015/12/29/APK%E7%98%A6%E8%BA%AB%E5%AE%9E%E8%B7%B5/  

http://zhuanlan.zhihu.com/zmywly8866/20523551  

http://mp.weixin.qq.com/s?__biz=MzIwMTI4Nzk5Ng==&mid=402517579&idx=1&sn=2951ec2b3aef4ce6f6a5c06ad4c49d73&scene=1&srcid=03306GCdiG6G4yhZIaDsHVL9&from=groupmessage&isappinstalled=0#wechat_redirect  

http://mp.weixin.qq.com/s?__biz=MzAwMTYwNzE2Mg==&mid=2651036594&idx=1&sn=b276c0f76cea713e5d568ab51e3f7f13&scene=0#wechat_redirect  

http://www.devstore.cn/essay/essayInfo/6387.html  

https://mp.weixin.qq.com/s?__biz=MzI2OTQxMTM4OQ==&mid=2247485254&idx=1&sn=c5dbdf081af17e6213b83176a44c8843&chksm=eae1f214dd967b022bbf43fb7e92051e8ee1db89d7d17bb12a75222c96beabf7ca7ba097cfda#rd  

 

 

使用webp压缩图片size:

android4.0以上已经支持webp格式图片,即4.0以上我们可以像使用其它格式图片一样直接使用

http://isux.tencent.com/introduction-of-webp.html   

http://www.2cto.com/kf/201507/414818.html

http://www.bkjia.com/Androidjc/1019610.html  

http://stackoverflow.com/questions/7032695/webp-for-android  

http://blog.csdn.net/jiwangkailai02/article/details/17015451  

https://developers.google.com/speed/webp/?csw=1  

https://developers.google.com/speed/webp/download  

 

 

微信资源压缩打包

AndResGuard:

https://github.com/shwenzhang/AndResGuard/blob/master/README.md  

https://github.com/shwenzhang/AndResGuard/blob/master/README.zh-cn.md 

http://blog.csdn.net/u014300915/article/details/50601940 

 

优化APK的新工具zipalign:

http://www.cnblogs.com/jacktu/archive/2009/11/02/1594636.html  

http://blog.csdn.net/qq435757399/article/details/46634363  

http://www.2cto.com/kf/201504/388618.html  

 

 

tools命名空间:

http://www.jianshu.com/p/a39dddb46bd8#  

 

 

viewPager的刷新问题:

http://lovelease.iteye.com/blog/2107296  

http://www.cnblogs.com/maoyu417/p/3740209.html  

 

 

手势监听:

http://shenyang-1990.blog.163.com/blog/static/13177143320111119245854/  

 

 

 

反馈crash报告:

http://blog.csdn.net/arui319/article/details/7033698  

 

 

activity完全退出:

http://gold.xitu.io/post/57b58483165abd0065d1342d  

 

 

Service不被杀死:

http://blog.csdn.net/ryantang03/article/details/7770939  

http://ask.csdn.net/questions/159075  

http://blog.csdn.net/mad1989/article/details/22492519  

http://blog.csdn.net/arui319/article/details/7040980  

http://blog.sina.com.cn/s/blog_9f3cecc50101glr4.html  

http://bbs.csdn.net/topics/390957820  

http://www.cnblogs.com/linlf03/p/3296323.html  

http://www.cnblogs.com/ylligang/articles/2665181.html  

http://blog.csdn.net/primer_programer/article/details/25987439  

 

 

 

Application在不同的类(Activity界面)中进行数据的操作:

http://blog.csdn.net/dinglin_87/article/details/7732074

 

 

<strong>自定义省略部分..:</strong>
http://blog.csdn.net/chenshijun0101/article/details/22292499  

 

 

输入法相关:

http://blog.csdn.net/javazejian/article/details/52126391  

 

进程常驻/保活:

http://blog.csdn.net/marswin89/article/details/50917098  

http://www.jianshu.com/p/63aafe3c12af#  

http://www.jianshu.com/p/a4a6222654a0#

 

如何完全退出App:

http://blog.csdn.net/wei369924173/article/details/7927930 

http://blog.csdn.net/loongggdroid/article/details/18462351

http://blog.csdn.net/debug2/article/details/6193644

http://www.eoeandroid.com/thread-311977-1-1.html

http://www.cnblogs.com/mainroadlee/archive/2013/10/18/how_to_exit_android_application.html 

http://blog.csdn.net/djun100/article/details/20576249  

 

 

按返回键退出程序但不销毁,程序后台运行

http://www.zhihu.com/question/29826231  

http://blog.csdn.net/android_xiaoqi/article/details/8769327 

 

后退键的使用:

http://blog.csdn.net/gf771115/article/details/5842190

http://zhidao.baidu.com/link?url=ONnYgi2ELS-hGNuQWVkMFi7rfVLh4A3S4-z-PPYxIj56KVOMuSt3vij_KplJLCQkYbR-lz0EYCaf6nfv9Pazna

http://yuanliyin.iteye.com/blog/656651

 

返回键的监听:

http://www.open-open.com/lib/view/open1391756233301.html  

http://zhidao.baidu.com/link?url=JX8DrB48f13EZDEswHM-FSNM-ZAkqLnRx3j6tdiWxSWXzFz4VvQ-ep9_NQkeGkeLAtm6FGalXnC7KNH-utzlmxKkNbIlexjDb7hMUx8gP7e  

 

android 再按一次后退键退出应用程序:

http://gundumw100.iteye.com/blog/1561861

http://www.open-open.com/lib/view/open1392186781082.html  

http://gold.xitu.io/post/577bc3f3a3413100618fb6c9  

模拟点击后退键:

http://blog.csdn.net/dahuaishu2010_/article/details/9219083  

http://tieba.baidu.com/p/3355397390  

 

内存处理

垃圾回收
--------------------------------------
System.gc():
System.gc();就是呼叫java虚拟机的垃圾回收器运行 回收内存的垃圾
而java虚拟机在默认情况下只有到内存接近饱和是才会调用垃圾回收器 所以一般是等不到java自动运行垃圾回收器的
http://zhidao.baidu.com/question/590316334.html 
http://blog.csdn.net/huxin1/article/details/5932911 
http://zhidao.baidu.com/question/454461711.html 

 

清除android数据缓存:

http://www.jb51.net/article/47009.htm

 

获取聊天记录:

http://icodeyou.com/2015/06/05/2015-06-05-%20%E8%8E%B7%E5%8F%96%E5%BE%AE%E4%BF%A1%E8%81%8A%E5%A4%A9%E8%AE%B0%E5%BD%95/  

 

 

onshow、oncreate、onactivate、action区别

http://bbs.csdn.net/topics/360262320 
OnCreate ->  OnShow -> OnActivate -> OnPaint 
順序與區別:
1.OnCreate窗體初始化時;
2.Onshow窗體顯示時;
3.OnActivate窗體的標題欄變亮時;(也就是每次獲得焦點時)
4.OnPaint窗體在自畫、畫圖時。

 

调节屏幕亮度:

http://blog.csdn.net/cdkd123/article/details/8950307 

 

 

3D版的图片轮播器

http://blog.csdn.net/guolin_blog/article/details/17482089   

 

弹幕:

http://blog.csdn.net/guolin_blog/article/details/51933728  

 

Android调用系统相机和相册:

http://mp.weixin.qq.com/s?__biz=MzI4MzE2MTQ5Mw==&mid=2649752128&idx=1&sn=0507f1798dcc197a8fc4d1f37442e40a#rd  

http://blog.csdn.net/eastman520/article/details/17756817 

http://blog.csdn.net/xuehuayous/article/details/51324656  

http://www.jianshu.com/p/f269bcda335f  

http://mp.weixin.qq.com/s?__biz=MzI4MzE2MTQ5Mw==&mid=2649752130&idx=1&sn=3633d802fad94c9a466592451413b276#rd  

https://mp.weixin.qq.com/s?__biz=MzI1MTA1MzM2Nw==&mid=401454605&idx=1&sn=d5a16f6dc13e7581fec08a4e704cd5d0&scene=1&srcid=0128kzv3OXhWgySOZJyFYeV5&key=710a5d99946419d9822a27b66de36c7e743ace46af35d44fd1b05d8553ee10e9ef20a1489f9248bf686cf7942f9a8bd7&ascene=0&uin=MjAyNzY1NTU%3D&devicetype=iMac+MacBookPro12%2C1+OSX+OSX+10.11.2+build(15C50)&version=11020201&pass_ticket=nUF02WPJJw1ckx8j8vZWMCi7pnepL%2BtkCOA0jN2HTA4%3D  

图库选择裁剪:

http://blog.csdn.net/allen315410/article/details/39994913  

 

 

设置应用语言:

http://my.oschina.net/airship/blog/377810    

android 获取当前语言环境:getResources().getConfiguration().locale.getLanguage();  

 

软键盘:

http://blog.csdn.net/mynameishuangshuai/article/details/51567357  

 

硬盘缓存:

http://blog.csdn.net/guolin_blog/article/details/28863651  

http://blog.csdn.net/shakespeare001/article/details/51695358  

 

 

socket实时聊天:

http://www.jianshu.com/p/c9342eada3dd#  

 

 

时间戳的转化问题 及 遍历目录 及删除布局中控件

 

http://shiningray.cn/toys/unix-timestamp

 

 

获得当前date时间:

http://blog.c

 类似资料:

相关阅读

相关文章

相关问答