Skip to content

Instantly share code, notes, and snippets.

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
//