Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install Flash or AIR on INTEL Android (Android-x86)?

I'm porting a Flash 8 application to Android, and don't have an Android device.

I've got the emulator installed, but find it deathly slow.

I've also got Android 2.2 installed in VirtualBox using

http://www.android-x86.org/

and it works great. 10x better than the emulator for speed.

My problem: I haven't been able to figure out how to get Flash or Air installed in Android-x86 (an Intel version of Android). This may be because all the Flash apk's I've found are ARM based. Does anyone know if there are any Flash apk's for Intel based Android? Or libflashplayer.so built for an intel based Android anywhere?

Any ideas? Thanks!

Edit: Major Suggestion

Instead of using Android x86, consider using the Haxm acceleration from Intel to speed up your ARM emulation by about 10x. I've been doing this for other projects, and it's been faster than using a device

http://software.intel.com/en-us/articles/speeding-up-the-android-emulator-on-intel-architecture


Major Note: I had an employee from Adobe respond that it's not officially supported yet (Apr 2011).

http://forums.adobe.com/thread/838875?tstart=0


Note: It does appear that an intel based libflashplayer.so must exist somewhere, as the Logitech Revue, which runs the GoogleTV version of Android on an Intel processor, is out:

http://androidspin.com/2010/10/25/logitech-revue-strips-down-showing-its-1-2ghz-processor/


Note: I've tried to install the Market (so I could install Flash via the market) using various suggestions on the web, with no real success. It installs, but fails whenever I try and load it with

The application Market (com.android.vending) has stopped unexpectedly. Please try again.

I've Cleared the Cache and Data for the Market app, with no success.

I've also tried installing various Flash APK files I found on the web by loading them through the browser, with no success either. This does work for other APK's, but not the Flash ones, and I think it's because the APK's I've found are all ARM based, not Intel based.


Note: I've also tried installing any APK's using adb connect IP-OF-VM, then doing installs, but no luck there either.

Thanks!

like image 607
Brad Parks Avatar asked Apr 07 '11 01:04

Brad Parks


2 Answers

There is no guarantee that this is possible. Adobe supports Flash/Air on a specific set of devices only. http://www.adobe.com/flashplatform/certified_devices/

I don't mean to be discouraging, but here is my experience: back in the day (i.e. Nov 2010) Adobe made available a public beta of "Flash Pro Extension for Air" (this has since been removed from the Adobe site; see http://labs.adobe.com/technologies/flashpro_extensionforair/). That release contained two Air runtimes: one for physical devices and one for the emulator. I remember that the emulator runtime would only work in avd's running Android 2.2 (neither 2.1 nor 2.3 worked). What I'm trying to say is that this stuff is finicky. I wish you luck, but do not think you will get it to work. In particular, Flash may well check for an ARM v7 processor, which the Android-x86 environment does not have. http://www.adobe.com/products/flashplayer/systemreqs/#mobile

Here's a little more info; the android-x86 forums are probably a better place to look for help on this than SO: http://groups.google.com/group/android-x86/browse_thread/thread/a5bba0d781773928/7abafab2f9cca714?lnk=gst&q=flash#7abafab2f9cca714

Edit: I like your thinking in re Logitech Revue, but I suspect the Google TV folks just cobbled together a stripped-down flv streamer, not a full, swf-capable flash player.

Edit: Any chance you could work with Wallaby?
http://labs.adobe.com/technologies/wallaby/

Edit: Maybe try asking Veronique Brossier? (author of "Developing Android Apps w/Adobe Air") email address at top right of this page: http://www.flashgoddess.com/html/spotVBrossier.html

Edit: Two other factoids for your edification...
Last week Adobe announced CS5.5, with previously beta Android support now officially rolled in. Obviously, this does nothing solve your problem, but should give you some idea of Adobe's strategy (HTML5, multiplatform...).
I very much like the suggestion that you buy a device--no one develops for Android for long without one. The "problem" here is that Virgin Mobile's deal is by far the best, but with one big catch: the LG Optimus V does not support Flash/Air. The fact that non-Flash-capable phones are still being sold like hotcakes was one of the factors that made me drop Flash for my current projects. That was painful, but sometimes life is tough. :-)

like image 63
12 revs Avatar answered Oct 23 '22 03:10

12 revs


Flash Player installation

I've tested it on Genymotion Android 5.0 emulator in Firefox browser
Author tested it on some Asus x86 devices in Next Browser and stock browser

Source (russian): http://4pda.ru/forum/index.php?showtopic=604485&st=0#entry34325102

Flash Player version is: 11.1.115.81

Prerequisites:
- root rights

Steps:
1) uninstall Flash Player if it's already installed
2) download archive from source (russian forum with registration) or from mirrors
3) copy flashplayer.apk from archive to /system/app
4) change permissions of flashplayer.apk "rw- r-- r--" (you may use Root Explorer app)
5) in /system/lib create new directory "plugins" and set it's permissions as "rwx r-x r-x"
6) in /system/lib/plugins create new directory "com.adobe.flashplayer" and set it's permissions as "rwx r-x r-x"
7) copy libflashplayer.so from the archive to system/lib/plugins/com.adobe.flashplayer and set it's permissions as "rwx r-x r-x"
8) reboot device
9) launch Flash Player, if page with settings loaded -> enjoy

like image 37
janot Avatar answered Oct 23 '22 03:10

janot