Work on contacts

This commit is contained in:
Joe Bowser
2009-11-02 15:43:09 -08:00
parent 25ff4b0eba
commit 7ead5ec2d8
7 changed files with 57 additions and 32 deletions
+7 -1
View File
@@ -87,6 +87,11 @@
alert(fail);
}
function foo()
{
ContactHook.findContacts();
}
function init(){
document.addEventListener("touchmove", preventBehavior, false);
setTimeout(deviceInfo, 1);
@@ -112,7 +117,8 @@
<a href="tel://411" class="btn large">Call 411</a>
<a href="#" class="btn" onclick="beep();">Beep</a>
<a href="#" class="btn" onclick="vibrate();">Vibrate</a>
<a href="#" class="btn large" onclick="show_pic();">Get a Picture</a>
<a href="#" class="btn" onclick="show_pic();">Get a Picture</a>
<a href="#" class="btn" onclick="foo();">Fire Contact Code</a>
<div id="viewport" class="viewport">
<img style="width:60px;height:60px" id="test_img" src="" />
</div>