Flash/Air write "prefs" to NookColor

I am about to rip my hair out on this. I am developing in AS3 using FlashPro CS5.5 and Air for Android. I have an app that I am successfully debugging. I have just started my attempts at writing a preferences file for the app. I have my manifest prefs set to "android.permission.WRITE_EXTERNAL_STORAGE". I have used every method I know to write out data to a file, but I am getting the "Error #3001: File or directory access denied." with every attempt. I have used the File class to write to all the directory properties (including those listed as read-only). I have tried SharedObects. I have even tried a combination of ByteArray with File Reference. I have no problem reading into the app the XML file that is included in the APK package, it's getting data back out that isn't happening.
My app is finding the directories I'm trying to write to (and even reporting back their full path and their file contents), but won't let me write to them. My challenge seems to be a permissions problem, but I'm not sure why.
If anyone has any ideas, please share. I know there is a way to write to the internal memory/storage on the NOOKColor, I'm just not having any luck getting to it.

Hi,
Some things you can check:
- the version passed to Updater(), matches the version in the air file
- have the the id in the update air file
- have a valid namespace
- enable logging and look for clues (http://blogs.adobe.com/simplicity/2007/10/air_installer_logging.html)
Regards,
Raul Hudea

Similar Messages

  • Can dreamweaver (CS3) play the middleware between flash AIR as 3.0 and MSSQL

    I have developed a Flash AIR AS3 form, 7 input text fields, one submit button. I know that Flash can't communicate with a server unless a PHP script is in the middle. Sadly, I am on microsoft sql server 2008 not mySQL. Does anybody out there, know of a tutorial that will teach me how to write the php script in dreamweaver to act as the middleware so AIR will send the data from the text fields to the database on the MSSQL. The goal of this is a learning experance, nothing more, I have never tried to talk to a server or database before....SO i beg please be gental, with me.
    thank you all.

    You can't declare the same variables/function more than once in a given timeline.  That's what all the errors are telling you.  The two options that Rob identified will work. 
    What you can do is extend the actions frame for the length of the occupied timeline so that variables/functions you declare in frame 1 are available in all frames along the timeline.  To do this, you have the code in keyframe 1 and go to the end of the timeline and choose the command to Insert Frame.  You should see the timeline between the first frame and the last becomes one large white frame area.
    I will often have two layers dedicated to actionscript.  One for the code that lives in frame 1 that gets shared along the timeline's length, and another for the commands that are specific to certain frames only.
    If you need need text to appear/type-out in different frames then you just call the function that performs the typing while sending it the text that it needs to type.  If you need to type it into a different textfield, then you could pass that to the typing function as well so that it targets the desired textfield.

  • Flash Air For Android FaceBook Invaild Hash Key Error

    Hi all,
    I'm getting facebook connect error with flash/air app on Android device , anyone can help me plz ?
    http://screencast.com/t/Ff6yqVqk
    2jmj7l5rSw0yVb/vlWAYkK/YBwk=

    Yes i already did it but still getting invalid key hash error
    2014-12-28_1337 - redpak's library

  • Creating User Alias in Flash Air Application

    I am trying to create an Flash Air application whereby users
    are able to change their user alias on the application anytime they
    want. This will be saved and when users sign in the application
    again, it will show the "new" user alias instead of the previous
    one.
    Image can be seen below:
    http://i192.photobucket.com/albums/z63/nellehs/AirBiff/1copy.jpg
    As you can seen in the red box, that is the user alias. Users
    is to clicked on the name and they could just change it straight
    away. To confirm it, just press the "Enter" button. It works
    somehow like MSN. I tired to search for many tutorials online
    however there weren't much. Hope you guys can guide me along as I
    am still new to Actionscript 3 plus AIR. Thank you so much.

    is it possible to do add a user alias in Flash Air
    Application?

  • Flash AIR app cannot load child swfs on publish to device

    I have been struggling with this problem for WEEKS now and can't solve it. I have an flash AIR app (creative cloud, AIR 3.8) which is very simple: all it does is load external SWF movies on the click of a start button. It works FINE in test/PC but when I publish to device, the external swfs do not load.
    Here is the code on the main timeline that calls the external swfs:
    //start button
    start_button_TRI_desmatosuchus.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_02_3,false,0,true);
    import fl.display.ProLoader;
    import flash.events.Event;
    var fl_ProLoader_02:ProLoader;
    var fl_ToLoad_02:Boolean = true;
    function fl_ClickToLoadUnloadSWF_02_3(event:MouseEvent):void
              if(fl_ToLoad_02)
                        fl_ProLoader_02 = new ProLoader();
                        fl_ProLoader_02.load(new URLRequest("dinofilms/triassic_desmatosuchus.swf"));
                        fl_ProLoader_02.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete_02 )
                        addChild(fl_ProLoader_02);
                        fl_ProLoader_02.x = 0;
                        fl_ProLoader_02.y = 144;
              else
                        if (fl_ProLoader_02!=null) {
                                  removeChild(fl_ProLoader_02);
                                  fl_ProLoader_02.unloadAndStop();
                                  fl_ProLoader_02 = null;
              fl_ToLoad_02 = !fl_ToLoad_02;
    function onComplete_02(e:Event):void {
              e.currentTarget.content.addEventListener(Event.ENTER_FRAME,OEF_02);
    function OEF_02(e:Event):void {
              if (e.currentTarget.currentFrame==e.currentTarget.totalFrames) {
                        e.currentTarget.stop();
                        e.currentTarget.removeEventListener(Event.ENTER_FRAME,OEF_02);
                        removeChild(fl_ProLoader_02);
                        fl_ProLoader_02.unloadAndStop();
                        fl_ProLoader_02 = null;
    I am calling about 30 different movies on 30 different frames, so that's why I am using tags like "proLoader_01" so I don't duplicate them. All the external swfs are of course listed in the included files too.
    I would really appreciate the assistance, I am a reluctant coder!
    Message was edited by: Fiona Passantino

    OK, I replaced all the "ProLoader" instances with "Loader" and I am getting an error, below (see***)
        //start button
        start_button_TRI_coelophysis.addEventListener(MouseEvent.CLICK,
        fl_ClickToLoadUnloadSWF_01_3,false,0,true);
        import fl.display.Loader; **HERE, ERROR IS: 1172 fl.display:Loader could not be found**
        import flash.events.Event;
        var fl_Loader_01:Loader;
        //This variable keeps track of whether you want to load or unload the SWF
        var fl_ToLoad_01:Boolean = true;
        function fl_ClickToLoadUnloadSWF_01_3(event:MouseEvent):void
         if(fl_ToLoad_01)
              fl_Loader_01 = new Loader();
              fl_Loader_01.load(new URLRequest("dinofilms/triassic_coelophysis.swf"));
              fl_Loader_01.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete_01)
              addChild(fl_Loader_01);
              fl_Loader_01.x = 0;
              fl_Loader_01.y = 144;
         else
              if(fl_Loader_01!=null) {
                   removeChild(fl_Loader_01);
                   fl_Loader_01.unloadAndStop();
                   fl_Loader_01 = null;
         fl_ToLoad_01 = !fl_ToLoad_01;
        function onComplete_01(e:Event):void {
         e.currentTarget.content.addEventListener(Event.ENTER_FRAME,OEF_01);
        function OEF_01(e:Event):void {
         if(e.currentTarget.currentFrame==e.currentTarget.totalFrames) {
              e.currentTarget.stop();
              e.currentTarget.removeEventListener(Event.ENTER_FRAME,OEF_01);
              removeChild(fl_Loader_01);
              fl_Loader_01.unloadAndStop();
              fl_Loader_01 = null;

  • Flash AIR Update FAILS

    Using the new CS3 Adobe Updater, for CS3 Design
    Premium Install, Flash Air and Device Central hang and fail to
    complete on MacOS PPC (10.4) and Intel (10.4-10.5) systems. EVERY
    TIME! ! !
    Another POS set of updates making multiple-system management
    a PAIN because Adobe refuses to make their own Package installers
    for the MacOS!
    (oh yeah.. I have WAY more posts, but somehow Adobe has reset
    my user data)

    San_flash, a "long time"? How about I started the update at
    4:30 PM and at 9 AM it was still not done or with a failed. No,
    considering this happens on multiple systems.. it is the Adobe
    update. AGAIN! This is not the first bad CS updater/installer. I
    should know, I manage around 700 systems and have one form of CS or
    another on a couple hundred of those systems. I CRINGE every time
    it comes to doing CS updates!
    I also know how to prepare for updates as well.. I repair
    permissions, anti-virus off, fresh Shutdown and Startup of the
    system.

  • Flash-Air-App for iOS and Apples new App Store guideline (XCode 5)

    Hi Forum,
    i'm using Flash CC for the development of an iOS App (AIR).
    Now Apple will soon update the iOS to 7.1 and Apple says, that from 1st of Feb. 2014 you can only publish iOS-Apps created in XCode 5 in App Store.
    Or how do I have to read this statment from Apple: "Starting February 1, new apps and app updates submitted to the App Store must be built with Xcode 5 and iOS 7 SDK."
    How does this fact affect my Project?
    Will it still be possible to publish an FLash-Air-iOS-App through App Store?
    Thank you in advance
    Ralf Kopp

    Adobe fixed this internally. Just update your adobe air sdk to latest from labs.adobe.com

  • Downloading flash/air for android

    where can I download flash/air for android? is this available for samsung galaxy as well?

    Hi Jennifer,
    You should be able to find Flash and AIR on the Android marketplace.
    Flash Player for Android Frequently Asked Questions
    Chris

  • Merapi+Flash+AIR

    Is there any samples available or anybody using
    Merapi+Flash+Air
    -sara
    www.designscripting.com

    something like navigateToURL(new URLRequest("http://google.com"), "_blank");
    This would quit my app and open up the browser. I want to keep users within my app..

  • Re: Flash Air desktop application

    Hi there,
    I have developed a flash air desktop application with the help of a flash programmer.
    Soon I will put it online for sale. How could I avoid illegal copy from spreading around?
    I need a lot of info regading this.
    Please help me with this issue.
    Many thanks

    A possible solution is described here:
         http://nsdevaraj.wordpress.com/2009/01/20/licensing-flex-air-application/
    HTH.

  • Flash air desktop application

    Hello there,
    We developed an application.
    The window of our application cannot be maximize after it is install on our desktop.
    How could we get this fonctionnality?
    Please help.
    Many thanks

    Are you saying that it is possible to get this fonctionality (maximise
    without stretching) when using flash air desktop application?
    Yes, you can maximize a window without distorting the contents. When using Flash, the stage scale mode defaults to one of the scaling modes. For your app it sounds like you should set the scale mode to the "noScale" option.
    If yes, Do you recommend the utilization of aire for the distribution of our
    application?
    I don't know enough about your application to make any kind of recommendation, and anyway my opinion might be biased since I am an Adobe employee.
    Also could you recommend us a way for limiting the illegal distribution?
    I don't think there is a fool proof way to do it (in general DRM is a race between the publishers and the hackers). Adobe doean't provide any tools for this. Presumably, there are 3rd party tools for application DRM that you could use (but that's outside my area of expertise).
    For a homegrown approach to the problem, you could require that users of your application create a user account on your web site and download a license file in order to run the application.  This isn't perfect, because someone could hack your application to remove the check for the license, but it would prevent casual copying.

  • Flash AIR mobile app Facebook?

    Is there any good tutorial or API for native FB integration in an Android/iOS Flash AIR app?
    I found an API called GoViral. Has anyone tried this API?
    I need to have the following features: Log-in(With user ID), like page, share post, invite friend.

    i've used two of milkman's (alex liebert) extensions including goviral.
    1.  they work.
    2.  when they fail it's been user (my) error.
    3.  alex is very responsive to user problems

  • Flash AIR Make Linux/Ubuntu Shell Commands?

    What is the AS3 commands that makes it possible for my flash air application to make shell calls in Ubuntu Linux? I'd like my AIR app to eg. start programs or open folders.
    Cheers,
    Artheus

    This will be supported in AIR 2.0 (which is being announced today).

  • Flash Air III, how do I set it for 802.11N mode?

    To whom it may concern: My Flash Air III is a very fine device. However…. My wireless receiver is setup for Wireless Mode: 802.11g with a rate of 48Mbps.  Is there a way to set the Flash Air III to transmit in Wireless Mode: 802.11n? I would like to have a faster data rate.

    It's really easy because it's mostly already set up... The AF-On button on the back of the camera already starts and stops AF.
    To set up true BBF technique, you turn off the AF function at the shutter button. I believe it's Custom Function IV, 1:  Opertaion/Others.... where you make button assignments.  Navigate to the shutter button icon and press "set" to enter the options for that... change to the center one "metering start" and press "set" again. Done.
    Optionally you can swap the function of the AF-On and "*" (AE Lock) buttons, using the same button assignment tool.
    Alan Myers
    San Jose, Calif., USA
    "Walk softly and carry a big lens."
    GEAR: 5DII, 7D(x2), 50D(x3), some other cameras, various lenses & accessories
    FLICKR & PRINTROOM 

  • Samsung - Flash Air and Flash Player will no longer be supported from February 4, 2014 ?

    What are peoples thoughts on this?
    We have been alerted that Adobe will no longer continue to support Flash on Samsung Smart TVs and BluRay players. As a result, Flash engines will not be supported in 2015 Samsung products. Going forward, Flash-related features will be excluded from SDKs released. Although Flash engines will remain to be equipped on existing Samsung products, including 2014 models, there will be no technical support from either Samsung or Adobe. Accordingly, any applications developed with Flash Air or Flash Player will no longer be acceptable. Samsung recommends using either HTML 5 or Javascript based applications if the application in question is Flash-based. Beginning on February 4, 2014, any Flash-based application, including any updated versions of such will not be acceptable for submission.
    http://samsungdforum.com/SamsungDForum/NewsView?newsID=45
    Not being able to deploy Adobe Air in Samsung devices is a huuuuuge kick in the teeth suley?

    I'm not an Adobe or Samsung expert, but it seems to me that...
    on Samsung Smart TVs and BluRay players
    ..is not the same as (all) "Samsung Devices".

Maybe you are looking for

  • SSRS reports are not printing probably

    when I preview my reports they look great but when I print them I get some blank pages

  • Use of PHP function - stripslashes( )

    I'm in need to removing the backslashes (\) that appear in my e-mails from forms on my website, whenever the user enters quotes or apostrophes into the fields. I'm aware of the PHP function stripsplashes( ) that is supposed to remove them, but am uns

  • ESA & IEA envelop customization

    Hi all, I have a C160 for ESA and a C370 (AsyncOS 6.5.2.1) for IEA and I want to modify the envelop in the outgoing mails.  I specificly want to change the default's attach name (senderdoc.html) for another, someone knows how I can make this?. Regard

  • Pagemaker Conversion using Trial InDesign on Mac?

    I just downloaded the trial version of InDesign CS5 and tried to open a Pagemaker 6.5 file with it, but on my current computer (Mac OS 10.5.8), the files only show up as an unknown file type, and InDesign doesn't recognize them at all. From what I've

  • How difficult is it to setup and configure Sophos SG230 device?

    They are fairly straight forward. I am in the middle of deploying eight of their units.  About half way done. It has been fairly easy so far. The online knowledge base has been great. Super happy with them. Also Sophos offers training hours. I didn't