Is file:///android_asset valid in the built-in Android sim in Flash Builder 4.5?

Hi,
I'm tryin to load an html file packaged in an Android app via loadURL of StageWebView.
On Flash Builder 4.5, the lightweight sim is available and I ran the following code on it (I set it as Nexus S).
webView = new StageWebView();
webView.loadURL("file:///android_asset/a.html");
a.html is put in the src directory of the mobile AS project and it's included in the assets directory of the release-build apk. But loadURL fails with exception. Does the built-in sim support android_asset access?

OK. Then it's not an Android sim but just an AIR sim...
I wish it's possible to debug on the Android emulator. Flash Develop can do that.

Similar Messages

  • How to use the Google Android Emulator in Flash Builder on Windows 7?

    I want to try out Flash Builder to create an app, but I cannot find out how to use the Google Android Emulator in Flash Builder. The simulators in Flash Builder work, and the android emulator is installed correctly and can run. I just can't seem to connect them. How do I do that?

    Hi Pahup,
    Thank you for your reply!!
    I adapted an Android App using Flash CC on a Mac. I already published this App for the Apple App Store. When I published the App for Android I chose Air 3.7.xxx for Android. I also created the p12 certificate using Flash CC in the publishing settigns for Android. So my App is theoretically finished and ready for Upload.
    When I went to the Google Play Store Developer Console I had the options to
    1.) Upload APK
    or
    2.) Prepare Store Entry
    ...so I prepared the Store entry first. When I go to "APK"-Tab in the console it looks like this:
    ... it says "Upload APK" and the Button below "Get Licence Key". When I click on the license Key Button it looks like this:
    So I think I should enter this RSA-Key somehow into my App BEFORE uploading it to the Google Play Store. This is recommended when an Ap is set to be paid. My Application is set to paid.
    I did not use any kind of licensing API (until now - cause I don´t know how and what it is for)
    This is all new to me. It is the first App I want to bringt to the Android market. I really hoped it would be as easy as getting an app into the Apple App Store. I found so many step by step instructions for dummies on "How to get an Flash iOS App into the App Store plus creating all the certificates needed", so I thought it would be the same for Android. But there is no help at all at the moment. I am totally confused.
    So any help, hint or instrusction would be great!!
    By the way - this is the App I want to get into the Google Play Store

  • How to open the numeric keyboard in a mobile Flash Builder 4.5 app

    I would like to open the numeric keyboard in a mobile Flash Builder 4.5 app when click on a text field instead of the full keyboard.  Is this possible?

    It looks like this is implemented in Flashbuilder 4.6 through the softKeyboardType command:
        <s:TextInput softKeyboardType="number" />
    Here's a link to good article on it:http://devgirl.org/2011/11/29/flex-mobile-development-flex-4-6-cool-new-soft-keyboard-feat ures-sample-w-source/

  • How to update the PHP Class Service back in Flash Builder 4

    I'm not sure if my post title makes any sense or not but let me explain.  I've been working on an application in Flash Builder 4 using the ZendFramework and PHP services and everything is work great. the problem I have is after I make changes to my services PHP class (edit php file that has my functions in it), how to I updated those functions in the Flash builder application?
    For example, I needed to pass a second object into one of my function in my PHP class and after I edited the file and saved it, I don't see the changes in the Flash builder 4 application. Is there a button I can run to update the PHP class back in Flash Builder?
    Thanks,
    John Baranowski

    How do you use Flash Builder to regenerate the code for the same PHP service I connected to prior? When I first connected to the PHP service Flash Builder automatically built a package with all kinds of actionscript functions in it. I added a function to my PHP Class file server side and I need help on how to update the package back in Flex to see my new function. Can anyone help me??
    -John

  • Incompatible version of the Flex SDK 4.6 in Flash Builder 4.5

    First: I just upgraded the whole CS to 5.5 last week, including Flash builder 4.5.3 Premium.
    To make that possible I had to use the Adobe cleaner, which resulted in manually resetting prefs in several apps.
    I imported Flex Projects which use the SDK 4.6, so I got the latest (4.6.0.23201B) from the adobe site today.
    In the trial version of Flash Ubilder 4.6, there's no problem, but in the FB4.5 Premium you can't use Design View.
    Trying to uninstall FB4.5 and then installing 4.6 trial doesn't work because even then, the installer says it has found an older version.
    So that's not an option!
    I just can' tbelieve that the official release CS5.5 just doesn't support the 4.6 SDK.
    It seems I'm not the only one with the problem, according to other posts, so Adobe:
    Please, solve this right away, because as a prof.user, this costs me and I do not appreciate that!

    Anything regarding Flex is pretty much at Apache these days.  There is no plan to distribute a Maven compatible Flex 4.6.  I hope Apache will make future Apache Flex builds work with Maven.

  • File path validation in the background fails - Urgent

    Hi,
    my program is to download files in the presentation server. so iam validating the file path using method CALL METHOD cl_gui_frontend_services=>directory_exist
    but when i execute the program in the back ground its giving dump with a runtime error as OBJECTS_OBJREF_NOT_ASSIGNED.
    could some body help on this
    Neha

    Hi.. neha,
    use this function module..
    EPS_OPEN_INPUT_FILE
    give the file name and directory path as input to this function module..
    if any exception raised like OPEN_FAILED then the file doesnot exist..(sy-subrc value will be set to 6 for this exception )..
    so you can write the code as
    call function '<b>EPS_OPEN_INPUT_FILE</b>'
      exporting
        file_name                    = '<b>ASDA</b>'
       DIR_NAME                     = '<b>D:\usr\sap\R3S\DVEBMGS02\work</b>'
      TEXT_MODE                    = ' '
    IMPORTING
      DIR_NAME                     =
      FILE_PATH                    =
      FILE_SIZE                    =
    EXCEPTIONS
       INVALID_EPS_SUBDIR           = 1
       SAPGPARAM_FAILED             = 2
       BUILD_DIRECTORY_FAILED       = 3
       NO_AUTHORIZATION             = 4
       BUILD_PATH_FAILED            = 5
       OPEN_FAILED                  = 6
       READ_DIRECTORY_FAILED        = 7
       READ_ATTRIBUTES_FAILED       = 8
       OTHERS                       = 9
    <b>if sy-subrc eq 6.
      message 'file does not exist' type 'E'.
    else.
      write : 'file exists.'.
    endif.</b>
    ASDA is an existing file in my application server in the specified directory.. so am getting the message as FILE EXISTS.
    you can see all the directories in Application server in transaction code AL11.
    reward all helpful answers,
    sai ramesh

  • XML Parser Message: Element series is not valid for the content model

    Hello,
    I work with FrameMaker 8 and DITA.
    I change the element prodinfo in the topic.edd from:
    General rule: (prodname), (vrmlist), (brand | series | platform | prognum | featnum | component)*
    to:
    General rule: (brand | series | platform | component)*
    When I import the element definition to the template everything is okay.
    When I insert the elements metadata, prodinfo, brand, series, platform and component into a topic I get the XML Parser Message that the element brand is not valid for the content model (prodname,vrmlist, ((brand|series|platform|prognum|featnum|component))*).
    When I delete the element brand in the topic I get the XML Parser Message that the element series is not valid for the content model (prodname,vrmlist, ((brand|series|platform|prognum|featnum|component))*).
    I change the element prodinfo in the topic.edd to:
    General rule: (brand)?, (series)?, (platform)?, (component)?
    ...and get the same Parser Message.
    I do not understand that. Is not it allowed to change the EDD this way without changing the DTD?
    With kind regards
    Nina

    Hi Nina...<br /><br />In general, the EDD and DTD need to sync up. You can remove elements from an EDD element definition's general rule, as long as the resulting elements are still valid to the DTD. But if changing a general rule creates an invalid structure, you'll need to also change the DTD to allow the revised structure.<br /><br />With DITA, it is common to remove inline elements from block-level elements. For example, you might want to remove the <msgblock>, <msgnum>, and <msgph> elements from the general rule of the <p> element .. this can be done easily in the EDD and the resulting structure remains valid with the DTD.<br /><br />However, what you're doing leaves the <brand> element as a child of <prodinfo> .. which is invalid. You'll get these errors when saving a file, since this is when the file is validated against the DTD.<br /><br />I do not recommend modifying the structure in such a way that requires you to modify the DTD. If you really need to do this, then you should consider making a specialization to support your revised model.<br /><br />I hope this helps.<br /><br />Cheers and Happy New Year!<br /><br />...scott

  • How to control swf file loaded in flash builder project?

    Condition :
    1. I have a swf file presentation.
    2. A flex mobile project using flash builder 4.6 with its default SDK.
    What i want :
    1. Include those swf file into my flex mobile project and interact with those swf like i run it on flash player for PC. Shown here >>
    http://prntscr.com/1pmio
    What i've tried :
    1. Call swf file using swfloader and it work(on my pc). Here is my code >>
    http://prntscr.com/1pmjdl
    Problem :
    1. I cant interacted with swf file presentation. If i click on screen, it get error code >> "Error #2025: The supplied DisplayObject must be a child of the caller" and another error. Here is error warning >>
    http://prntscr.com/1pmkcr
    I dont want to upload the swf file into a web and load it remotely because i want the swf file available offline. Im newbie in flex, please tell me clearly. i have downloaded Flex in a week video training but gets nothing. searching for another problem which may same, but i didnt get any answer.
    Please Help.
    Message was edited by: blackquipment for image fix

    Some loaded SWFs may not be compatible with Flex.  Try making a simpler SWF (like one that just draws a circle where you click) and see if it can be loaded and interacted with.
    -Alex

  • Flash Builder 4.6 Not Recognizing Valid CS 5.5 Premium Serial Number

    I have downloaded and attempted to install Flash Builder 4.6 over the install of FB 4.5 that came with Web Premium 5.5
    The serial number from my original install is not recognized as a valid serial number for FB 4.6
    I am hesitant to uninstall FB 4.5 first and attempt the install of 4.6 since I am running Windows 7 64 bit and others in this forum are saying they have had install issues on that platform.
    Come on Adobe !  You are better than this !
    Anyone have a solution?

    in another thread jleydig has mentioned very precisely how to serialize FB 4.6. Please follow it for serializing FB 4.6
    1) Deactivated CS 5.5 by going into Flash Builder clicking Help > Deactivate Flash Builder...and clicking "Deactivate Permanently" (which deactivated the entire suite)
    2) Uninstalled only Flash Builder 4.5 and the iOS Component through the Control Panel (I'm sure you know how to do but just in case... go to Control Panel > Programs and Features (terminology may vary based on your OS) and click on your CS and click Uninstall. This will launch the Adobe uninstaller. From there deselect everything and only select (check) Flash Builder 4.5 and the iOS Component and then uninstall them - uninstalling the iOS Component might not be necessary, but I did it anyway)
    3) Restarted after those uninstalled
    4) Launched Photoshop and entered my CS Serial Number (you should be able to launch any CS program thats still installed to do this)
    5) Once it opened, closed it
    6) Installed Flash Builder 4.6 in Trial Mode making sure to select the same language used when CS was installed (that's IMPORTANT)
    7) Launched Flash Builder 4.6 in 60-Day (or however many days it was) Trail Mode
    8) Once it opened, closed it
    9) Launched Flash Builder 4.6 again, but this time I entered the Serial Number from my CS (at that point it accepted the SN and opened like normal and has everytime since)
    10) I then installed my iOS Component from my original CS

  • I am unable to register by Adobe flash builder 4.7 with the key i got from complimentary upgrade to Adobe Flash Builder 4.5

    I am unable to register by Adobe flash builder 4.7 with the key i got from complimentary upgrade to Adobe Flash Builder 4.5
    Please help

    Kind of.  I never actually solved the bug, but I did make it past the install. 
      Upon running Adobe Flash Builder 4.7 Plug-in Installer it appeared to crash and only load a blank screen with a single unclickable button.  It wasn't actually "hanging", and would react when I clicked on the program menu and moused over "Services".  This would allow my clicks and keystrokes to register with the program, but only after I mouse over the "Services" menu item.  For example, you need to click "okay", then mouse over "Services".  When you want to enter text you need to click in the text box, and mouse over "Services".  Then you need to type the text you want, and mouse over "Services" to see the text appear.  It's a PITA, but you can get through the install by doing this. 
      After installing the FB plug-in starting eclipse with editors open appeared to cause errors.  If this happens, this is because it seems that FB attempts to load when eclipse starts up.  Close all editors and restart eclipse.  The Welcome page for FB may pop open up.  At the bottom there is a check box that will keep that form loading - check it.  If the page does not open when eclipse starts, then open up an MXML file.  The Welcome page should load, and you can check the box. 
    I hope this helps you move forward.  Also, if you find an actual solution please let me know.

  • Using the controller feature for video media (Flash Export)

    I created an interactive file in InDesign with the hope of exporting it into flash to embed in my website. Everything works, except even though I have the controller set to on and to appear when you roll-over the window, the controller does not show up. The video is embedded using a URL, and the video will still play, but for some reason the controller feature just won't show up... Anyone have any ideas?

    If you use video in your InDesign SWF, even one from URL, InDesign exports resources folder to the same place with actual SWF. Inside that resources folder there´s a skin of the video player you chose for you video. When you upload main SWF to your server, you need to upload that resources folder as well. Because if you don´t, flash player never finds that skin and therefore can´t show any controls...
    Here´s a screenshot of my main SWF (videotest.swf) I exported from InDesign. Because I placed a video from URL there, InDesign created videotest_Resources folder and inside of it there is SkinOverAll.swf... If I want everything to work smoothly, I need to upload them all.

  • The new context-help in Flash Builder 4.5 is horrible... anyway to change it back to FB3?

    See the picture below: (you will have to click it to see it better, because the Forum doesn't show it properly)
    Problem number 1: at Debug Time, I do not see a tooltip with the value of "Credits", even though it is a PUBLIC VARIABLE inside the Player Class. It is NOT even a property! In Flex Builder 3 all accessible members had their values indicated at Debug Time. In Flash Builder 4.5, they broke it and instead of seeing the value of Credits, I see that stupid tooltip which helps at exactly nothing.
    Problem number 2: these hover tooltips appear way too fast. As soon as my mouse floats over practically anything in the code, I get that annoying huge tooltip. I tried to find an option which configures the delay with which that hover tooltip should appear, but I found no such configuration option.
    I hope somebody can help me with some suggestions.
    Thank you in advance.

    You can disable the asdoc hover by toggling Preferences -> Flash Builder -> Editors -> ActionScript Code -> Show in text hovers.
    -Anirudh

  • Flash Builder 4.5 unable to find the debug version of the Flash Player.

    I'm running into the following error:
    C:\Windows\System32\Macromed\Flash\NPSWF32.dll
    Flash Builder cannot locate the required debugger version of Adobe Flash Player. You might need to install the debugger version of the Flash Player or reinstall Flash Builder.
    Do you want to try to debug with the current version?
    I have already went to the link the dialog box provided to download the debug versions of the Flash Player.  I have installed both the Plugin and AX versions of the debugger.  Restarted all browers, Flash Builder and rebooted the PC for good measure.  I have spent a good amount of time looking for information on this issue.  All the threads that I found that were related to this issue didn't have a workable soution so far.  Hence I'm starting a thread on this problem.
    I'm running Flash Builder 4.5 on Windows Vista 32-bit.  I have tried using both FireFox 3.6.24 and IE 8.0.6001.
    I started with the Trial version then purchased the license online.  I don't know if that has any bearing.
    Any information to diagnose this problem further would be greatly appreciated.

    Hi emat3d,
    Try to uninstall Flash Player with this Adobe uninstaller, please ensure you close all application which might be using Flash Player. Then try to install your Flash Player debugger again. It solved for me.

  • Are Flash Builder 4 and Flex 4 the same ?

    Hi Everyone,
    1. Are Flash Builder 4 and Flex 4 the same ?
    2. Are Flash Builder 4 and Flash CS4 the same ?
    Thanks,
    May

    Grizzzzzzzzzz wrote:
    AFAIK
    1. Are Flash Builder 4 and Flex 4 the same ?
    Yes, flash builder 4 was the name given to what is effectively flex 4.
    This answer is, essentially wrong.
    Flex 4 is a Software Development Kit (SDK) that includes a compiler, a user interface framework, and a few other items.
    Flash Builder 4 is an IDE that can be used to develop Flex applications.  Flash Builder 4 can also be used to code ActionScript w/o any dependencies to the Flex Framework.
    Grizzzzzzzzzz wrote: 2. Are Flash Builder 4 and Flash CS4 the same ?
    No, Creative suite 4 is a software library consisting of many different programs
    This answer is much more correct; but for additional clarification:
    Flash Builder 4 is an IDE that programmers can use to develop applications for the Flash Platform.
    Flash Professional CS4 is an IDE that Designers can use to create time-line based animations for the Flash Platform.
    One is geared for designers; and another for programmers.  In theory they can be used to reach the same end point although I wouldn't want to do application programming in Flash Professional; nor would I Want to do design stuff in Flash Builder.

  • Flash Builder 4 Beta 2 will not accept the extension serial provided

    Hi!
    Just received an extension serial for FB4 beta 2 via https://freeriatools.adobe.com/flashbuilder4beta/ but the serial number doesn’t work. Any suggestions?

    Hi,
    Sounds as if you've run into this known issue on Snow Leopard:
    FB-22869 - Licensing error prevents Flash Builder from launching on OSX 10.6.1 (Snow Leopard).
    Workaround:
    After installing on 10.6.1, run the mini-installer found in your Flash Builder installation folder:
    /install.support/builder-common-mul/Setup.app
    Let us know whether or not that resolves the problem,
    -Chris

Maybe you are looking for

  • If statement in Array values of ActiveSyncAllowedDeviceIDs

    Get-CASMailbox JLEE -ResultSize "Unlimited" if (@{Name='ActiveSyncAllowedDeviceIDs';Expression={[string]::join(";", ($_.ActiveSyncAllowedDeviceIDs))}} -ne $null) write-output @{Name='ActiveSyncAllowedDeviceIDs';Expression={[string]::join(";", ($_.Act

  • Widescreen viewing - a basic question

    I know this is really going back to basics but I just want to make sure I have the set-up right as I always seem to end up with photos containing short fat people or people that are very tall and thin! For a slideshow where photographs only are being

  • Saving query results to a file

    How do i store the results of the a query into a file? Following is the query i am trying to use... Thanks. StringBuffer sb = new StringBuffer().append("SELECT ").append(select)                     .append(" FROM ").append(DISTRIBUTOR_TABLE);        

  • Weird inexplicable Flash text behavior. Help!

    I've been searching high and low for an answer to this and this is the first time I've posted to a flash forum as I've got nowhere so far. I've been building a few sites in flash that rely heavily on loading plain text files into the swf file (for th

  • How to retrive  time in AM/PM format from database?

    I am using java & Sql Server.My Project needs to submit a Form which contains various text fields along with From Time & To Time.These two text fields take AM/PM from a drop-down where AM/PM is hard coded. In my DataBase there are two columns FROM_TI