-
加载pdf
https://blog.csdn.net/duke618/article/details/82661466 -
Android 和h5交互
https://www.cnblogs.com/huihuizhang/p/8794377.html -
Activity 使用另一个Activity 里的方法
https://www.jianshu.com/p/4807e50b316d -
扫码
https://blog.csdn.net/yuzhiqiang_1993/article/details/52805057 -
时间戳
https://www.cnblogs.com/dava/p/6416648.html -
https://hndeveloper.github.io/2017/github-android-ui.html#DownloadView这个不错呀
-
下载
https://blog.csdn.net/chaoyu168/article/details/53787157 -
随机数
https://blog.csdn.net/xinpengfei521/article/details/72810890 -
浏览器下载
https://blog.csdn.net/yingtian648/article/details/79128663/ -
ScrollView + ListView
https://blog.csdn.net/Falcon2000/article/details/83716756 -
SharePreferences
https://blog.csdn.net/BoomLei/article/details/80914723 -
webView拦截url
https://blog.csdn.net/Juns_619930524/article/details/76046322 -
https://blog.csdn.net/zxc024000/article/details/90298159
-
比对工具
Beyond Compare -
gridview 和scrollview嵌套
https://www.cnblogs.com/awkflf11/p/5061981.html -
BadgeView (徽章控件)
-
微信登录
https://blog.csdn.net/u014078990/article/details/83752223 -
glide 圆形图
https://blog.csdn.net/jiaosheng1/article/details/91972559
https://www.jianshu.com/p/76bc9642b207 -
TextView超出某个字数限制后显示省略号
https://blog.csdn.net/Sky_327/article/details/103696970 -
自定义gridView仿头条频道拖动管理
https://blog.csdn.net/u014763302/article/details/103682923 -
android自定义view系列之仿滴滴大头针效果
https://blog.csdn.net/MingJieZuo/article/details/103686725 -
WebView添加Header
https://blog.csdn.net/qugengting/article/details/95636121 -
webview缓存
https://www.jianshu.com/p/6575304281a1 -
Android 验证码输入框
https://www.jianshu.com/p/3238a5afc21c -
极光
https://blog.csdn.net/qq_39716839/article/details/80939321 -
popwindow
https://blog.csdn.net/PZ0605/article/details/23654825 -
arr 导入问题
https://blog.csdn.net/runstoppable/article/details/72743888?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase -
打包冲突
https://www.jianshu.com/p/89c732e1c8a8 -
混淆
https://www.jianshu.com/p/a8a2e3f1ca60 -
webview 加载网页只有声音没有图像
https://www.cnblogs.com/qianyukun/p/4792533.html -
webview返回
https://www.jianshu.com/p/654ecec54cb0 -
图片选择器
https://blog.csdn.net/u010356768/article/details/79026565
https://blog.csdn.net/u010356768/article/details/83783623 -
glide 图片加载自适应宽高
https://www.jianshu.com/p/d174f21e606d -
listview中播放视频
https://www.it610.com/article/1292111724962455552.htm -
七牛上传视频后的封面图
https://blog.csdn.net/qq379682421/article/details/88909887 -
图片全屏预览
https://www.jianshu.com/p/188be22e1306 -
头像重叠
https://www.jianshu.com/p/c1375c62f9c3 -
多图显示
https://blog.csdn.net/lv_fq/article/details/77800928 -
8.0透明度问题
https://cloud.tencent.com/developer/article/1175324 -
fragment监听返回键
https://blog.csdn.net/jifenglie/article/details/86573135 -
AS误删除的文件找回
https://blog.csdn.net/djyjava/article/details/52151317 -
Webview 重定向和 net::ERR_UNKNOWN_URL_SCHEME 解析及解决方案
https://blog.csdn.net/qq_41188773/article/details/89669354 -
android webview中视频播放及全屏
https://www.jianshu.com/p/54ac34790db0 -
WebView 跨域访问Cookie身份认证丢失
http://www.45fan.com/article.php?aid=19111422767224954623278517 -
RecyclerView 横向滑动
https://blog.csdn.net/qq_30730419/article/details/108400746 -
渐变
https://blog.csdn.net/chengxu_kuangrexintu/article/details/78543602 -
BaseQuickAdapter多布局
https://blog.csdn.net/qq_36487432/article/details/91983614 -
android纯Java代码颜色渐变
https://blog.csdn.net/NakajimaFN/article/details/82669585?utm_medium=distribute.pc_relevant_download.none-task-blog-blogcommendfrombaidu-2.nonecase&depth_1-utm_source=distribute.pc_relevant_download.none-task-blog-blogcommendfrombaidu-2.nonecas -
android 快速点击两次出现两个重复界面
https://blog.csdn.net/weixin_37438128/article/details/106798051Intent intent = new Intent(); intent.setClass(getApplicationContext(), TargetActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); startActivity(intent);
-
GradientDrawable drawable = (GradientDrawable) lin.getBackground();
drawable.setStroke(4, Color.parseColor(“#ffffff”));//设置边框的宽度和颜色
drawable.setCornerRadius(5);//圆角
lin.setElevation(5);//阴影
lin.setTranslationZ(5);
img.setElevation(5);
img.setTranslationZ(5); -
点赞
https://blog.csdn.net/yun382657988/article/details/83339852 -
PhotoView
https://blog.csdn.net/feng___chen/article/details/100746273 -
https://blog.csdn.net/qq_31683033/article/details/101011834
-
文字下划线
<TextView android:id="@+id/righttext" android:layout_width="wrap_content" android:layout_height="49dp" android:gravity="center_vertical" android:paddingLeft="15dp" android:text="临床执业助理医师" android:textColor="#666666" android:textSize="16sp"></TextView> <View android:layout_width="wrap_content" android:layout_height="1dp" android:layout_alignStart="@+id/righttext" android:layout_alignEnd="@+id/righttext" android:layout_alignBottom="@+id/righttext" android:layout_marginLeft="15dp" android:background="#ff6600" /> </RelativeLayout>
-
popwindow动画
https://www.jianshu.com/p/1a009b964d00 -
BottomDialog
https://github.com/shaohui10086/BottomDialog/blob/master/README_ZH.md -
虚线框
https://blog.csdn.net/devilnov/article/details/76177813 -
引导层框架–NewbieGuide
https://blog.csdn.net/lixinxiaos/article/details/97376027 -
获取剪切板
ClipboardManager cm = (ClipboardManager) context.getSystemService(Context.CLIPBOARD_SERVICE); if (cm != null) { ClipData data = cm.getPrimaryClip(); if (data != null && data.getItemCount() > 0) { ClipData.Item item = data.getItemAt(0); if (item != null) { CharSequence sequence = item.coerceToText(context); if (sequence != null) { String string = sequence.toString(); return str; } } } }
-
题库公式
https://blog.csdn.net/u010257931/article/details/84028158 -
图文混排
https://blog.csdn.net/yang_cai_bin/article/details/117131658
https://blog.csdn.net/qq_30548105/article/details/78031347 -
textview 标签
https://blog.csdn.net/aprilqq/article/details/52244308 -
获取网页里的图片
依赖
implementation ‘org.jsoup:jsoup:1.10.3’private void getimgurl(final String share_url) { new Thread(new Runnable() { @Override public void run() { Document document = null; try { document = Jsoup.parse(new URL(share_url.trim()), 5000); Elements imgs = document.getElementsByTag("img");//取得所有Img标签的值 if (imgs.size() > 0) { imgurl = imgs.get(1).attr("abs:src");//默认取第2个为图片 } else { imgurl = ""; } } catch (IOException e) { e.printStackTrace(); } finally { //分享 WxShare.toShare("weChat", share_url, share_url, tvtitle.getText().toString(), imgurl , ZbActivity.this); } } }).start(); }
-
Installed Build Tools revision 31.0.0 is corrupted. Remove and install again
解决办法:
https://stackoverflow.com/questions/68387270/android-studio-error-installed-build-tools-revision-31-0-0-is-corrupted -
关键字变色
https://blog.51cto.com/u_14368928/5237827 -
Glide加载静态图片时有动态placeholder
https://blog.csdn.net/jinrumorijuesha/article/details/89206164 -
获取IP地址、地址
https://www.cnblogs.com/wang95529/p/14235372.htmlnew Thread(new Runnable() {
@Override
public void run() {
URL infoUrl = null;
InputStream inStream = null;
String line = “”;
try {
infoUrl = new URL(“http://pv.sohu.com/cityjson?ie=utf-8”);
URLConnection connection = infoUrl.openConnection();
HttpURLConnection httpConnection = (HttpURLConnection) connection;
int responseCode = httpConnection.getResponseCode();
if (responseCode == HttpURLConnection.HTTP_OK) {
inStream = httpConnection.getInputStream();
BufferedReader reader = new BufferedReader(new InputStreamReader(inStream, “utf-8”));
StringBuilder strber = new StringBuilder();
while ((line = reader.readLine()) != null)
strber.append(line + “\n”);
inStream.close();
// 从反馈的结果中提取出IP地址
int start = strber.indexOf(“{”);
int end = strber.indexOf(“}”);
String json = strber.substring(start, end + 1);
if (json != null) {
try {
JSONObject jsonObject = new JSONObject(json);
line = jsonObject.optString(“cip”);
ipcity = AddressUtils.getCity(line);Log.d("fdhgfjcfj", "ip--" + line); Log.d("fdhgfjcfj", "定位--" + ipcity); } catch (JSONException e) { e.printStackTrace(); } } } } catch (MalformedURLException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } }).start();
个人收藏用
于 2019-11-07 11:40:00 首次发布