Quantcast
Channel: Adobe Community : Unanswered Discussions - AIR Development
Viewing all articles
Browse latest Browse all 2010

Android app access to network file location

$
0
0

Hi all,

 

I'm developing a simple drawing program on Air for Android, and the brief is to save the generated files into a network shared directory.

 

The device itself (outside of the Air app) can access and write to the network location (currently my dev machine set up on a specific IP address) so I don't *think* it's a permission issue. The code is as follows:

 

mFileReference = new File("file:///\\192.168.0.13/Users/Public/Documents");

trace(mFileReference.nativePath);

 

The above code throws an error 2004.

 

My question is: can this work within Air for Android's security structure? Should I give up trying to write across the network and use .applicationStorageDirectory (not ideal as another app on a different machine has to read in the images created)? Any help would be appreciated.

 

Thanks!


Viewing all articles
Browse latest Browse all 2010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>