Re: [android-developers] Re: Run Flash on Android Emulator?
On Fri, Aug 12, 2011 at 8:22 AM, dhirendra <dhirendraiiitm@gmail.com> wrote:
> Do you know how to embed flash animation into my android
> application(flash on app start) which is not browser based?
There may be a way to show the Flash in an app via a WebView, but I
have not tried it, and I see enough support questions about it that I
suspect it may not be very straight-forward.
Beyond that, no, it is not possible.
> If not possible, is their anyway i can load webview for flash to just
> show that animation and than go to my application which is not webview
> based.
In theory, you could use addJavaScriptInterface() to expose something
in the JavaScript environment of the page loading the Flash animation,
that the Flash animation could call via the Flash-JavaScript bridge.
The interface could start another activity and call finish() on the
current one. I have no idea if this works, and I suspect that it would
be simpler for you to convert the FLV into an MP4 and play it with
VideoView.
Furthermore, I *really* detest opening animations like this. They add
no value, waste the user's time, and suck up device resources. If you
are going to have one, give the user a setting to turn it off, so they
are not irritated by it every time they use your app.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0
Available!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home