html5
js_dada
目标是全栈工程师!!!
展开
-
XCode phonegap_2.8.1开发部署
先从官方网站http://phonegap.com/下载最新版的PhoneGap,当前最新版本为2.8.1。下载了配置包,并解压,直接进入IOS文件目录,找到一个bin文件夹。把这个文件夹直接拖拉到Terminal终端的程序图标,就会弹出一个Terminal终端窗口,在这输入:./create ~/Documents/CordovaXY/HelloWorld org.apache.原创 2013-06-13 14:38:52 · 2069 阅读 · 0 评论 -
PhoneGap-----Accelerometer
Everything in the code!!!!Acceleration Example var watchID = null; document.addEventListener("deviceready",onDeviceReady,false); function onDeviceReady() { startWatch(); } functio原创 2013-06-24 10:34:23 · 1063 阅读 · 0 评论 -
PhoneGap-----Device Infomation、Network State and four kinds of Notifications
The first , we can lead how to get the device Infomation ! It's very convenient by Phonegap ! At least , I think so !My Device function onLoad() { document.addEventListener("device原创 2013-06-24 09:38:10 · 1571 阅读 · 0 评论 -
PhoneGap-----Geolocation
Everything in the code!!!Device Properties Example document.addEventListener("deviceready",onDeviceReady,false); var watchID = null; function onDeviceReady(){ var options = { frequen原创 2013-06-25 10:27:52 · 1229 阅读 · 0 评论 -
Phonegap-----Media
Everything in the code:Media Example var my_media = null; var mediaTimer = null; var music_src = "/android_asset/www/music.mp3"; document.addEventListener("deviceready",onDeviceRea原创 2013-06-26 11:14:31 · 2021 阅读 · 0 评论 -
PhoneGap-----DataBase
EveryThing in the code!!!DataBase Example document.addEventListener("deviceready",onDeviceReady,false); function populateDB(tx){ tx.executeSql('DROP TABLE IF EXISTS test1'); t原创 2013-06-27 15:14:01 · 1236 阅读 · 0 评论 -
PhoneGap-----Contacts
Everything in the code!!! Contact Example document.addEventListener("deviceready",onDeviceReady,false); function onDeviceReady(){ var options = new Contac原创 2013-07-01 17:28:18 · 1047 阅读 · 0 评论 -
PhoneGap-----event in the Code
PhoneGap Event Example document.addEventListener("deviceready",onDeviceReady,false); function onDeviceReady(){ //To detect when the device is ready, use the deviceready event. do原创 2013-06-21 11:57:16 · 1185 阅读 · 0 评论