怎样取消相机360云相册,相册U盘模式。

有谁知道?照相机切换u盘模式了怎么办?要怎么弄才可以照相啊?求助,谢谢_百度知道
有谁知道?照相机切换u盘模式了怎么办?要怎么弄才可以照相啊?求助,谢谢
您的回答被采纳后将获得:
系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
我有更好的答案
您是什么相机?
为您推荐:
其他类似问题
u盘的相关知识
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。蜂鸟手机端
焦圈,为摄影而生
&&怎么取消iphone里的美颜相机相册
进入照片右上角的编辑,点一下你就能美颜相机的相册前有个删除的标志,直接删掉就行了
器材讨论区
品牌讨论区
主题交流区
选择论坛版块
提出您的问题大家去洗照片时,是直接拿着相机去,还是存到U盘上再去呢?
直接拿相机的存储卡去就可以了,一般洗数码相片的地方都有MINI卡读卡器,不需要你带相机去.
其他答案(共17个回答)
里处理好再存到优盘里带去洗
里面的陶妮和芳芳是谁演的?
可以!通过QQ,微信,邮件等方式发给照相馆就可以了!
都可以,不过网上冲洗相对不好使,除了要上传外,价格上也没太大的优势,一般3R为0.60至0.80元,4R为0.90至1元,而现在店铺冲洗一般3R为0.75至0....
扫描身份证照片
必需用扫描仪 进行扫描
不能用数码相机拍
什么也没有 那去找个有扫描仪的复印店吧
一般来说安全呀
怎么存到你的电脑上 什么M...
详情您可以参考一下:
一、家用数码冲印参考。
小常识:通常表示照片规格会用“寸”来表示,和显示器之类的产品用对角线长度表示尺寸的方式不同,照片所说的“几寸”是指...
拿卡或U盘都行。
答: Mn13是高锰耐磨钢是抵抗强冲击、大压力物料磨损等耐磨材料中的选择。高锰钢特点有两个:一是外来冲击越大,其自身表层耐磨性越高;二是随着表面硬化层的逐渐磨损,新的...
答: 能,但要有所节制并注意姿势
答: 在这种情况下,
男人通常容易犯最常犯的错误(小姐/情人)
有了第一次就会有第二次
如果你有家事的话
这样迟早会有悲剧的发生的
希望你能...
大家还关注
Copyright &
Corporation, All Rights Reserved
确定举报此问题
举报原因(必选):
广告或垃圾信息
激进时政或意识形态话题
不雅词句或人身攻击
侵犯他人隐私
其它违法和不良信息
报告,这不是个问题
报告原因(必选):
这不是个问题
这个问题分类似乎错了
这个不是我熟悉的地区
相关问答:123456789101112131415&nbsp>&nbsp
&nbsp>&nbsp
&nbsp>&nbsp
Android相机相册的调用,图片的存储删除
摘要:主要以SimpleFilter的源码为例子详解,app可在百度应用商店下载SimpleFilter源代码下载xml&?xmlversion=&1.0&encoding=&utf-8&?&android:layout_width=&match_parent&android:layout_height=&match_parent&android:orientation=&vert
主要以SimpleFilter的源码为例子详解,app可在百度应用商店下载 SimpleFilter源代码下载
&?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=&match_parent&
android:orientation=&vertical&
<imageview
android:id=&@+id/iv_change&
android:layout_width=&fill_parent&
android:scaleType=&fitXY&
android:layout_height=&220dp&
android:maxWidth=&1000dp&
android:maxHeight=&1000dp&
android:src=&@drawable/origin&
android:id=&@+id/sb_alpha&
android:layout_height=&wrap_content&
android:layout_width=&fill_parent&
android:layout_margin=&10dp&
android:id=&@+id/sb_red&
android:layout_height=&wrap_content&
android:layout_width=&fill_parent&
android:layout_margin=&10dp&
android:id=&@+id/sb_green&
android:layout_height=&wrap_content&
android:layout_width=&fill_parent&
android:layout_margin=&10dp&/&
android:id=&@+id/sb_blue&
android:layout_height=&wrap_content&
android:layout_width=&fill_parent&
android:layout_margin=&10dp&/&
android:id=&@+id/tv_display&
android:layout_width=&fill_parent&
android:layout_height=&wrap_content&
android:gravity=&center&
android:padding=&8dp&
android:textSize=&16sp&
android:textColor=&#333333&/&
<linearlayout
android:layout_width=&fill_parent&
android:layout_height=&wrap_content&
android:orientation=&horizontal&&
android:id=&@+id/btn_photo& android:layout_height=&40dp& android:layout_width=&0dp& android:layout_marginLeft=&4dp& android:text=&拍 照& android:textColor=&#fff& android:background=&@xml/btn_blue& android:layout_weight=&1&/&
android:id=&@+id/btn_picture& android:layout_height=&40dp& android:layout_width=&0dp& android:layout_marginLeft=&4dp& android:layout_weight=&1& android:textColor=&#fff& android:layout_marginRight=&4dp& android:background=&@xml/btn_blue& android:text=&相 册&/&
<linearlayout
android:layout_width=&fill_parent&
android:layout_height=&wrap_content&
android:layout_marginTop=&8dp&
android:orientation=&horizontal&&
android:id=&@+id/btn_save& android:layout_height=&40dp& android:layout_width=&0dp& android:textColor=&#fff& android:layout_marginLeft=&4dp& android:layout_weight=&1& android:background=&@xml/btn_blue& android:text=&保 存&/&
android:id=&@+id/btn_origin& android:layout_height=&40dp& android:layout_width=&0dp& android:textColor=&#fff& android:layout_marginLeft=&4dp& android:layout_marginRight=&4dp& android:layout_weight=&1& android:background=&@xml/btn_blue& android:text=&初始化&/&
<linearlayout
android:layout_width=&fill_parent&
android:layout_height=&wrap_content&
android:layout_marginTop=&8dp&
android:orientation=&horizontal&&
android:id=&@+id/btn_delete& android:layout_height=&40dp& android:layout_width=&0dp& android:layout_marginLeft=&4dp& android:text=&清除保存文件& android:textColor=&#fff& android:background=&@xml/btn_blue& android:layout_weight=&1&/&
android:id=&@+id/btn_see& android:layout_height=&40dp& android:layout_width=&0dp& android:layout_marginLeft=&4dp& android:layout_weight=&1& android:textColor=&#fff& android:layout_marginRight=&4dp& android:background=&@xml/btn_blue& android:text=&查看保存文件&/&javapackage com.example.import java.io.BufferedOutputSimport java.io.Fimport java.io.FileNotFoundEimport java.io.FileOutputSimport java.io.IOEimport java.text.SimpleDateFimport java.util.Dimport android.app.Aimport android.app.AlertDimport android.content.ContentRimport android.content.ContentUimport android.content.DialogIimport android.content.Iimport android.database.Cimport android.graphics.Bimport android.graphics.BitmapFimport android.graphics.Cimport android.graphics.ColorMimport android.graphics.ColorMatrixColorFimport android.graphics.drawable.Dimport android.net.Uimport android.os.Bimport android.os.Eimport android.provider.MediaSimport android.view.Vimport android.view.View.OnClickLimport android.view.Wimport android.widget.Bimport android.widget.ImageVimport android.widget.SeekBimport android.widget.SeekBar.OnSeekBarChangeLimport android.widget.TextVimport android.widget.Tpublic class MainActivity extends Activity implements OnSeekBarChangeListener, OnClickListener {private ImageView iv_private SeekBar sb_alpha, sb_red, sb_green, sb_private TextView tv_private float a = 0f, r = 0f, g = 0f, b = 0f;private String Pprivate Button btn_photo, btn_picture, btn_save, btn_origin,btn_delete,btn_private Bitmap photo = null,private File mCurrentPhotoF@Overrideprotected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.activity_main); //新建图片存储的目录 Path = Environment.getExternalStorageDirectory().toString()+ &/mFilter&; File file = new File(Path); if (!file.exists()) { file.mkdir(); } iv_change = (ImageView) findViewById(R.id.iv_change); tv_dispaly = (TextView) findViewById(R.id.tv_display); tv_dispaly.setText(&a: & + String.valueOf((a)) + &% & + &r: &+ String.valueOf((r)) + & & + &g: & + String.valueOf((g))+ & & + &b: & + String.valueOf((b))); //从资源文件中获取图片 photoorigin=BitmapFactory.decodeResource(getResources(), R.drawable.origin); //初始化进度条 initSeek(); //初始化按钮 initButton();}private void initButton() { btn_save = (Button) findViewById(R.id.btn_save); btn_save.setOnClickListener(this); btn_photo = (Button) findViewById(R.id.btn_photo); btn_photo.setOnClickListener(this); btn_picture = (Button) findViewById(R.id.btn_picture); btn_picture.setOnClickListener(this); btn_origin = (Button) findViewById(R.id.btn_origin); btn_origin.setOnClickListener(this); btn_delete = (Button) findViewById(R.id.btn_delete); btn_delete.setOnClickListener(this); btn_see = (Button) findViewById(R.id.btn_see); btn_see.setOnClickListener(this);}private void initSeek() { sb_alpha = (SeekBar) findViewById(R.id.sb_alpha); sb_alpha.setOnSeekBarChangeListener(this); sb_red = (SeekBar) findViewById(R.id.sb_red); sb_red.setOnSeekBarChangeListener(this); //设置进度条默认位置 sb_red.setProgress(50); sb_green = (SeekBar) findViewById(R.id.sb_green); sb_green.setOnSeekBarChangeListener(this); sb_green.setProgress(50); sb_blue = (SeekBar) findViewById(R.id.sb_blue); sb_blue.setOnSeekBarChangeListener(this); sb_blue.setProgress(50);}//重写OnSeekBarChangeListener@Overridepublic void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { switch (seekBar.getId()) { case R.id.sb_alpha: a = (float) (progress / 100.0); case R.id.sb_red: r = (float) ((progress - 50) / 5.0); case R.id.sb_green: g = (float) ((progress - 50) / 5.0); case R.id.sb_blue: b = (float) ((progress - 50) / 5.0); default: } setArgb(1 - a, r + 1, g + 1, b + 1);}@Overridepublic void onStartTrackingTouch(SeekBar seekBar) {}@Overridepublic void onStopTrackingTouch(SeekBar seekBar) {}public void setArgb(float alpha, float red, float green, float blue) { tv_dispaly.setText(&a: & + String.valueOf((a * 100)) + &% & + &r: &+ String.valueOf((r)) + & & + &g: & + String.valueOf((g))+ & & + &b: & + String.valueOf((b))); //新建颜色矩阵 ColorMatrix mColorMatrix = new ColorMatrix(new float[] { red, 0, 0, 0,0, 0, green, 0, 0, 0, 0, 0, blue, 0, 0, 0, 0, 0, alpha, 0 }); //使用颜色矩阵过滤图片 iv_change.getDrawable().setColorFilter(new ColorMatrixColorFilter(mColorMatrix));}@Overridepublic void onClick(View v) { switch (v.getId()) { case R.id.btn_origin: a = 0f; r = 0f; g = 0f; b = 0f; tv_dispaly.setText(&a: & + String.valueOf((a)) + &% & + &r: &+ String.valueOf((r)) + & & + &g: & + String.valueOf((g))+ & & + &b: & + String.valueOf((b))); sb_alpha.setProgress(0); sb_red.setProgress(50); sb_green.setProgress(50); sb_blue.setProgress(50); //初始化图片 if(photo!=null) { iv_change.setBackgroundColor(Color.parseColor(&#&)); iv_change.setImageBitmap(photo);} else{iv_change.setBackgroundColor(Color.parseColor(&#&));iv_change.setImageBitmap(photoorigin); } case R.id.btn_save: saveImageView(); case R.id.btn_photo: takephoto(); case R.id.btn_picture: takepicture(); case R.id.btn_see: see(); case R.id.btn_delete: new AlertDialog.Builder(MainActivity.this) .setTitle(&提示信息&) .setMessage(&是否删除路径&+Path+&下的所有文件&+&?&) .setNegativeButton(&确认&,new DialogInterface.OnClickListener() {@Overridepublic void onClick(DialogInterface dialog, int which) {delete();dialog.dismiss();//判断是否完全删除File file = new File(Path);File[] childFile = file.listFiles();if (childFile.length==0) { Toast.makeText(MainActivity.this, &删除成功&, Toast.LENGTH_LONG).show();}else { Toast.makeText(MainActivity.this, &删除失败&, Toast.LENGTH_LONG).show();}} }) .setPositiveButton(&取消&,new DialogInterface.OnClickListener() {@Overridepublic void onClick(DialogInterface dialog, int which) {dialog.dismiss();} }).show(); default: }}//查看文件private void see() { Intent intent = new Intent(); intent.setAction(Intent.ACTION_GET_CONTENT); File file = new File(Path); intent.setDataAndType(Uri.fromFile(file),&*/*&); startActivityForResult(intent, 2);}private void delete() { File file = new File(Path); File[] childFile = file.listFiles(); for (File file2 : childFile) { file2.delete(); }}private void takepicture() {//相册 Intent intentPick = new Intent(Intent.ACTION_PICK, null); intentPick.setDataAndType(MediaStore.Images.Media.EXTERNAL_CONTENT_URI,&image/*&); startActivityForResult(intentPick, 0);}private void takephoto() {//照相 mCurrentPhotoFile= new File(Path,&temp.jpg&); Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); intent.putExtra(MediaStore.EXTRA_OUTPUT,Uri.fromFile(mCurrentPhotoFile)); startActivityForResult(intent, 1);}private void saveImageView() {//自定义文件名 final String path = Path+&/& +getNowDateTime(&yyyyMMddHHmmss&)+ &.jpg&; new AlertDialog.Builder(MainActivity.this) .setTitle(&提示信息&) .setMessage(&是否将文件保存到&+Path+&?&) .setNegativeButton(&确认&,new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) {//设置view可缓存.然后以bitmap获取view的缓存iv_change.setDrawingCacheEnabled(true);Bitmap photofinally = iv_change.getDrawingCache();try {BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(path));//将bitmap压缩存储photofinally.compress(Bitmap.CompressFormat.JPEG, 100, bos);bos.flush();bos.close();bos =} catch (FileNotFoundException e) {e.printStackTrace();} catch (IOException e) {e.printStackTrace();}iv_change.setDrawingCacheEnabled(false);File file = new File(path);dialog.dismiss();if (file.exists()) {Toast.makeText(MainActivity.this, &保存成功&, Toast.LENGTH_LONG).show();}else {Toast.makeText(MainActivity.this, &保存失败&, Toast.LENGTH_LONG).show();} } }) .setPositiveButton(&取消&,new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) {dialog.dismiss(); } }).show();}public static String getNowDateTime(String format) { Date currentTime = new Date(); SimpleDateFormat formatter = new SimpleDateFormat(format);// &yyyyMMdd& String dateString = formatter.format(currentTime); return dateS}@Overrideprotected void onActivityResult(int requestCode, int resultCode, Intent data) { switch (requestCode) { case 0: if (data != null) { //相册uri获取Uri uri = data.getData();//共享相机获取的数据ContentResolver cr = this.getContentResolver();try {//回收bitmapif (photo != null &;&; !photo.isRecycled()) { photo.recycle(); System.gc();}//将好;获取的数据编码成bitmapphoto = BitmapFactory.decodeStream(cr.openInputStream(uri));} catch (Exception e) {e.printStackTrace();}iv_change.setBackgroundColor(Color.parseColor(&#&));iv_change.setImageBitmap(photo); } case 1: //resultCode=-1为成功 if (resultCode==-1) { ContentResolver cr = getContentResolver(); Uri fileUri = Uri.fromFile(mCurrentPhotoFile); //刷新单个文件 sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE,fileUri)); //刷新sd卡 //sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, dirUri));try {if (photo != null &;&; !photo.isRecycled()) { photo.recycle(); System.gc();}photo = BitmapFactory.decodeStream(cr.openInputStream(fileUri));} catch (Exception e) {e.printStackTrace();}iv_change.setBackgroundColor(Color.parseColor(&#&));iv_change.setImageBitmap(photo); } case 2: default: } super.onActivityResult(requestCode, resultCode, data);}}
以上是的内容,更多
的内容,请您使用右上方搜索功能获取相关信息。
若你要投稿、删除文章请联系邮箱:zixun-group@service.aliyun.com,工作人员会在五个工作日内给你回复。
云服务器 ECS
可弹性伸缩、安全稳定、简单易用
&40.8元/月起
预测未发生的攻击
&24元/月起
为您提供0门槛上云实践机会
你可能还喜欢
你可能感兴趣
阿里云教程中心为您免费提供
Android相机相册的调用,图片的存储删除相关信息,包括
的信息,所有Android相机相册的调用,图片的存储删除相关内容均不代表阿里云的意见!投稿删除文章请联系邮箱:zixun-group@service.aliyun.com,工作人员会在五个工作日内答复
售前咨询热线
支持与服务
资源和社区
关注阿里云
International

我要回帖

更多关于 ios 上传相册相机照片 的文章

 

随机推荐