FINALLY, Flash Maps for both iOS & Android for Flex & AIR Mobile Projects
After recently diving into Flex 4.5.1 and starting several mobile AIR-based projects, I ran into an issue with the Google Maps SDK when testing under iOS devices.
Long story short, it didn’t work.
The Google Maps Flash API works great under Android when the mobile project is deployed as an AIR-based application, but when compiled through the PFI (Packager for iPhone) bundled into AIR 2.7 it simply doesn’t ever load.
After a little investigation, the most likely cause was the fact that the Google Maps Flex API attempts to load external SWF’s at runtime from the Google map servers, which is strictly forbidden by Apple’s terms of service thus rendering this functionality completely disabled.
This functionality works fine under Android devices and was actually a pleasure to use, however without iOS, the joy of working with Adobe’s new Flex 4.5.1 SDK quickly subsides and is replaced by frustration.
There are workarounds for iOS, namely through the usage of the JavaScript-based Google Maps SDK and Flex 4.5′s own StageWebView class which can display external HTML content over the Flash content.
Unfortunately, Flex cannot interact with StageWebView content making it very difficult for some apps to function normally as they would in a normal Flash-based SWF rendered through the browser. My own application, Xuland, which depends heavily on the Google Maps SDK required many changes before I could test it’s mobile-version on my iPad.
I can get by with StageWebView, but I prefer a Map object that Flex can interact with directly, apply markers, dynamically zoom or geolocate, etc without having to re-load a URL from my external web-server.
Just today, MapQuest has released a Flex-version of it’s Flash Maps API which supposedly works well under both iOS and Android. I haven’t tested this but I will later tonight for sure
For everyone else, here’s a link to MapQuest’s Developer Reference page and API:
MapQuest Developer Network:
http://developer.mapquest.com/web/products/beta
MapQuest Flash Map Mobile API:
http://developer.mapquest.com/content/as3/v7/7.0.2_MQ_MOBILE_B1/documentation/devref/index.html
Follow me on Twitter for more Adobe Flex & AIR Mobile news and announcements.
Pretty nice post. I just stumbled upon your weblog and wished to say that I have
really enjoyed surfing around your blog posts. After all I’ll be subscribing to your feed
and I hope you write again very soon!
This blog is definitely rather handy since I’m at the moment creating an internet floral website – although I am only starting out therefore it’s really fairly small, nothing like this site. Can link to a few of the posts here as they are quite. Thanks much. Zoey Olsen
Hi there, I enjoy reading through your article.
I wanted to write a little comment to support you.
I do believe all the ideas you’ve presented to your post.
They are very convincing and can definitely work. Still, the
posts are too brief for newbies. May just you please lengthen them a
bit from subsequent time? Thanks for the post.
FitSpresso offers a powerful blend of natural ingredients that operate together to help you reach your fat loss targets.
Metabolism affects the rate at which calories
are utilized, and FitSpresso contains ingredients that help accelerate this rate.
With its blood sugar-stabilizing ingredients, FitSpresso keeps unhealthy cravings at
bay, enabling you greater control over eating habits.
For people interested in casual connections, AdultFriendFinder provides a diverse user base that caters to various preferences.
With millions of members, you get access to
people from all backgrounds, so you’re more likely to find someone with
compatible interests.
If you’re unfamiliar with dating sites, you’ll find it user-friendly
and interactive for both beginners and experienced users.
In summary, AdultFriendFinder is an ideal choice for those looking for open-minded connections with many potential matches.
|With its easy interface and extensive network,
it’s no surprise that AdultFriendFinder has such a strong following.
Hi this is somewhat of off topic but I was wanting to know
if blogs use WYSIWYG editors or if you have to manually code with HTML.
I’m starting a blog soon but have no coding know-how so I wanted to get guidance
from someone with experience. Any help would be greatly appreciated!
I have been surfing online more than three hours today, yet I
never found any interesting article like yours. It is pretty worth enough for me.
In my view, if all site owners and bloggers made good content
as you did, the net will be a lot more useful than ever
before.