Android Intent调用拍照
1,拍照
// 打开拍照程序
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(intent, 0);
更多Intent 使用详解:https://blog.csdn.net/cricket_7/category_9549721.html
1,拍照
// 打开拍照程序
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(intent, 0);
更多Intent 使用详解:https://blog.csdn.net/cricket_7/category_9549721.html
1,StartService 【1】打开服务 Intent it=new Intent(this, SimpleService.class); startService(
1,播放多媒体 Intent intent = new Intent(Intent.ACTION_VIEW); Uri uri = Uri.pars
1,拍照 // 打开拍照程序 Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAP
1,通过浏览器打开网页 // 打开Google主页 Uri uri = Uri.parse("http://www.google.com"
1,发送电子邮件 // 给someone@domain.com发邮件发送内容为“Hello”的邮件 Intent intent = new Inte
1,发送短信 // 给10086发送内容为“Hello”的短信 Uri uri = Uri.parse("smsto:10086");
1, 简单写法 Intent intent = new Intent(MainActivity.this,SecondActivity.class);
1.使用intent调用系统照相机拍照 static final int REQUEST_IMAGE_CAPTURE = 1; private vo
转载地址:https://my.oschina.net/u/2438532/blog/743160 获取缩略图 直接调取相机拍照,无需任何权限,但是
原文:[http://www.eoeandroid.com/thread-185954-1-1.html][http_www.eoeandroid.com_thread-185
还没有评论,来说两句吧...