A frustrating afternoon.....
What I want to do is read an array file (created in a windows Fusion app) in an Android app. I create an array using a listview under win:(dows - this will be loaded into the android app for display....
So I add the file to my app using 'data elements' - binary file.
Then it all goes a bit awry - I cannot read the file (using array-read from file) or file-is file readable. I've tried numerous combinations of file name including the path (or not) DataStorageDirectory("Android object") and various access permissions (read_external_storage etc) (though shouldn't be needed for application data)
So I tried D:\File.name, D:/File.name, File.name, /File.name DataStorageDirectory("android object") + previous etc)
I also try to read a simple data file ("test.txt") and no joy - in case an array can only be read by the application that created it (I read in one pdf)
So please, somebody take pity and put me out of my misery. A simple example of how to read a binary file created on my main PC would be very welcome.
Many thanks
Martin