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

2013-04-28 Thread Francesco Colombo
I've found this. https://android-review.googlesource.com/#/c/51757/ Is this somehow fixable in Xamarin.Android? On Fri, Apr 26, 2013 at 5:19 PM, Francesco Colombo < francesco.colo...@gmail.com> wrote: > Ok Thnaks! > > > On Fri, Apr 26, 2013 at 4:54 PM, Jonathan Pryor wrote: > >> On Apr 26, 20

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

2013-04-28 Thread Jonathan Pryor
On Apr 28, 2013, at 6:45 AM, Francesco Colombo wrote: > I've found this. > > https://android-review.googlesource.com/#/c/51757/ > > Is this somehow fixable in Xamarin.Android? That's a core Android bug. You can work around it in Xamarin.Android (by not compressing, or using another mechanism

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

2013-04-28 Thread Francesco Colombo
My bad. It is clear to me it's a OS bug. What I meant was if there were any other way to read assets from the Assets folder bypassing the AssetsManager. I cannot chose the path of having the binary not compressed. They are many and too many. On Sun, Apr 28, 2013 at 4:57 PM, Jonathan Pryor wrot

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

2013-04-28 Thread Jonathan Pryor
On Apr 28, 2013, at 11:43 AM, Francesco Colombo wrote: > What I meant was if there were any other way to read assets from the Assets > folder bypassing the AssetsManager. That should be possible. Assets are stored in the `.apk`, so you just need to bundle a .zip parser in your app (e.g. Ionic

[mono-android] Open source mono-android app licensing?

2013-04-28 Thread Jeremy Bell
Apologies if this has been answered before. I would like to use mono touch, mono android, and mono Mac for a little open source app project. I don't have a problem providing both the source for the app and the object files to allow re-linking, which based on my understanding would allow me to fulfi

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

2013-04-28 Thread Francesco Colombo
It seems that trying to read the apk itself from the app is not possible? It gives to me "Unathorized exception". string apkPath = this.Application.Info.SourceDir; using(Stream stream = System.IO.File.Open(apkPath)) { } On Sun, Apr 28, 2013 at 6:11 PM, Jonathan Pryor wrote: > On Apr 28, 2013,

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

2013-04-28 Thread Francesco Colombo
Ok FileMode.Open and FileAccess.Read did the trick. Going further with this experiment! On Sun, Apr 28, 2013 at 6:32 PM, Francesco Colombo < francesco.colo...@gmail.com> wrote: > It seems that trying to read the apk itself from the app is not possible? > It gives to me "Unathorized exception".