Flex :: Delete Application Storage Directory Instance / Data When Uninstalling Any Air Application?

Dec 22, 2011

how can i delete storage directory instances or folder while uninstalling any air application. In my application when i first time run my application, application copy some data from application directory to application storage directory. now i want to delete all data and application directory folder also while uninstalling application.

I am doing that because when i launch any update then application is accessing old data which conflict with my application new features.

View 1 Replies


Similar Posts:


Flash :: Adding New Files To Application Storage Directory With AIR Application Installer

Feb 4, 2011

I have an AIR app that gets bundled with XML files that the app needs. These get put into the APP Storage Directory, of course. Works great. But when I install a new version ( which includes new XML files) , the new files don't get added or overwrite the ones from the previous version. It seems that if that directory is there from a previous install, the installer will ignore the part where it moves included files.

View 1 Replies

Flex :: Delete A File In The Application Directory?

Nov 19, 2009

We are writing log files to File.applicationDirectory and want to clean out old log files. The question is how do you delete files out of that directory? When I try and delete old log files out of this directory it gives a security exception. Is there anyway around this? I know you are not supposed to write to File.applicationDirectory, but we are writting are logs there anyways.

View 2 Replies

Actionscript 3 :: Error #3002 In Writing To Application Storage Directory

Apr 2, 2012

So I'm trying to copy a file selected by the user into the AIR application storage directory, but when I attempt to resolve the path in the storage directory, I get:

Error #3002: File or directory exists.

I get this even when there is no possible way that the file already exists (I am pretty sure there is no "qqqqq.txt" there).

My code looks like this:

var saveFile:File = File.desktopDirectory;
saveFile.browseForOpen("Open File");
saveFile.addEventListener(Event.SELECT, function(e:Event):void

[Code]....

The error is thrown on the line where I try to set the destination as the applicationStorageDirectory, but I have no idea why.

Edit: So I commented out everything below var destination:File = File.applicationStorageDirectory; and it STILL throws the error.

View 1 Replies

Android :: Adobe Air / Flex - How To Delete All Application Data

Feb 24, 2012

I need to delete all the application data directories on the exit of an application:
/data/data/air.<appID>/cache/.AIR
/data/data/air.<appID>/cache/webviewCache
/data/data/air.<appID>/databases

But I get each time the "directory not found error"

This is from my application descriptor:
<id>test01</id>
<filename>test01</filename>
<name>test01</name>

I know also this is not a best practice, but for security reasons I need to delete all the stagewebview cache and autofill form data.

View 3 Replies

Flex ::get Adobe® Stratus 2 Examples On "Swarming", Live Application-Level Multicast, Distributed Data Storage?

Jan 25, 2010

When and where will see (ore already can get) Adobe® Stratus 2 examples (with source) on "Swarming", Live Application-Level Multicast, Distributed Data Storage?

View 1 Replies

Actionscript 3 :: Using External Xml Data In A Flex Application Without Compiling The Source Into The Application?

Jul 15, 2011

I want to read xml data to a mxml application from a xml file on my filesystem. The example I found was for AIR,link2, link3. But I want to target the Flash Player runtime. If I use the the tag, I can do it; however the xml compiles into my swf. How can I retain the xml file in my release build?

View 2 Replies

Flex :: Write A File To Application Directory?

Dec 28, 2009

how to write a file to File.applicationDirectory in flex. i am getting security filewrite resource error.

View 2 Replies

Flex :: Copy File To Application Directory?

Oct 26, 2010

I have trouble getting it to copy file from src to destination.

var asMsg_path:String = fileRef.nativePath;
var origFileLoc:File = File.applicationDirectory.resolvePath(asMsg_path);
var newFileLoc:File = File.applicationDirectory.resolvePath("/java/"+asMsg);

[code]....

View 1 Replies

Actionscript :: Application Becomes Unresponsive During Directory Listing In Flex 3

Jun 11, 2011

I have designed an AIR application that displays a list with all txt files located in C: directory. I have used following code:

var videoListsArr:ArrayList = new ArrayList();
var folder:File = new File(driveName+":\");
folder.getDirectoryListingAsync();

[Code].....

This function works fine but it is being executed the application is hang and become unresponsive. how to resolve this problem that it displays the list of txt file without making application unresponsive ?

View 2 Replies

Flex :: File Write Permission To Application Directory In Windows 7 In Flex?

Aug 11, 2010

I am creating an AIR application using Flex. In it I use a file in application directory to store some data in it.Its working very well to read and write data to this file with various OS except windows 7. In windows 7 it is not working. May be its a permission problem.

How can i write file in the application directory with Windows 7 ?

View 2 Replies

ActionScript 3.0 :: Delete Temp Files With Refreshing Flex Application?

Apr 12, 2011

I am using many external swf file in my flex application,but when i use the files which are in same name its not getting refreshing properly, so i need to delete my temp file without refreshing the application.

View 0 Replies

ActionScript 3.0 :: Can Show 'Local Storage' Panel From AIR Application

Jan 15, 2010

Anybody happen to know how I can show the 'Local storage' panel in AS3 from an AIR application?[code]

View 3 Replies

Actionscript 3 :: Putsave Files Into Your Application Directory?

May 20, 2010

How to putsave files into your application directory?

View 3 Replies

Flash :: Write An Image To Application Directory Using AIR?

Aug 8, 2011

I'm trying to save an image to the application directory by opening a file stream and write the bytes from a bitmap data. I added some events listeners for testing the file stream process but I don't receive any response event. [code]...

View 3 Replies

Flex :: Adobe AIR Application To Receive Back Events From Native Windows Application?

Oct 8, 2010

I'm trying to develop a simple mxml Flex application to start Skype from the AIR/Flashplayer runtime. Is it possible to get back events from a native Windows application? In the simple example of Skype, the OS returns control to the Flex app when Skype exits. But what about native applications which have their own event model and wants to communicate with the Flex event model. For example, a Face detection system which shows "Hello" on a Flex app when the camera detects a face. Can this be done in the current Flex framework?

View 1 Replies

Actionscript 3 :: Resizing Container On Resize Of Application Window In Adobe Flex/AIR Application?

Mar 4, 2011

I am working on an Adobe AIR Application. The size on Application window is 800X600 and is contains border container and border container contains many controls. What I want is to if user re-sizes the application then that container should also be re-sized according to scale. i.e If user maximizes or minimizes the window then that border container should also be maximized or minimized respectively.

View 3 Replies

Flex :: Come Back In Main Application On Click Of Logout Button Which Is In Application's Component?

Aug 4, 2011

How I will be back in Login Page after click of logout which is in application's component.

Project.mxml

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%"

[Code]....

View 2 Replies

Flex :: Gui - Switch Between Different Applications(mxml File With Application As The Root Tag) In A Big Application?

May 16, 2010

I'm new to flex. Now I'm writing an flex application. I plan to split my application into some MXML files(Application as the root tag). How can I switch from one mxml to another?BTW, what is the best practice for design large flex application? Just one MXML Application and many MXML component or many MXML Application?

View 1 Replies

Flex :: SystemManager.addEventListener Of Sub Application Is Not Working In Main Application?

Mar 31, 2011

i used systemManager.addEventListener in sub application...... it is working well....but when i load sub application into main application through swfloader it doesnot working..

View 1 Replies

Ios :: Embed Adobe Air / Flex Application Inside A Standard Application

Aug 29, 2011

I have a native (Obj-C, standard Xcode project) application and I'd like to integrate a partners iOS application (or specifically, it's functionality) into it as just another view in my application. The problem is that their application is a Flex/Air app. I really don't understand the Adobe compilation process on how it gets from a bunch of flex code down to an IPA. I don't see intermediate projects, shared objects, etc on the disk to produce that IPA. It looks like it doesn't rely on the Apple tool chain... as I understand it, you can produce the IPA on Windows as well. Is there any way to build that Flex app in such a way that I can import it into Xcode so I can link against it and use it as a library from within my application? While I specifically used iOS as an example since that is the most important platform, we'll want to apply this solution to our respective Android and Blackberry 6 apps as well.

View 1 Replies

Flex - Application.application.nativeWindow.activate() On Windows?

Dec 8, 2009

I have an AIR application with a system tray icon. When clicked it shows and activates the app. This is working as expected when the app is hidden (docked), however if I select another application so my app is in the background clicking on the system tray icon does nothing.

Oddly I also have a contextual menu on the system tray icon, which has an option to restore, this calls the same event handler as ScreenMouseEvent.CLICK, yet works.

I expect it's something to do with the contextual menu changing the focus, perhaps it's a bug in how AIR works with the system tray, perhaps it's just something I'm missing. Would be good to know if that's the case.

View 1 Replies

Flex :: Launch A Separate Air Application Through My Current Air Application?

Sep 1, 2010

I've been trying to launch a separate Air Application through my current Air Application.Both apps are compiled using the Adobe Air 2.0 SDK. The methods I have found so far involve passing the Publisher ID in addition to the Application ID, but I believe the Publisher ID became redundant past Air 1.5.3? Below is my current implementation whic seems to correctly ascertain the Air Application's version number, but when I try to launch it, nothing seems to happen.

private static var _air:Object;
private static var _loader:Loader;
private static var appID:String = "someOtherAirApplication";[code].....

I have changed the app-config.xml (app descriptor) on the application I am trying to load to allow browser invocation.The version number of the app descriptor of my application I am trying to load is "V1" which the versionDetectCallback seems to pickup. If this is the case I would expect to be able to launch it but this doesn't seem the case.

View 2 Replies

Android :: Load Flex Application In Mobile Application?

Mar 7, 2012

I want to load a flex application in mobile flex application and also i want it to interact with the parent application. Right now I am trying to load the swf with swfLoader in mobile app, but it gives me security error. And also should I want the parent application to be generic in terms of child application as in down the line if someone wants he can have another child application with same name run.

[Code]...

View 1 Replies

Media Server :: Setting Custom Virtual Directory In VOD Application

Jun 15, 2010

I am running Flash Media Streaming Server 3.5.1 r516 on a CentOS system. I also have WHM/cPanel installed on this system. My scenario is this. We have a large number of MP4 media files that are currently located in a web root directory created by cPanel: /home/mediafa/public_html/fullservices. These all work without a problem when doing progressive downloads. However, we also want to make them streamable with FMS as well. From the documentation, I should be able to create an entry in the /<fms install dir>/applications/vod/Application.xml file to look up files in that folder.

Here is my VirtualDirectory block:
<StreamManager><VirtualDirectory>
<!-- Specifies application specific virtual directory mapping for recorded streams.-->
<Streams>/;/home/mediafa/public_html/fullservices</Streams>
<Streams>/;${VOD_COMMON_DIR}</Streams>
<Streams>/;${VOD_DIR}</Streams>
</VirtualDirectory></StreamManager>

However, when I try to connect to a file that is in that directory, I get a 404 error in the access.00.log file. I've tried to change the owner/group on the fullservices folder as well as the owner/group of the target file to the fms user/group, but I still cannot connect to it. The connection address is rtmp://<ipAddress>/vod/mp4:1005-03m_256k.mp4.

View 1 Replies

Java :: Write Log Files In Webapps/application Directory On Tomcat?

Nov 29, 2010

I write a flex + java application using the blazeds framework. when i write log files in my java classes the default path is the java path on the server. I want it to be my application at the tomcat/webapps/application directory when i write it hard-coded it failed (maybe bacause of permissions) but, i want it to be general (not hard-coded) so, what do i need to change in my java code in order to write files in my webapps directory? maybe it just an xml configuration?

View 3 Replies

Actionscript 3 :: Adobe Air Save Text File To Application Directory?

Jan 15, 2012

I have a bit of code that I want to change to make it save to the application directory. (the directory the application is installed at). While currently the bit of code I have works it just brings up a browse window for me to pick where to save the file. I want it to default to the application directory though.

How do I change it to do just that.

[Code]...

View 2 Replies

ActionScript 3.0 :: Add A Delete Button To My Application?

Nov 26, 2009

i have a little application that you can add numbers and friends email too. i would like to add a minus selection/entry button?

stop();
 //create a new sql connectionvar conn:SQLConnection= new SQLConnection();[code]...........

View 5 Replies

Php :: Load A Sub-application From A Main Application In Flex?

Jan 19, 2010

I've created a client with login acces in Flex. After the succesful login i have to show a table based on a mySQL server. The database is composed by some tables, and I have created 6 flex mxml components with each own scripts for each of those tables. How can i load sub-applications, for example with a PopUpButton or a TabBar in the main application?

View 1 Replies

Rails Best Way To Receive Xml Data From Flex Application?

Feb 2, 2010

i'm able to display xml content on my swf file but how can I send the changed xml file back to my rails Server?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved