美文网首页
网址,你懂得

网址,你懂得

作者: 不合格码农 | 来源:发表于2018-10-25 17:24 被阅读14次

    原文:https://blog.csdn.net/qq_38526446/article/details/74286959

    OKHTTP3:

    compile 'com.squareup.okhttp3:okhttp:3.3.0'  OKHTTP3依赖

    <uses-permission android:name="android.permission.INTERNET"/>  网络权限

    http://blog.csdn.net/ming2316780/article/details/51598063  OKHTTP3博客

    ListView 分页加载:

    compile 'in.srain.cube:ptr-load-more:1.0.6'  分页加载依赖

    <in.srain.cube.views.ptr.PtrFrameLayout/>    控件

    compile 'com.github.bumptech.glide:glide:3.8.0'  获取网络图片依赖

    https://github.com/Chanven/CommonPullToRefresh   分页加载GitHub

    RecycleView 点击事件:

    compile 'com.chanven.lib:cptr:1.1.0'  RecycleView点击事件依赖

    Volley:

    compile 'com.mcxiaoke.volley:library:1.0.19'  Volley依赖

    Retrofit:

    compile 'com.squareup.retrofit2:retrofit-converters:2.2.0'

        compile 'com.squareup.retrofit2:adapter-rxjava2:2.2.0'Retrofit依赖

        compile 'com.squareup.retrofit2:converter-gson:2.2.0'

    http://blog.csdn.net/zhangxing52077/article/details/52802069  Retrofit博客

    构建者模式:

    http://blog.csdn.net/self_study/article/details/51707029  构建者模式博客

    #引入butterknife

    * project中的dependencies标签下加入classpath 'com.jakewharton:butterknife-gradle-plugin:8.5.1'

    *在modele中的dependencies下加入

    compile 'com.jakewharton:butterknife:8.5.1'

    annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'

    *model的gradle顶部加入 apply plugin: 'com.jakewharton.butterknife'

    * androidStudio添加插件"android butterknife zelezny"

    http://blog.csdn.net/self_study/article/details/51707029  设计者模式博客

    http://blog.csdn.net/u012416928/article/details/43149343  单列模式博客

    http://blog.csdn.net/zhangxing52077/article/details/52830045  文件上传博客

    图片轮播:

    https://github.com/youth5201314/banner  图片轮播github

    http://blog.csdn.net/duoluo9/article/details/52814582图片轮播博客

    compile 'com.youth.banner:banner:1.4.9'  图片轮播依赖

    Glide加载图片:

    compile 'com.github.bumptech.glide:glide:3.8.0'  加载图片依赖

    https://github.com/wasabeef/glide-transformations  给图片加上变圆和模糊博客

    https://github.com/jeasonlzy/ImagePicker    手机上传图片博客

    http://blog.csdn.net/itrenj/article/details/54297920  Glide进阶博客

    http://blog.csdn.net/guolin_blog/article/details/28863651  硬盘缓存博客

    图片放大缩小:

    compile 'com.github.chrisbanes.photoview:library:1.2.4'  放大缩小依赖

    https://github.com/bm-x/PhotoView   图片放大缩小博客

    打jar包  打aar包:

    http://blog.csdn.net/getchance/article/details/47257389  打aar包博客

    ②.配置build.gradle文件:

    加入

    repositories {

    flatDir {

    dirs 'libs'

    }

    compile(name:'camerascan-1.0', ext:'aar')

    http://blog.csdn.net/ta893115871/article/details/46955791/  打jar包

    主工程App的build中要加入librarydemo 这个依赖model:

    dependencies {

    compile fileTree(dir: 'libs', include: ['*.jar'])

    compile 'com.android.support:appcompat-v7:22.2.0'

    compile project(':librarydemo')

    }

    数据库:

    http://blog.csdn.net/shuitawuhen/article/details/52766472  greendao数据库博客

    1、在工程的buildgradle中导入

    dependencies {

    classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'

    }

    2、在项目的buildgradle中导入

    //导入插件

    apply plugin: 'com.android.application'

    apply plugin: 'org.greenrobot.greendao' // apply plugin

    //在dependencies中添加如下代码

    dependencies {

    compile 'org.greenrobot:greendao:3.2.2' // add library

    }

    http://blog.csdn.net/q649381130/article/details/51316977  Ormlite 数据库博客

    compile 'com.j256.ormlite:ormlite-android:4.48'   Ormlite依赖

    compile 'com.j256.ormlite:ormlite-core:4.48' 

    转场动画博客:http://blog.csdn.net/u012702547/article/details/51289789

    各式网址:

    http://apis.juhe.cn/goodbook/query?key=12eacb4c434f45020d399155be7bd1c3&catalog_id=246&rn=10&rn=10  JSON网址

    http://huixinguiyu.cn/Assets/js/newsnew.js  JSON网址

    http://www.bejson.com/knownjson/webInterface/  一些免费接口

    http://www.sojson.com/httpRequest/  HTTP接口测试

    http://123.206.70.44:8080/gaoji/page2.json 分页加载JSON网址

    http://101.200.142.201/VideoPlay/imageupload 上传文件网址

    混合开发 : http://www.cnblogs.com/wlfcolin/p/6803133.html 

    APICloud :   http://www.apicloud.com/

    友盟: https://www.umeng.com/

    百度地图: http://lbsyun.baidu.com/index.php?title=android-locsdk

    路径规划: http://blog.csdn.net/zero172/article/details/51303741

    申请秘钥的地方 lbsyun.baidu.com/apiconsole/key

    APP ID:1106253012APP KEY:FAURdUOt0axat58e

    百度地图API :  http://developer.baidu.com/map/reference/

    环信 https://console.easemob.com/#/register?_k=0jklb0

    环信SDK介绍     http://docs.easemob.com/im/200androidclientintegration/10androidsdkimport

    ---------------------

    作者:程序员界的一缕清风

    来源:CSDN

    原文:https://blog.csdn.net/qq_38526446/article/details/74286959

    版权声明:本文为博主原创文章,转载请附上博文链接!

    相关文章

      网友评论

          本文标题:网址,你懂得

          本文链接:https://www.haomeiwen.com/subject/lwyctqtx.html