mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-04 00:02:03 +08:00
Fix problem in Android template example getPicture
This commit is contained in:
@@ -88,7 +88,7 @@ function dump_pic(data) {
|
|||||||
viewport.style.position = "absolute";
|
viewport.style.position = "absolute";
|
||||||
viewport.style.top = "10px";
|
viewport.style.top = "10px";
|
||||||
viewport.style.left = "10px";
|
viewport.style.left = "10px";
|
||||||
document.getElementById("test_img").src = "data:image/jpeg;base64," + data;
|
document.getElementById("test_img").src = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
function fail(msg) {
|
function fail(msg) {
|
||||||
|
|||||||
Reference in New Issue
Block a user