We have a peculiar problem if anyone has run into anything similar. We have a fairly large mobile app, built with Apache Flex 4.10 and Air 3.8. Runs beautifully on iOS. Screens are quick to load, scrolling is smooth and the app is almost desktop like. However, on an Android device, it runs painfully slow. Same codebase, both modern devices, everything same. It takes about 4 times as long to run on android as on an iOS device. Any ideas?
The issue turns out is specific to Galaxy Tab 3 10.1. Same app runs significantly faster on a much older beat up Samsung Galaxy Note 2.
Other folks are running into the same issue. (http://forums.adobe.com/message/5773513) . This device ships with an Intel based chip. Air is not supported on Intel x86 based Androids (atleast from their tech specs) http://www.adobe.com/products/air/tech-specs.html
===============
Android
ARMv7 processor with vector FPU, minimum 550MHz, OpenGL ES 2.0, H.264 and AAC HW decoders
Androidâ„¢ 2.3 and above
256MB of RAM
===============
Really not sure what other folks are doing to combat this, The galaxy tab is probably going to be among the most popular Android devices this holiday season. Does anyone have a similar experience?
When an AIR app is exported to iOS, it is compiled to native code. The Android version is compiled to the AVM bytecodes and is interpreted. This is probably the difference in performance.
I know there have been some requests to compile AIR apps to native Android code, no idea what plans are in place for this.
Related
Can we develop an application using JavaFX and run it on multiple platforms, including mobile(Android, iOS) and Desktop(Windows, Mac, Linux) as well?
Latest Oracle MAF (2.1.2) runs on both Android and iOS.
http://www.oracle.com/technetwork/developer-tools/maf/documentation/maf212certmatrix-2524539.html
Support for Windows phones it has been in talks for a while, it will won't be long until Oracle will make it available.
JavaFX is supported on Windows, Mac and Linux. It is not supported on iOS or Android although there are third party solutions provided by the community for that (RoboVM for iOS). This might be the reason you were unable to find instructions on how to set up Android Studio with JavaFX.
Generally JavaFX 8 is very reliable on all three platforms. Please note that JavaFX 1 is an entirely different thing than JavaFX 2 and 8. Not only does it rely on JavaFX Script instead of Java, it also focusses more on browsers and mobile devices.
I was wondering if the iOS Simulator can some how actually simulate the processor speeds of the iPhone 5, iPad 4(retina) and iPad 3 found at this link:http://browser.primatelabs.com/ios-benchmarks
For example if I run an app I create in xcode on the iPad 3 will it run twice as fast on the iPad 4?
This isn't possible. The iOS simulator doesn't even use the same architecture (it's compiled for the Intel chipset as opposed to ARM), hence you can't (at least in the current incarnation) do this.
On a similar basis, the performance information within Instruments is only meaningful when run on a device.
no, it only simulates on the OS, it actually did not check the limitation of processor and RAM
This may appear at first a bit of a general question, but its actually quite specific.
Is it feasible to use (or worth buying) a multi-touch monitor for developing and testing mobile Flex/Air applications? For instance one could use the Android emulator and package their Air 2.5 app to run in the emulator, and then use the multi-touch LCD to test it out. Rather than continually downloading the app to the mobile device.
Has anyone tried this?
Brian
I don't think that would work. The problem here is the hardware isn't connected to the software the same way as on a device (which goes through firmware). In this case, it's going through the OS (which I'm not even sure support multitouch) and then the emulator(which I'm not positive will even take in multitouch input from the OS). The emulator might not even have multitouch code in it.
I would stick with using the device. I don't see why that's a problem. If you streamline the compile/deploy/debug process, it's even easier than using the emulator.
I want to getting flexible with Sencha Touch. I write my codes and viewing on Google Chrome well but I am searching an Ipad and Iphone simulator/emulator runs on Windows. I want to look and feel my codes in Ipad and IPhone. Is there any simulator/emulator available for Windows?
Thanks.
EDIT: There is no emulator or simulator for Windows. However PhoneGap is available on Mac OS and really made great improvements by months. If you use Mac OS and need something like this I strongly recommend PhoneGap. If you need this tool in Windows, probably there is no other way then install Mac OS a virtual machine on Windows.
I think you might be thinking of the PhoneGap Simulator. It's an Adobe Air app so it will run on anything and while It's meant to be used with the hybrid framework, Phonegap, you can put any URL into the app. It is helpful for debugging web based apps, but it may not be workable for your needs.
Alas, they do not have a device profile for the iPad.
I've a Samsung Omnia i900 that runs Windows Mobile OS. Believe it or not, but nowhere on the Internet can I find information on running a JavaFX application on it. Is it possible?
JavaFX Mobile is now available in Early Access for Windows Mobile devices. You can download the binary from javafx.com.
As far as I can tell, JavaFX Mobile hasn't been released. Some of the pre-release tools worked on Windows Mobile (judging by some blog posts) but that support was dropped from the 1.0 release.
JavaFX 1.1 is meant to have Windows Mobile support, but it looks like that's on the development side rather than on real devices - the fact that there's a mobile emulator as one of the key features for JavaFX 1.1 is quite telling.
According to the FAQ:
2.4 How can consumers get JavaFX on their handsets?
Sun is working with Mobile Device
Manufacturers and Mobile Operators to
enable out of the box support for
JavaFX content by preloading the
JavaFX Mobile runtime with their
devices
That doesn't exactly sound encouraging for being able to get it on your handset right now. I may be missing something, but I certainly couldn't find anything to download...