On Oct 22, 2012, at 9:39 AM, JLee <[email protected]> wrote:
> Here are two samples of disk-lru-cashe (by Google):
> http://code.google.com/p/android/issues/attachmentText?id=29400&aid=294000000000&name=DiskLruCache.java&token=Rstp2OFViiWaUGS68yFfFgMQDEk%3A1335231242264
> http://code.google.com/p/iosched/source/browse/android/src/com/google/android/apps/iosched/util/DiskLruCache.java?r=fcd13b09ef50f290dc0681ebec74fbdfcac969a5
>
> But I don't have anough skill to translate this code into c#. What can I do?
Increase your skills through practice. :-)
Which sections of the above files are you having trouble translating? We can
help.
Alternatively you can try using Sharpen, though that thread implies that
setting Sharpen up isn't exactly "trivial":
http://forums.xamarin.com/discussion/comment/286/#Comment_286
> Is the disk-lru-cache the way to go?
Yes.
> Do I have to translate it into c# or can one of these java-classes be easily
> bound into a mono-project?
There should be less overhead if you translate into C#. The alternative is to
put the Java code into a .jar which you bind via a Java Binding Project.
- Jon
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid