mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-30 00:00:04 +08:00
Work on contacts
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user