![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android技术
hezhudong
努力,奋斗!
展开
-
Androidd Intent总结
Android页面跳转最重要依赖就是Intent,字面意思是意图,个人感觉还是挺贴切的。 Intent分为显示Intent和隐式Intent,那么他们又有什么区别呢 显示Intent 明确指出要跳转的Activity,可通过Intent构造,setClassName,setComponent三种方式显示设置Intent。 隐式Intent 不明确指出要跳转的Act原创 2016-04-08 18:12:35 · 362 阅读 · 0 评论 -
Android中的MVC和MVP
Android中的mvc和mvp 一、什么是mvc和mvp mvc:mvc就是model,view,controller。Android中modle毫无疑问大家都知道的就是数据实体了,view就是视图组件比如listview,viewpager等等。Controller控制器,view和modle交互由controller处理,由activity充当controller角色。 mvp:mod原创 2016-11-11 16:25:07 · 575 阅读 · 0 评论 -
DrawerLayout抽屉
DrawerLayout是什么? DrawerLayout是一个顶层窗体容器,允许可交互的抽屉组件从屏幕一侧拉出 DrawerLayout基本用法 1布局DrawerLayout的第一个子view作为内容视图组件需要指定高度为matchparent并且无layoutgravity属性。 2第二个子view作为抽屉组件需要通过layoutgravity指定方向高度matchparent和固定原创 2016-11-17 11:30:25 · 269 阅读 · 0 评论 -
Android 调用系统播放器,调用系统Camera
转载自:http://blog.csdn.net/yudajun/article/details/7752226 1、调用系统音乐播放器 [java] view plaincopy private void playAudio(String audioPath){ Intent intent = new Intent();转载 2016-11-22 13:51:13 · 641 阅读 · 0 评论 -
git 常用操作
1.安装git,下载地址:https://git-scm.com/downloads 2生成git ssh key并在git服务器配置。生成sshkey的路径在系统用户的.ssh目录下。 git config--global user.name "Firstname Lastname" --这里引号中为自己的姓名 git config--global user.email "your_em原创 2016-11-15 14:05:31 · 260 阅读 · 0 评论 -
Camera详解(附身份证扫描示例)
Camera是什么 Camera官方说明The Camera class is used toset image capture settings, start/stop preview, snap pictures, and retrieveframes for encoding for video. This class is a client for the Camera service,原创 2016-11-29 19:01:31 · 6572 阅读 · 9 评论