Note that there are some explanatory texts on larger screens.

plurals
  1. POPhonegap Webview - Show contacts list for Android Only
    primarykey
    data
    text
    <p>I have setup and installed Phonegap on my Eclipse environment together with Android SDKs. Everything seems to be working fine except when I install additional phonegap plugin [https://github.com/phonegap/phonegap-plugins/tree/master/Android/ContactView] with the aim of viewing my contacts list. </p> <hr> <p><strong>Here are the instruction:</strong></p> <p><a href="https://github.com/phonegap/phonegap-plugins/tree/master/Android/ContactView" rel="nofollow">https://github.com/phonegap/phonegap-plugins/tree/master/Android/ContactView</a></p> <hr> <p>now how do I pull the list into my index file under assets/www</p> <p>Help Please</p> <hr> <p>Here is my index file:</p> <pre><code>&lt;!DOCTYPE HTML&gt; &lt;html&gt; &lt;head&gt; &lt;meta name="viewport" content="width=320; user-scalable=no" /&gt; &lt;meta http-equiv="Content-type" content="text/html; charset=utf-8"&gt; &lt;title&gt;PhoneGap Demo With JQuery Mobile&lt;/title&gt; &lt;link rel="stylesheet" href="jquery.mobile/jquery.mobile-1.0.css" type="text/css"/&gt; &lt;link rel="stylesheet" href="pgandjqm-style-override.css" type="text/css"/&gt; &lt;script type="text/javascript" charset="utf-8" src="jquery.mobile/jquery-1.6.4.min"&gt;&lt;/script&gt; &lt;script type="text/javascript" charset="utf-8" src="phonegap-1.3.0.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" charset="utf-8" src="jquery.mobile/jquery.mobile-1.0.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" charset="utf-8" src="main.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" charset="utf-8" src="calllog.js"&gt;&lt;/script&gt; &lt;/head&gt; &lt;body onload="init();"&gt; &lt;div data-role="page" data-theme="b"&gt; &lt;div data-role="header"&gt; &lt;h1&gt;Welcome to Stellar&lt;/h1&gt; &lt;/div&gt; &lt;div data-role="content"&gt;&lt;script type="text/javascript"&gt; window.plugins.CallLog.list('all', successCallBack, failCallBack);&lt;/script&gt;&lt;/div&gt; &lt;div data-role="content"&gt;&lt;a href="tel:411" data-role="button"&gt;Call 411&lt;/a&gt; &lt;div data-role="button" onclick="window.plugins.CallLog.list('all', successCallBack, failCallBack);"&gt;Beep&lt;/div&gt; &lt;div data-role="button" onclick="beep();"&gt;Beep&lt;/div&gt; &lt;div id="viewport" class="viewport" style="display:none;"&gt; &lt;img style="width:60px;height:60px" id="test_img" src="" /&gt; &lt;/div&gt; &lt;/div&gt;&lt;!-- end jqm content --&gt; &lt;div data-role="footer"&gt; &lt;h1&gt;Thanks for being around&lt;/h1&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload