我有一张拍摄照片的意图,拍下照片后我拿到了
this.imagen = imageReturnedIntent;
this.lol = imagen.getExtras();
我在Bundle上获得了“额外”,但是我需要它在Uri中,因为在获取“数据”之后我将它发送到AsynTask:
UploadDatabaseAsyncTask async = new UploadDatabaseAsyncTask();
async.execute(data); // Where "data" should be the Uri
编辑:我试图让Uri像这样,但数据为空
intent.getdata();