This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function show_pic() | |
{ | |
var viewport = document.getElementById('viewport'); | |
viewport.style.display = ""; | |
var backdrop = document.getElementById('backdrop'); | |
backdrop.style.display = "none"; | |
// | |
// This brings up the Camera App and gets the picture, and calls dump_pic() | |
// with the picture data as a Base64-encoded string | |
// |