[mono-android] Binary fiile in Asset folder

2013-04-24 Thread Francesco Colombo
Hi, I'm having a strange issue in android 4.0 wiht Sam G2. I'm trying to read some binary files, which are ~2mb, from the Asset folder. Some of these files are read without any problems, some others make the app crash with the error: "Error reading asset data. Unable to access asset data: -1". I

Re: [mono-android] Binary fiile in Asset folder

2013-04-24 Thread Jonathan Pryor
On Apr 24, 2013, at 1:02 PM, Francesco Colombo wrote: > I'm having a strange issue in android 4.0 wiht Sam G2. I'm trying to read > some binary files, which are ~2mb, from the Asset folder. Some of these files > are read without any problems, some others make the app crash with the error: > "E

Re: [mono-android] Binary fiile in Asset folder

2013-04-24 Thread Francesco Colombo
:( I'm going to try on another device. I whish also try the "uncompressed" way but I'm unable to achieve this. If I open the project properties and insert some values inside the textbox which expects file types which will be "uncompressed", values are not saved! On Wed, Apr 24, 2013 at 7:16 PM

Re: [mono-android] Binary fiile in Asset folder

2013-04-24 Thread Jonathan Pryor
On Apr 24, 2013, at 1:27 PM, Francesco Colombo wrote: > I whish also try the "uncompressed" way but I'm unable to achieve this. If I > open the project properties and insert some values inside the textbox which > expects file types which will be "uncompressed", values are not saved! Odd; which

Re: [mono-android] Binary fiile in Asset folder

2013-04-24 Thread Francesco Colombo
Xamarin Studio! On Wed, Apr 24, 2013 at 7:33 PM, Jonathan Pryor wrote: > On Apr 24, 2013, at 1:27 PM, Francesco Colombo < > francesco.colo...@gmail.com> wrote: > > I whish also try the "uncompressed" way but I'm unable to achieve this. > If I open the project properties and insert some values i

Re: [mono-android] Binary fiile in Asset folder

2013-04-24 Thread Jonathan Pryor
On Apr 24, 2013, at 1:39 PM, Francesco Colombo wrote: > Xamarin Studio! Thank you. This has been filed as: https://bugzilla.xamarin.com/show_bug.cgi?id=11943 - Jon ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http

Re: [mono-android] Binary fiile in Asset folder

2013-04-24 Thread Tom Opgenorth
Just a thought: what happens if you put these binary files into Resources/raw instead of the Assets folder? Maybe the Android ResourceManager will like these files better than the AssetManager? On Wed, Apr 24, 2013 at 11:02 AM, Francesco Colombo < francesco.colo...@gmail.com> wrote: > Hi, > > I'

Re: [mono-android] deployment problem::my android device (tab) is not enabling in select device window

2013-04-24 Thread Jonathan Pryor
What version of Xamarin.Android are you running? Xamarin.Android 4.6 introduced the free Starter edition which allows device deployment, but only from Xamarin Studio. You're within Visual Studio, with an "Evaluation version" message, which suggests you're using Mono for Android 4.4 or earlier.

Re: [mono-android] Internal Storage file not found

2013-04-24 Thread Jonathan Pryor
On Apr 23, 2013, at 2:29 PM, dstilwell wrote: > However if I stop the app and then restart it, I get a File Not Found > exception thrown and nothing returned from the read function. How are you stopping the app? Are you sure that WriteID() has finished? For that matter, how do you know that the