文章分类
推荐文章
- 利用 clipboard...(22231)
- ASP.NET 常见CM...(8446)
- 查询SQL Server...(5724)
- C# 二维码生成工具(5354)
- 无法删除登录名 '***...(4903)
- C#文件处理辅助类(4649)
- XML,JSON,HTM...(4523)
- 中国人最易误解的32个文...(4406)
- 一个农夫的故事(4345)
- MS SQL执行大脚本文...(4279)
- IBM AppScan ...(3484)
- 百度地图显示多个标注点(3423)
- 关于网站访问速度及后台查...(3388)
- 管理说破了就是 一句话(3308)
- 从刘邦与刘备带兵,看帅才...(3257)
-
Android 手机获取经纬度功能(包含权限动态获取)
Android 2019-12-10 28 次
activity_main.xml ?xml version="1.0" encoding="utf-8"? androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.andro...
-
Android 权限相关
Android 2019-12-09 41 次
在Android 系统6.0版本之前,安装App时会提示用户此App都需要使用哪些权限,但是用户不可以单独对某项权限进行授权或者是拒绝,如果用户安装了该App,就表示用户已经接受了该App对这些权限的使用。从Android系统6.0版本开始,Android使用了新的权限管理机制,将App可以使用的权限分成了两类,一类是普通权限,例如,设置手机振动或者是访问网络等。另一类是危险权限,例如,开启摄像头...
-
Android 常用组件-Spinner
Android 2019-12-09 39 次
1.效果图 主要属性:android:entries 2.用法1:在xml中指定下拉选项 ?xml version="1.0" encoding="utf-8"? LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" a...
-
Android 常用组件
Android 2019-12-05 56 次
运行效果: 前台代码 Layout: ?xml version="1.0" encoding="utf-8"? LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="matc...
-
Android Fragment 中使用 WebView
Android 2019-12-04 67 次
layout ?xml version="1.0" encoding="utf-8"? androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk...
-
Android 中发送 HTTP 请求
Android 2019-12-02 82 次
方法1:HttpURLConnection 布局文件 activity_main.xml ?xml version="1.0" encoding="utf-8"? androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns...