Bryce Curtis
4a25d780ce
Optimize enumerations as suggested by @plowman.
2011-11-22 14:36:24 -06:00
Bryce Curtis
0bbcf5cfd2
Add onMessage(id, data) to plugin API.
...
A solution was needed to notify the audio player to pause when a phone call comes in. The option was to add a specific onPhone() method or generalize it. Since there are other "events" that are useful to plugins, a generalized solution was used. It is also extensible without changing the plugin API again.
Any plugin can call DroidGap.onMessage() to send a message/event to all other plugins. NetworkManager was updated to send changes in connection status to plugins, so they can intelligently handle lost connections.
2011-11-09 10:34:49 -06:00
Joe Bowser
5a40613ccc
Switching to ASF header for Callback
2011-10-27 12:04:54 -07:00
Kevin Griffin
381d1615b4
formatting
2011-08-09 23:19:50 -04:00
Kevin Griffin
ad8086fab5
exposing volume control
2011-08-09 23:18:01 -04:00
macdonst
ca5e141b5b
Changing Media class to return seconds
...
The media commands getCurrentPosition() and getDuration() will now return seconds (float) instead of milliseconds to line up with iOS and the docs.
2011-05-27 01:54:48 +08:00
kernelsandirs
ffbc010d7b
Added Media.seekTo(int milliseconds);
2011-05-04 11:51:26 -07:00
kernelsandirs
b94eedaf07
Added Media.seekTo(int milliseconds);
2011-05-03 21:27:08 -07:00
macdonst
92a1e4a2d9
Remove destroyed AudioPlayer from list of AudioPlayers
2010-12-23 02:51:39 +08:00
macdonst
2504db13d7
Adding release method to Media object
2010-12-23 02:44:52 +08:00
Bryce Curtis
b66535a17d
Introduce PhonegapActivity class to separate plugin development from base Phonegap.
2010-11-06 03:10:28 +08: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
9adb85a64b
Add callbackId to Plugin.execute() so result can be sent back when overlapping calls to same plugin occur.
2010-10-06 12:56:34 -05:00
Bryce Curtis
68146329b9
Add IPlugin interface and change Plugin to be abstract class. Plugins can either implement IPlugin or extend Plugin.
2010-10-06 12:56:34 -05:00
Bryce Curtis
1c0de5ad8d
Change hasReturnValue to isSynch to be more accurate about purpose of method.
2010-09-13 11:01:44 -05:00
Bryce Curtis
a13b8fc124
Implement ReturnValue() for each plugin.
2010-09-10 11:34:06 -05:00
Bryce Curtis
4f360c2680
Change commands to plugins.
2010-09-07 13:59:54 -05:00
Bryce Curtis
9e931cc3f6
Change to use Commands and CommandManager.
2010-09-07 10:39:55 -05:00
Bryce Curtis
40997b4cb8
Update classes to use module, and make constructors consistent.
2010-09-03 17:24:55 -05:00
Bryce Curtis
90b708fe83
Update audio playback and recording.
2010-08-31 15:39:37 -05:00
Joe Bowser
945c0d95e6
Removed PhoneGap.java, renaming to device and audio
2010-06-09 10:24:35 -07:00
Joe Bowser
d012235bc2
Initial Move of the Javascript OUT of the shared directory: Android
2009-11-17 10:38:49 -08:00