[mono-android] Disk-LRU-Cache

2012-10-22 Thread JLee
Hi, I have to provide an image-galary in my app. I decided to work with a GridView and provide the data thru an adapter. At the beginning I had many problems with out-of-memory exceptions and the app was very unstable. At the weekend I read alot on Stackoverflow and on android-developer. I followe

[mono-android] Background thread kills application

2012-10-22 Thread Jeremy A. Kolb - ARA/NED
I'm running into a weird problem where I have a background thread initiated by ThreadPool.QueueUserWorkItem(). If the thread takes too long to execute it seems to kill the application. I'm not sure why this is and there isn't anything relevant in the output log or the "Android Device Logging"

Re: [mono-android] Background thread kills application

2012-10-22 Thread Jonathan Pryor
On Oct 22, 2012, at 9:47 AM, Jeremy A. Kolb - ARA/NED wrote: > I’m running into a weird problem where I have a background thread initiated > by ThreadPool.QueueUserWorkItem(). If the thread takes too long to execute How long is "too long"? Which Android version are you seeing this on? Which ta

Re: [mono-android] Disk-LRU-Cache

2012-10-22 Thread Jonathan Pryor
On Oct 22, 2012, at 9:39 AM, JLee wrote: > Here are two samples of disk-lru-cashe (by Google): > http://code.google.com/p/android/issues/attachmentText?id=29400&aid=2940&name=DiskLruCache.java&token=Rstp2OFViiWaUGS68yFfFgMQDEk%3A1335231242264 > http://code.google.com/p/iosched/source/brows

Re: [mono-android] Background thread kills application

2012-10-22 Thread Jeremy A. Kolb - ARA/NED
Unfortunately logcat isn't telling me anything. I see 10-22 16:15:57.759 I/ActivityManager( 233): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x1000 cmp=com.android.launcher/com.android.launcher2.Launcher} from pid 6642 10-22 16:15:57.809 I/ActivityManager(

Re: [mono-android] Background thread kills application

2012-10-22 Thread Jonathan Pryor
On Oct 22, 2012, at 4:16 PM, "Jeremy A. Kolb - ARA/NED" wrote: > Unfortunately logcat isn't telling me anything. I see > > 10-22 16:15:57.759 I/ActivityManager( 233): START > {act=android.intent.action.MAIN cat=[android.intent.category.HOME] > flg=0x1000 cmp=com.android.launcher/com.androi

[mono-android] Changing Folder/File permissions in MfA

2012-10-22 Thread was
I use ADB to transfer my app's sqlite file between PC and devices with my production app. However, while working fine up to now with many different devices, it doesn't work with a Galaxy Nexus running 4.1.1. Running the following adb command to check the permissions: "C:\Program Files (x86)\AppName