In DroidGap#onCreate we'd have to add a line to activate plugins:
WebSettings settings = appView.getSettings();
settings.setPluginState(PluginState.ON); // Turn Flash plugin on
PluginState can be set to OFF, ON and ON_DEMAND (you'll see an icon
instead of the plugin content, which you have to tap to display the
content).
- Raju
Sent from my iPhone
> --
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to phon...@googlegroups.com
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go to www.phonegap.com
boolean pluginsEnabled = false;
In the generated application class any developer could overwrite that value
with "true" to enable plugins. If you don't do that, anyone planning to use
SWF content on Android would have to modify the DroidGap class or fork
PhoneGap to be able use Flash. HTML5 video playback is still not supported
in Android 2.2, I believe. That means, you can play back video on iOS within
a PhoneGap app, but can't do that on Android.
Just some thoughts...
Am 7/29/10 12:15 PM schrieb "Raju Bitter" unter
<r.bitter.m...@googlemail.com>:
Matthew David
Make IT Happen
P: (920) 389-1212
E: mda...@matthewdavid.ws
B: Web 3.0 Blog
L: Linked In
Do you know a good example of Android plugin, or a plugin template?
- Raju
Android plugins are not quite ready. Maybe next week though. Check out get github.com/davejohnson/phonegap-android in the plugins branch. Look at the command interface (Command.java) and the command manager (CommandManager.java). I will have a sample up soon too.
Let me know what your use case is so that I can make sure things line up.
On Jul 29, 2010 7:01 AM, "Raju Bitter" <r.bitter.m...@googlemail.com> wrote:
Thanks, Matthew. I've found this information on PhoneGap plugins:
http://wiki.github.com/purplecabbage/PhoneGap-Plugins/
Do you know a good example of Android plugin, or a plugin template?
- Raju
On Thu, Jul 29, 2010 at 3:31 PM, Matthew David <matthe...@gmail.com> wrote:
> The best solution...