Google Maps for Flash in AIR for Android: ~2 minutes to start up

I have a "Hello World" style AIR for Android app using Flash Builder 4 Burrito/Flex Hero.
When debugging on device (stock HTC Desire) using Flex version v1.20 of Google Maps for Flash (map_flex_1_20.swc), it takes 1 minute and 50 seconds for the app to startup to display a simple map:Map3D on the home screen. The same app without the map:Map3D object starts in just a few seconds.
There are no startup delays using the simulator.
Anyone know what might be causing the severe startup delay when running on device?
Thanks,
Stephen

Hi - yes no problem: I've uploaded a sample app here: http://crackedfrog.com/files/AndroidAIRMap.zip.
You'll need to add a valid Google Maps API key and corresponding URL back into the maps:Map3D object:
<maps:Map3D left="0" right="0" top="0" bottom="0"
  xmlns:maps="com.google.maps.*" id="map"
  url=""
  key=""
  sensor="false"/>
This shows the same behaviour as described above - around 2 minutes to start up when debugging on the device.
Appreciate any help.
Thanks,
Stephen

Similar Messages

  • Google Map in Flash

    Hi friends,
    I am trying to put a google map into my flash website or
    aplication. If someone can help me, it will be helpful to me to
    finish my project, i got struct up.. pls...
    i want to insert some particular place maps in flash
    application. like while click on contact location, i want to show
    my flash application map. or embed in my web page.
    Thanks in advance,
    Rahimhaji

    Hello, did you have any success getting google maps in Flash.
    the google maps api exist now, I am having problems positioning the
    map on specific co-ordinates on my stage - any ideas?
    Richard

  • Google Maps in Flash

    Hi, I've been researching embedding google maps in Flash and have followed the Google Maps API developers guide (after downlaoding and installing the SDK and generating a key).  I'm currently using the foloowing code,m but it doesnt seem to work I'm not even seeing the map, and Im getting errors relating to the controls elements I've added.  Can anyone help?
    import com.google.maps.LatLng;
    import com.google.maps.Map;
    import com.google.maps.MapEvent;
    import com.google.maps.MapType;
    import com.google.maps.Controls;
    var map:Map = new Map();
    map.key = "ABQIAAAAdrPixq2HTFFowI9qjk74wxRIyoY1_2mmZno9JS0jJW-gT85BPRRotnr4suVY_4iicnk27GnnECcjXQ";
    map.setSize(new Point(stage.stageWidth, stage.stageHeight));
    map.addEventListener(MapEvent.MAP_READY, onMapReady);
    this.addChild(map);
    function onMapReady(event:Event):void {
      map.addControl(new ZoomControl());
      map.addControl(new PositionControl());
      map.addControl(new MapTypeControl());
      map.setCenter(new LatLng(53.535192,-2.00475), 14, MapType.NORMAL_MAP_TYPE);
      var m:Marker = new Marker(new LatLng(53.535192,-2.00475));
      map.addOverlay(m);

    Hi there. I downloaded the SDK myself and managed to solve your problem. It's because of your imports.
    First of all make sure the .swc file is in your library ( found in the lib folder called "map_1_18" )
    (Whilst in Flash) Press Ctrl+U to open up the preferences, then go to the Actionscript category and select "AS3 settings"
    Press the red button to browse to your .swc file.
    Also have the SDK in your directory.
    Then change your imports to this;
    import com.google.maps.LatLng;
    import com.google.maps.overlays.Marker;
    import com.google.maps.Map;
    import com.google.maps.MapEvent;
    import com.google.maps.MapType;
    import com.google.maps.controls.*;
    You forgot to add one, and also you were importing the Controls folder and not the contents. ...And your map should debug perfectly. Happy Mapping!

  • How to add Google Ads or similar in "AIR for Android" application?

    Hello,
    I have developed my android application (AIR for Android) in Flash Professional CS5.5. It's completed and fully tested on multiple android phones. Now I want to add Google Ads in my application to make some money.
    What I already know:
    I know that Adobe provides AdMob native extension API which allows you to add Google Ads in your app. But unfortunately, it's not free.
    What I want:
    I want a free resource through which I can add ads in my application.
    Please guide me how can I achieve this?
    Thanks in advance,
    momersaleem

    Yes, its for me broken, too.
    I found the link in this thread:
    http://forums.adobe.com/message/4036804
    Maybe try to contact the author or one of the thread participants for an unbroken version?

  • Best practice for images. Air for Android

    Hey guys...
    I was thinking about the best solution when it comes to images storage for Air on Android.
    Since I dont have much experience with non-web based apps, I thought of two way and I would like to know your thought on them.
    1.Application Storage Directory. If I get it right, this folder is created when the app is installed and the project can access files in it. Any idea on how this can work with images?
    2.Database. My app uses a local database anyway so maybe that the proper way to do it. I've done some research and found out that the image must be converted to a byte array (thats easy) but then I dont have a clue on how to save it to the database.
    So? Which one is better for the mobile world?
    Also, if there are other ways let me know please.

    While I am no expert in this area, I did run across this blog:
    http://www.remotesynthesis.com/post.cfm/local-caching-of-remote-images-in-air-for-android
    It deal with local caching of remotely loaded images.  Should be exactly what you are looking for.
    Darren

  • Flash CS6 AIR for iOS 接続されたiOSデバイスにアプリケーションをインストールできない

    Flash Professional CS6 AIR for iOSにて、iPhoneアプリを制作~公開している者ですが、
    アップデート作業時、急にデバイステスト(接続されたiOSデバイスにアプリケーションをインストール)が出来なくなり、
    困っています。
    開発環境は以下の通りです。
    ・Flash Professional CS6
    ・Windows 7(32bit)
    ・AIR SDK:3.5.0.880 for iOS
    設定等は特に変えていないのですが、
    検証機のiPhone 5(iOS6.1.2)、iPhone 4(6.0.1)へクイックパブリッシュでインストールしようとすると、
    "Installation Error: ApplicationVerificationFailed
    デバイスエラー: デバイスに十分な容量があるか確認してください"
    というエラーが出ます。
    もちろんデバイス側には十分な容量がありますし、
    エラーの英文と和文も内容的に食い違っているように見えます。
    いろいろ調べて、以下の項目を試してみましたが、
    状況は変わりません。
    ・証明書(開発用)を再発行して読み込み
    ・プロビジョニングファイル(開発用)を再発行して読み込み
    ・Flash Professional CS6のアップデート
    ・AIR SDKを3.6.0.5990 for iOSにアップデート
    ・アプリケーションIDの変更
    これは何が原因でしょうか。

    "環境ファイル削除+Flash CS6自体の再インストール→通常アップデート"にて、解決しました。

  • Google Maps ver 4.5.3 for BB Curve 9360

    I have Google Maps ver 4.5.3 on my Curve , but went to dowload it t my wife's phone... at first it dowloaded but erroerd saying our Enterprise server did not allow that.... we do not have Enterprise and it works for me.... now cannot not find Google Maps ver 4.5.3 again... any advice?

    AaniiNichii wrote:
    It was a brand new one and we do not se a BES account it is personal.
    Hi there,
    So I assume it is a new out of the box device from your own Carrier , Right ?
    Then from your Homescreen Options > Device > Application Management > scroll through and delete Google Maps if it is listed there ,then reboot your device by removing the battery while your device is Powered On , wait for a min. then re-insert it back. 
    Finally use your BlackBerry Browser and click here http://dl.google.com/dl/mobile/maps/BlackBerry-47/GoogleMaps.jad   it's a direct download . 
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Looking for Flash/Adobe Air Developer for Startup who has some free time

    We are looking for a Flash and Air developer who will be creating a Website Music Player for a new music startup Stereo9 (www.stereo9.com).   We are also looking for the developer to be able to create a desktop application in Air, which will be used if someone chooses to download a song from the website...and the desktop application will be responsible for managing the download and downloading the music to the user's computer.  The functionality between the player and the download tool is pretty simple, and we need to just get it up to a "1.0 launch phase".  The rest of the application is rather robust, so for a small investment you can become involved in this venture that has a lot of potential where we are in touch with venture capitalists including the founder of Last.fm.
    The rest of the application is developed (completed over the last 2 years) and the engineer that we had for this area of the platform is no longer available to complete that side, you will receive a percentage of the stock options of the startup and we only need the application to be at a simple 1.0 level to get things started.   Please send an email with your interest and your confidence level that you'll be able to complete all aspects of this project.

    I am a mid-level Flex/AIR developer who offers Flex/AIR consulting. Your project sounds similar to others I have worked on. Email me at [email protected] and we can look at your requirements.
    Greg

  • Can you insert a google map in flash?

    I was wondering
    how I could insert a google map in a
    flash app and preserve the interactive aspects of the google map?
    Thank you for the help.

    yes, for as3, there's an api for flash.  check the google docs.
    for as2, you can purchase (or they may be a free) google component or, use javascript and the flash externalinterface class.

  • Is there an archive page for Flash Player plugins for PORTABLE versions of web browsers?

    Is there an archive page for downloads of Flash Player plugin installers for the PORTABLE versions of web browsers like Firefox ESR?
    One of my web browsers is Firefox ESR 10.0.7 and it is a PORTABLE version of Firefox that apparently needs a different Flash Player plugin than the normal Flash Player plugin that regular versions of most web browsers require.
    I do not want to install the most recent Flash Player plugin PORTABLE version because I've read about problems with it and that's the only version that this Firefox ESR will give me the option to download and install when I try to install the needed Flash Player plugin through the browser.
    I already know about the normal Adobe Flash Player plugin archive page, linked below, but that does not have the Flash Player plugins for PORTABLE web browsers.
    http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
    I also looked on OldApps.com and I couldn't find anything there.
    Where can I download an older version, possibly one of the 11.2 Flash Player plugins from around April 2012, that will work with this PORTABLE version Firefox ESR?
    I tried this question on the Mozilla Firefox help forum but no one could answer it.
    Thanks for any help,
    digiday

    Hi Pat,
    Thanks again for your reply. Your solutions seemed like they might work, especially since you were able to tell me where the Windows system Flash Player plugin files are located.
    And for a minute or two, I thought it was working.  In my first tests in the PORTABLE Firefox browser I'm testing with, it was actually playing some YouTube videos, but then I found that not all YouTube videos apparently rely on Flash to play... apparently some do and some do not, and I found that most of them do require Flash to play.  I had tested with some of my own videos that I uploaded to YouTube in the past in my first tests today and they played just fine, but then I started testing with some other Flash YouTube videos and they would not play and I got both the yellow bar at the top of my window telling me to download and install Flash as well as the red banner across the video player that told me I needed to install Flash.
    Let me also make it clear that I'm testing this on other sites with Flash videos besides YouTube, and webpages that have relatively simple animated Flash graphics, and those alternate tests are showing that the Flash Player plugin for this PORTABLE Firefox still will not work either.
    So to spite everything, I tried actually downloading and installing the newest Flash Player plugin, 11.4 something, (which I was trying to avoid) through the browser, and that only proceeded to overwrite my Windows system Flash Player plugin and it DID NOT place any Flash Player plugin files in the PORTABLE Firefox plugins folder.
    I had pasted in the files you recommended in to the PORTABLE Firefox plugins folder, and I actaully included ALL the files from that Windows system Flash plugin folder for this test, but unfortunately that didn't work, and even after I tried changing the name of that one file, it still didn't work.
    And I am closing and re-opening the browser in between each of these steps in my test.
    So here, below, I'm including an email letter that I've now written to a Tor Browser support email address where I had been corresoponding previously.  The "Tor-Firefox" web browser is the PORTABLE Firefox ESR web browser that I've been referring to.  This is what I wrote, which pretty much sums up everything I've tried and been unsuccessful with so far...
    Hello Tor Browser help staff,
    I've now tried everything and I cannot get ANY Flash content to play in this Tor-Firefox ESR web browser, even though I've tried installing the Flash player plugin that this browser asks for when I'm on a YouTube page (and even though this computer already had a current Flash Player plugin installed previously).
    Let me make it clear that privacy is not important to me right  now during this quest to make the Flash Player plugin work with this Tor browser... I can reset any settings for maximum privacy later when I go back to that purpose for using Tor... right now, I'm just trying to make the Tor browser play Flash content.
    So even though I've UNCHECKED the Torbutton>Preferences>Security  Settings>Disable plugin during Tor usage box, and I installed a new Flash player plugin THROUGH this browser, and I even set it to allow all scripts because I thought maybe that was complicating things, IT STILL WILL NOT PLAY FLASH CONTENT OF ANY TYPE.
    Now, this, explained below, could be part of the problem that I'd like to ask for your help or SOMEONE's help with there in your department...
    If I go to the Tor Browser folder on my hard drive at C:>Tor  Browser>FirefoxPortable>Data>plugins there are NO Flash plugin files that show up in that folder even after I install a new Flash Player plugin THROUGH this browser... I believe that is why it will not play Flash content. 
    All it does when I install a Flash Player plugin through this Tor browser is to overwrite my Windows 7 system Flash Player plugin, but it does not actually place any Flash Player plugin files in the C:>Tor Browser>FirefoxPortable>Data>plugins folder, so that's why this PORTABLE version of the Firefox ESR browser will not play any Flash content... and it doesn't work from the Windows system Flash Player plugin the way that my normal Firefox (NON-TOR) web browser does.  My other Firefox web browser sees the the Windows system Flash Player plugin just fine and it does play Flash content correctly.
    There is, however, one text file that comes stock inside the Tor browser plugins folder and when it is opened it says, "Place Firefox plugins in this directory (Flash, Shockwave, etc)".
    So with some advice from someone on the Adobe help forum, I tried copying the Flash Player plugin files from the Windows system folder at C:>Windows>System32>Macromed>Flash in to the Tor browser plugins folder at C:>Tor  Browser>FirefoxPortable>Data>plugins, and that still didn't work. 
    Note that I am closing and re-opening the Tor browser between each of these tests.
    So I then followed some further advice from the expert on the Adobe help forum and I changed the name of the main Flash Player plugin file that I had copied and pasted in to the Tor browser plugins folder from "NPSWF32_11_4_402_278.dll" to "NPSWF32.dll", and that still did not work... note that I left all the other files that I copied and pasted from the Windows system Flash plugins folder with the same name they originally had... I tried only changing that one Flash plugin file name, as instructed by the expert on the Adobe help forum.
    I also tried posting a question about this on the Mozilla Firefox forum, but no one there is able to answer this question.
    What the problem seems to be is that when this Tor-Firefox ESR 10.0.7 browser installs a Flash Player plugin, it just installs it to the Windows system folder (the same way that the normal (non-Tor) Firefox browser does) and  NOT  into the Tor-Firefox plugins folder C:>Tor  Browser>FirefoxPortable>Data>plugins, as would be needed for it to be able to play Flash content.
    No matter what I do, whenever I try to view a YouTube video or any Flash video in this browser, or any Flash graphic content at all, I get the yellow bar at the top of the page that says "Additional plugins are required to display all the media on this page - Install Missing Plugins" and there is a banner displayed where the Flash content is supposed to be that says, "The Adobe Flash Player is required for video playback - Get the latest Flash Player".
    And as I explained at the top of this email, I have already installed and re-installed the Flash Player plugin on this computer multiple times, including doing it directly through this Tor-Firefox ESR browser itself.
    So can ANYONE there tell me how to get the correct Flash Player plugin files in to the Tor-Firefox browser plugins folder at C:>Tor  Browser>FirefoxPortable>Data>plugins, and where do I get those files?  Everything I've tried, which is pretty extensive, has not worked, and it seems that someone there should know about this.
    Thanks for your help.

  • Way to Upgrade Memory for Flash Plugin (v11) for Firefox (v10)?

    Hello!
    I've been searching far and wide for an answer to this to no avail, so I'm hoping someone here can help me.  As a part of my position at work, I am trying to work with a web-based Flash application connected to a Java back-end server.  The data being rendered on the Flash side is very large and expansive, with many containers/layers involved.  Since the processing seems to stall, then eventually crash the Flash Plugin in Firefox, is there any way to bump up the memory assigned to the Flash Plugin from within Firefox?  I did see that the memory allocation is controlled by the browser, not the Flash Plugin, but I have been unable to find any place that describes how to accomplish this memory adjustment within firefox for flash plugin at all.
    Thanks, in advance, for your help!
    --Michael

    Hi Michael,
    Not that I know of but I'll forward this along to one of our Mozilla / Linux experts.  Have you posted over on the Mozilla forums to see if anyone there can help?
    http://forums.mozillazine.org/
    Chris

  • Can you provide a link for Flash Player update for Steam on a windows 7 64bit O/S?

    Is it possible to get a correct link for the 64Bit Flash Player Update for the Steam programe?
    Steam keeps proving a link that only goes to the 32Bit version.
    which in turns keeps giving me this page time after time again.

    There is no separate 32-bit/64-bit installers.  Flash Player will automatically install both editions on a 64-bit system.

  • Google Maps en Flash

    ¿Sabéis si es posible implementar Google Maps
    dentro de un .fla?

    Flashearth es una aplicación web o de escritorio, pero
    si lo que quieres es
    hacerlo tú mismo en tu web puedes echar un vistazo a
    VGMap, que además de de
    open source:
    http://www.flashinsider.com/2005/10/23/add-flash-to-your-google-maps/
    Salu2
    `8¬}
    Juan Muro
    "Juan Muro `8¬}" <[email protected]>
    escribió en el mensaje
    news:elbkqd$11p$[email protected]..
    >
    http://www.flashearth.com/
    > Salu2
    > `8¬}
    > Juan Muro
    > "Naranja" <[email protected]> escribió
    en el mensaje
    > news:elbjhd$slp$[email protected]..
    >> ¿y sabes de algún sitio donde pueda
    recavar información de cómo hacerlo?
    >
    >

  • Wittyritesh question on flash cc air for android deployment error

    why do we get captivating runtime error in flash cc when we render apk file in adobe air. It is successful when we choose AIR 2.5 but when we change it to AIR 13 and render then we always get a error message

    I'm having the same problem with Flash CC on Mac OS 10.8.5 using AIR 3.6 and 3.9 beta sdks publishing to Android.
    Essentially Flash CC builds the apk just fine then hangs at 00:05 when it should be installing the apk to the device.
    In looking at Activity Monitor I noticed I had two adb processes launched which could be part of the problem.
    I then tried publishing through Flash CC but installing on devices via the command line when I've now run into another error:
    $ adb install Untitled-1.apk
    1311 KB/s (9427446 bytes in 7.021s)
              pkg: /data/local/tmp/Untitled-1.apk
    Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
    Apparently the apk isn't signed despite including my certificate in the publishing settings (along with the password) and the publishing process finishing without error.
    An unsigned APK will not install on devices, which *could* be related to the problem of Flash CC never finishing publishing when 'install on device(s)' is selected in the publishing options. If Flash CC is waiting for a 'success' event to be fired from adb it may simply never be receiving one and therefore never finishing the publishing process… (just speculating).
    Also, this is happening with *ANY* FLA I try to publish to Android.

  • Google maps url in Web dynpro for java

    Hi all,
    Can someone tell how I can create a Google Url and show this Url in a Iframe in a Web dynpro. I can create an url but I see the google webpage with the map. I just want only see the map in my Iframe!
    Kind Regards,
    Richard

    Hi Richard,
    One solution that comes to mind is to have a URL parameter embedded. So the path that you have set to the iframe can be extended say for example http://<your path to HTML file in Mimes>?undefined=<address specific to the user>
    Next thing to do is extract the URL parameter undefined by JavaScripting. So you can pass the address value to this param.
    Once you have this you can trigger this by passing different addresses to URL parameter each time.
    Replace the wdDoInit() by following code:
    public void wdDoInit()
        //@@begin wdDoInit()
         try {
              String resourcePath = WDURLGenerator.getWebResourceURL(wdComponentAPI.getDeployableObjectPart(), "GoogleMapAPI.html");
              wdThis.wdGetContext().currentContextElement().setPath(resourcePath + "?undefined=Mumbai");
         } catch (WDURLException e) {
         wdThis.wdGetAPI().getComponent().getMessageManager().reportException(e.getMessage(),true);
         } catch (WDRuntimeException e) {
              wdThis.wdGetAPI().getComponent().getMessageManager().reportException(e.getMessage(),true);
        //@@end
    Though I have hardcoded the location in above URL, i guess you got what i am indicating at!!
    Even after all this, be carefull in preparing the URL which might result invalid URL due to special chars.
    For Example: New York will result in invalid URL as <space> is not allowed. Ideally, it would have been New%20York. But then google API will no understand %20. Hence, I recommend you to replace %20 by <space> before calling Google API [You will have to write it in initialize() method of HTML file].
    Also, replace the function initialise() in GoogleMapAPI.html
    function initialize() {
          if (GBrowserIsCompatible()) {       
            // This function is anonymous, is executed immediately and
          var query_string = {};
            var query = window.location.search.substring(1);
            var vars = query.split("&");
            for (var i=0;i<vars.length;i++) {
              var pair = vars<i>.split("=");
              // If first entry with this name
              if (typeof query_string[pair[0]] === "undefined") {
                query_string[pair[0]] = pair[1];
                //this.address.value = pair[1];
                 map = new GMap2(document.getElementById("map_canvas"));
                 geocoder = new GClientGeocoder();
                 showAddress(pair[1]);
    I hope your address issue is addressed by me now!!
    kunal kotak

Maybe you are looking for

  • MacBook Pro 15" Retina display was broken inside

    My daughter has a MBP15" with retina display and she found retina display broken on the left bottom area inside without any damage of outside screen surface. It looks like several burnts inside. And she went to Apple store, but store employee told he

  • Tax Declaration Setup Usage UK Version

    How can i use Tax code created in Tax Declaration Setup in an Invoice? I have created a Tax code in Administration>Setup>Financials>Tax>Tax Declaration Boxes with Formula i.e. TC = V1+V2 where V1 and V2 are existing valid Tax code created in Administ

  • SAP BW object history

    Hi All, Is there any transaction or program in BW which can tell us about the change history of the cube,DSO,Multiprovider, Query. Like which person has changed it and to which transport it has gone. Eg: if a cube has been changed for 5 times during

  • Running servlets not described in web.xml (tomcat-4.1.24)

    Is it compulsory to have a entry in the web.xml to run a servlet in tomcat-4.x. In tomcat 3.x it was not required. If it is not a must how to enable that?? thanx in advance Binny

  • Status of managed servers in a cluster

    i have an environment with multiple clusters . I want to deploy code using WLST to a specific cluster. Before deploying i want to check if the managed servers in that cluster are running ... how to check only managed servers in a specific cluster ...