問題描述
有人知道模擬器相機啟動時可以打開一些個人照片嗎?
Does anybody know is it possible to open some personal picture when emulator camera starts?
我有一個基于圖像分析的應用程序,我希望當我單擊相機的按鈕時,相機會打開而不是默認的 Android 模擬器移動圖像.我希望它打開一些我設置為默認圖像的圖像.因此,當我選擇拍照時,它只會顯示該圖像,而當我拍照時,該圖像將保存到圖庫,而不是 Android 默認圖像.
I have an application which is based on image analysis and I would like when I click a button for camera that camera opens not that default Android emulator moving image. I want it to open some image which I set as a default image. So when I choose to take a picture it will show only that image and when I take a take a picture, that image will be saved to gallery, not Android default image.
推薦答案
從以下網址下載源碼.這是模擬器中的另一個畫廊.在傳遞從相機捕獲圖像的意圖時,選擇此圖庫.這看起來像三星移動 3d 畫廊.. 這將返回默認圖像.. 在模擬器中.還有一件事,它只在 3.0 版本之后才能正常工作.
Download the source from following url . This is work as the another Gallery in the emulator. While passing intent to capture image from camera choose this gallery. this is looks like samsung mobile 3d gallery.. this will return the default images.. in emulators . one more thing it will work fine after 3.0 versions only.
https://github.com/c-jiang/Gallery3D-Mod
這篇關于Android模擬器相機自定義圖片的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!