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.
z2opzj
we68po
2n1o61
ihpyf1
520ize
vysqgs
I don’t know whyether it’s jst mee or iif everyone else encountring problems with our site.
It lookss like some of thhe text inn your poszts are runnijg off thhe screen. Can somebody else ppease
comment annd let me knhow iff this iis happeniing to them as well?
Thhis might bbe a problem with my innternet browswer becaujse I’ve had tthis happen before.
Kudos
Whhen somerone writes an piee off wrting he/she retain thhe image of a usewr
inn his/her brain hat hoow a user can understand it. Thhus that’s why thiks
paragraph iss amazing. Thanks!
Its lkke you learn myy thoughts! Youu sewem too undrstand soo much approximately this,such as youu
wroe the ebook in iit or something. I blieve that you can ddo witth some perceent to
power thhe message home a bit, hlwever instead off that, that
iis magnificent blog. A greatt read. I will certainly be back.
I lobed aas much as yoou will rceive carried oout rikght here.Thee skstch
iis attractive, yojr authoreed subect matter stylish. nonetheless, you command get gott an impatience over that
youu wish be delivering thhe following. unwell unquestionaqbly cone
furthr formerly agaiin sijnce exacly the samee
neary vsry often inside cqse you shield thjs hike.
Sweet blog! I found itt while surfing around
onn Yahoo News. Do youu have anyy suggesstions on how too get
listed inn Yahoko News? I’ve been trying for a whille buut I never
seem to get there! Many thanks
Fine way off telling, andd niice artficle to tke infirmation concerning myy
presentation subject, which i aam ggoing tto
convey inn university.
Howdy! I’m att wok bdowsing your blog from my new iphone 3gs!
Just wanted tto sayy I love readung through youjr blog annd loik
forward too all your posts! Keep uup the outstandiing work!