macdonst
24ad506da5
Fixing JavaScript comparrison issues
2011-09-30 14:26:48 -04:00
macdonst
80695ec5e4
Fix issue with DATA_URL and refactor code
2011-09-30 11:30:04 -04:00
macdonst
67393c516e
Adding video select to getPicture to line up with iOS
2011-09-29 14:49:34 -04:00
macdonst
2bf765897b
Normalize Android Camera.takePicture with iOS and BB versions.
...
Both iOS and BlackBerry support the PNG image format so I added support for Android.
Also, iOS and BB use targetWidth/targetHeight to specify the resolution of the image. I've swiched from using maxResolution to targetWidth/targetHeight in this change list.
2011-07-26 12:18:04 +08:00
Joe Bowser
648e56cb67
Merging maxResolution
2011-07-21 13:15:52 -07: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
Ron Reiter
307f9d1871
Add maxResolution flag
2011-04-04 02:57:10 +03: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
Bryce Curtis
831670e4ae
Modify camera to use NO_RESULT, thus eliminating extra JS callback methods.
2010-10-27 21:33:50 +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
29549b835a
Add error checking around user callbacks.
2010-10-18 16:04:39 -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
Bryce Curtis
0895083f1f
Use same option name as iPhone.
2010-09-16 12:47:13 -05:00
Bryce Curtis
92d2b5812c
Change camera to be more consistent with iPhone and BB widgets. Add support to choose image from library instead of only camera.
2010-09-16 11:31:42 -05:00
Bryce Curtis
53fca124ab
Modify camera capture to use async plugin. Use option instead of method to specify capture type (base64 or file).
2010-09-10 14:45:32 -05:00
Bryce Curtis
9e931cc3f6
Change to use Commands and CommandManager.
2010-09-07 10:39:55 -05:00
Bryce Curtis
1febba48ff
Moved camera code from DroidGap into CameraLauncher. Added comments and error messages.
2010-09-02 11:27:48 -05:00
Brian LeRoux
e3dc010b97
reorg of project assets
2010-01-26 13:54:02 -08:00