悬浮窗 https://github.com/yhaolpz/FloatWindow
第三方支付框架 https://github.com/Vinctor/RxPay
第三方分享登陆框架 https://github.com/arvinljw/SocialHelper
修改getset方法的模板,通过自己的需求定制
https://juejin.im/post/5a56fcaa6fb9a01cbd588220
状态栏开发 https://juejin.im/post/5a52023b6fb9a01c9c1ed937
冒泡对话框 https://juejin.im/post/5a333f0af265da431523f408
bitmap压缩 https://juejin.im/post/5a560ec4f265da3e5468f71d
视觉滚动差的菜单侧滑栏
https://juejin.im/post/5a55c4566fb9a01cba427857
权限工具类 https://juejin.im/post/5a55867af265da3e303c5fb3
保存网页图片,识别图中二维码
https://juejin.im/post/5a5703e05188257334229e72
TextView动态调整大小
https://juejin.im/post/5a56f70cf265da3e5468fa59
身份证验证 https://juejin.im/post/5a56d4155188257334229d4b
图片选择框架 https://github.com/zhihu/Matisse
java8 的新语法习惯:类型推断
https://juejin.im/post/5a570d566fb9a01c9b65dcb5
第三方顶部导航
https://github.com/LiqiNew/SlideNavigation
侧滑
https://github.com/jfeinstein10/SlidingMenu
圆角图片/椭圆等
https://github.com/open-android/RoundedImageView
可直接用的三方Dialog
http://blog.youkuaiyun.com/zhangli_/article/details/51225993
ButterKnife最新依赖去官网查看,这边用的是8.5.1
compile ‘com.jakewharton:butterknife:8.5.1’
annotationProcessor ‘com.jakewharton:butterknife-compiler:8.5.1’
工程的build下添加
classpath ‘com.jakewharton:butterknife-gradle-plugin:8.5.1’
下拉刷新
https://github.com/chrisbanes/Android-PullToRefresh
目前只用了
PullToRefreshScrollView
基本应用
<com.handmark.pulltorefresh.library.PullToRefreshScrollView
android:id="@+id/main_pulltorefresh"
android:layout_width=“match_parent”
android:layout_height=“match_parent”
ptr:ptrAnimationStyle=“flip”
ptr:ptrDrawable="@drawable/default_ptr_flip"
ptr:ptrHeaderBackground="#383838"
ptr:ptrHeaderTextColor="#FFFFFF"/>
还需要添加以下的命名空间
xmlns:ptr=“http://schemas.android.com/apk/res-auto”
其他的看博客
https://blog.youkuaiyun.com/ysc332606387/article/details/78332850
or
http://www.cnblogs.com/tianzhijiexian/p/4023802.html
自定义圆形头像
http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2015/0806/3268.html
轮播图框架
http://blog.youkuaiyun.com/double2hao/article/details/51328824
底部导航栏:
https://github.com/tyzlmjj/PagerBottomTabStrip
讯飞
去官网创建APP申请APPID
初始化:
// 请勿在“=”与appid之间添加任何空字符或者转义符
SpeechUtility.createUtility(this, SpeechConstant.APPID +"=xxxxxx");
设置语音播放
public void init(Context context) {
InitListener myInitListener = new InitListener() {
@Override public void onInit(int code) {
Log.d(“mySynthesiezer:”, "InitListener init() code = " + code);
}
};
//处理语音合成关键类
mySynthesizer = SpeechSynthesizer.createSynthesizer(context, myInitListener);
//设置发音人
mySynthesizer.setParameter(SpeechConstant.VOICE_NAME, “xiaoyan”);
//设置音调
mySynthesizer.setParameter(SpeechConstant.PITCH, “50”);
//设置音量
mySynthesizer.setParameter(SpeechConstant.VOLUME, “50”);
}
调用:
AudioUtils.getInstance().init(DanciActivity.this); //初始化语音对象
AudioUtils.getInstance().speakText(“你好啊啊啊啊啊啊啊啊啊啊”); //播放语音
1479

被折叠的 条评论
为什么被折叠?



