Home > Adobe AIR, Adobe Flash, Adobe Flex, Xuland > FINALLY, Flash Maps for both iOS & Android for Flex & AIR Mobile Projects

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.



Categories: Adobe AIR, Adobe Flash, Adobe Flex, Xuland Tags:
  1. October 21st, 2024 at 03:08 | #1

    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!

  2. October 28th, 2024 at 17:14 | #2

    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

  3. November 11th, 2024 at 01:51 | #3

    Hi there, I enjoy reading through your article.
    I wanted to write a little comment to support you.

  4. November 11th, 2024 at 04:22 | #4

    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.

  5. November 12th, 2024 at 03:42 | #5

    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.

  6. November 14th, 2024 at 01:59 | #6

    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.

  7. November 15th, 2024 at 04:28 | #7

    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!

  8. November 15th, 2024 at 13:53 | #8

    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.

  9. November 26th, 2024 at 01:56 | #9

    z2opzj

  10. November 27th, 2024 at 17:03 | #10

    we68po

  11. December 1st, 2024 at 06:51 | #11

    2n1o61

  12. December 2nd, 2024 at 21:27 | #12

    ihpyf1

  13. December 30th, 2024 at 19:08 | #13

    520ize

  14. December 30th, 2024 at 22:05 | #14

    vysqgs

  15. January 2nd, 2025 at 12:49 | #15

    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

  16. January 8th, 2025 at 02:04 | #16

    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!

  17. January 9th, 2025 at 06:40 | #17

    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.

  18. January 9th, 2025 at 07:58 | #18

    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.

  19. January 9th, 2025 at 20:57 | #19

    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

  20. January 13th, 2025 at 00:54 | #20

    Fine way off telling, andd niice artficle to tke infirmation concerning myy
    presentation subject, which i aam ggoing tto
    convey inn university.

  21. January 17th, 2025 at 09:46 | #21

    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!

Comment pages
1 2 709
  1. No trackbacks yet.