
android
bug大师
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
* What went wrong:A problem occurred evaluating project ‘:app‘.> Failed to apply plugin ‘com.andro
可以在android studio 的 gradle 配置里可以看到java11的路径 加进去就好。在gradle.properties 增加。以上的路径要以自己的时机情况作修改。原创 2023-02-08 09:54:31 · 4169 阅读 · 0 评论 -
handle Message
handler = new Handler() { @Override public void handleMessage(Message msg) { super.handleMessage(msg); switch (msg.what) { cas...原创 2019-09-17 16:16:48 · 394 阅读 · 0 评论 -
xposed
Xposed 官网:http://repo.xposed.info/Xposed 项目 github 地址:https://github.com/rovo89Xposed 官方教程 :https://github.com/rovo89/XposedBridge/wiki/Development-tutorialXposed Api 之XposedBridge.jar 下载:https://j...原创 2019-09-19 12:07:26 · 1120 阅读 · 0 评论 -
android 手机连接wifi调试
studio点击file->settings->plugin搜索adb wifi 安装重启ide(1)在系统环境变量Path中添加D:\Android\Sdk\platform-tools(adb所在的位置,一般在sdk中)连接手机设备,第一次需要连接usb数据线,做如下设置adb tcpip 5555 //打开5555端口adb connect [ip:5555] //连...原创 2019-09-25 13:55:20 · 461 阅读 · 0 评论 -
bootstartp
用bootstrap写手机的导航栏需要一个offcanvas.min.jsbootstrap.jsbootstrap.css原创 2019-09-25 15:01:10 · 295 阅读 · 0 评论 -
Android 的原生的json解析
String res = response.body().string(); JSONObject jsonObject = new JSONObject(res);String code = String.valueOf(jsonObject.getInt("code"));String msg = jsonObject.getString("msg");request(cod...原创 2019-09-25 17:22:28 · 288 阅读 · 0 评论 -
xposed
原创 2019-09-26 11:14:27 · 122 阅读 · 0 评论 -
一个视频流软件
https://github.com/illuspas/Node-Media-Server原创 2019-09-26 15:21:13 · 356 阅读 · 0 评论 -
andorid 的okhttp的使用
``发起post请求public void postmessge(String message){ //第一步创建OKHttpClient OkHttpClient client = new OkHttpClient.Builder() .build(); //第二步创建RequestBody(Form表达) RequestBody b...原创 2019-10-11 13:55:20 · 163 阅读 · 0 评论 -
android拿到每个fragment
LayoutInflater inflater = getLayoutInflater();view1 = inflater.inflate(R.layout.step_one_fragment, null, false);拿到布局文件LayoutParams原创 2019-09-09 17:47:39 · 175 阅读 · 0 评论 -
一些andriod的库
https://github.com/guozhengXia/OkHttpUtils封装了okhttp 适合新手了解封装请求https://github.com/material-components/material-components-android/tree/master/catalogandroidx的一个ui库...原创 2019-09-09 10:13:48 · 100 阅读 · 0 评论 -
BottomNavigationView +小徽标 99+
首先安装依赖implementation’com.google.android.material:material:1.1.0-alpha08’然后将项目迁移到android x期间出的小问题百度 很好解决 一般不会出问题然后<com.google.android.material.bottomnavigation.BottomNavigationViewxmlns:app=“h...原创 2019-07-17 14:51:54 · 937 阅读 · 0 评论 -
android的意图
IntentFilter filter = new IntentFilter(); filter.addAction(WifiManager.ACTION_PICK_WIFI_NETWORK); registerReceiver(new WifiReceiver(), filter); Intent intent = new Intent(); intent.setActi...原创 2019-07-27 11:44:02 · 329 阅读 · 0 评论 -
用androidx实现底部导航
implementation ‘com.google.android.material:material:1.1.0-alpha08’导入material的样式 <?xml version="1.0" encoding="utf-8"?><androidx.viewpager.widget.ViewPager android:id="@+id/mainViewP...原创 2019-08-09 10:38:00 · 1834 阅读 · 1 评论 -
android 的http封装
package okhttp;import android.content.ComponentName;import android.content.Context;import android.content.Intent;import android.os.Handler;import android.os.Looper;import android.text.TextUtils;...原创 2019-08-14 17:39:19 · 490 阅读 · 0 评论 -
android权限管理
https://github.com/yanzhenjie/AndPermission直接用别人的库AndPermission.with(this).runtime().permission(Permission.Group.STORAGE).onGranted(permissions -> {// Storage permission are allowed.}).onDe...原创 2019-08-12 16:24:21 · 280 阅读 · 0 评论 -
android的一些积累
ObjectAnimator animator1= ObjectAnimator.ofFloat(holder.cRelativeLayout,"alpha",1,0); animator1.setDuration(3000); animator1.start(); java没有json 所以自己写jso...原创 2019-08-22 15:17:29 · 96 阅读 · 0 评论 -
androidx的下拉刷新
mSwipeRefreshLayout=messageLayout.findViewById(R.id.swipe_fresh); mSwipeRefreshLayout.setRefreshing(true); private void initView(){ mSwipeRefreshLayout.setOnRefreshListener(() -> {...原创 2019-08-22 15:29:19 · 1890 阅读 · 0 评论 -
okhttp
还是这个好用 String path = "https://api.weixin.qq.com/sns/oauth2/access_token?appid="; OkHttpClient client = new OkHttpClient(); final Request request = new Request.Builder() ...原创 2019-09-09 10:37:25 · 122 阅读 · 0 评论 -
获取layout视图
View messageLayout = inflater.inflate(R.layout.one_fragment, container, false);//fragment的视图mRecyclerView = (RecyclerView)messageLayout.findViewById(R.id.rvContacts);//Recycler的idmRecyclerView .no...原创 2019-07-24 14:23:41 · 394 阅读 · 0 评论