Uri imageFileUri =
context.getContentResolver().insert(
Media.EXTERNAL_CONTENT_URI, new ContentValues()
);
Intent i = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
i.p
我正在製作一個應用程序,發送從相機應用程序拍攝的照片,但它返回的圖像似乎只是一個縮略圖,我怎麼能得到它來打開整個圖像? 以下代碼獲取圖像,但它太小。 public class OnTheJobActivity extends Activity{
private static final int CAMERA_PIC_REQUEST = 1337;
private Button takePic
我正在製作一個程序,拍攝一張照片然後顯示它的縮略圖。 使用模擬器時一切順利,放棄按鈕刪除照片。 但是,在真實設備上,相機意圖將圖像保存在imageUri變量中,而另一個名爲像是我打開相機並單獨拍攝照片那樣命名的圖像。 private static final int CAMERA_PIC_REQUEST = 1337;
/** Called when the activity is first