Android開發之調用攝像頭拍照

如今不少應用中都會要求用戶上傳一張圖片來做爲頭像,首先我在這接收使用相機拍照和在相冊中選擇圖片。接下來先上效果圖: java 接下來看代碼: 1,佈局文件:android <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xm
相關文章
相關標籤/搜索