macdonst
9aa1cd756a
Refactor out the Java casting code
...
When we return JSON to the Java side it does not have the proper methods such as Contact.save() so we need to cast the JSON to the correct JS object. This used to be done from the Java layer calling the right method to cast the JSON. In this new approach the JavaScript layer will no what needs to be cast and call it's own internal function to do the cast.
2012-02-09 16:41:26 -05:00
macdonst
664a061d10
Rename to Cordova
2012-02-03 10:38:40 -05:00
Joe Bowser
a35a33c05e
Adding the Apache Headers
2011-10-27 14:04:39 -07:00
macdonst
22a9cabeb9
Updating Contacts for June 16th W3C Spec
2011-07-11 23:18:24 +08:00
macdonst
1d79b6617b
JavaScript cleanup to pass jsHint
...
I did my best to clean up the JavaScript so it would pass through jsHint more cleanly. There still are issues but there are a lot fewer now. This helped to make the JS code more consistent.
2011-05-21 02:31:24 +08:00
defrex
bde59adc04
Add docs and fixed to pass through the Google Closure Compiler without warnings
2011-05-04 16:00:03 -07:00
Bryce Curtis
908485751b
Add check to only init and run JS code once - even if included multiple times.
2011-03-30 13:29:24 -05:00
paulb777
6f4673f590
JSLint clean JavaScript sources. No fatal errors remain. Options can turn off rest of warnings
2011-02-15 16:10:09 -08:00
macdonst
64310dc85c
Fixing clone issue adding photos, removing relationships
2011-01-27 05:59:22 +08:00
macdonst
b353f3608d
Updating to latest W3C spec
2011-01-27 03:41:27 +08:00
macdonst
50b435c4d1
Following File API spec.
2010-11-25 03:11:43 +08:00
macdonst
1c5aa6cd00
Adding a cast for contacts.find()
2010-11-20 01:42:52 +08:00
macdonst
c1a87ebaaa
Adding and optional call to cast Plugin Result
2010-11-20 01:42:43 +08:00
macdonst
5f55ebf1d9
Adding Contact.save() for Android 1.X and Android 2.X
2010-11-13 05:34:44 +08:00
Bryce Curtis
6b7fc8119f
Rename PhoneGap.execAsync() to PhoneGap.exec() and change all JS files that use it.
2010-10-20 23:53:33 -05:00
Bryce Curtis
60fc61065e
Fix variable change error.
2010-10-18 16:02:42 -05:00
Bryce Curtis
de23753204
Update license and copyright notices in each source file. PhoneGap is licensed under modified BSD and MIT (2008).
2010-10-18 15:31:16 -05:00
macdonst
9cd4d4c603
Adding comments to Contact code
2010-10-19 04:06:49 +08:00
macdonst
bc086cb93d
Setting ContactFindOptions to correct defaults
2010-10-19 00:30:00 +08:00
macdonst
72b2ec804c
Removing unused functions
2010-10-07 06:17:24 +08:00
macdonst
2bbf62c489
Fixing Contacts.find to use PluginResult
2010-10-04 09:50:48 +08:00
macdonst
c80397ad68
Fix duplicate method name
2010-10-02 05:11:06 +08:00
macdonst
c91ea37438
Adding Contacts.create method
2010-10-02 05:10:42 +08:00
macdonst
6071b9c75a
Adding Contact.remove method
2010-10-01 11:22:20 +08:00
macdonst
297ddb99fe
Adding clone functionality to Contact object
2010-10-01 00:01:30 +08:00
macdonst
a9f057c278
Cleaning up some accessor code
2010-09-24 11:43:10 -04:00
macdonst
ca4d7f7fd2
Adding queries for addresses and organization
2010-09-17 17:15:30 -04:00
macdonst
0a2d7bf536
reducing code
2010-09-17 10:24:22 -04:00
macdonst
8da131cc45
Changed search function to take filter and option parameters
2010-09-16 11:35:49 -04:00
macdonst
d955502ca2
Fixing whitespace
2010-09-14 14:51:31 -04:00
macdonst
3f24c63fc5
Changing navigator.contacts to navigator.service.contacts
2010-09-14 14:21:20 -04:00
macdonst
b78896e5f0
Modify ContactFindOptions to pass Mobile Spec tests
2010-09-14 14:21:20 -04:00
macdonst
0efe871efe
Adding new data model to contact.js to conform to W3C spec
2010-09-14 14:21:20 -04:00
Bryce Curtis
afd278cf80
Modify contacts to use async plugin. Contacts doesn't work on Android, but needed to update JS side to work with plugin.
2010-09-10 14:54:31 -05:00
Bryce Curtis
9e931cc3f6
Change to use Commands and CommandManager.
2010-09-07 10:39:55 -05:00
filmaj
76a8203176
Fixed small contacts and accelerometer object instantiation bugs. Added a bit more delay to PhoneGap constructor, 1ms caused issues sometimes I *think*.
2010-02-13 18:58:45 -08:00
Brian LeRoux
e3dc010b97
reorg of project assets
2010-01-26 13:54:02 -08:00