Have read about using bitmapsample vs. bitmap for larger images. My question: if the bitmap is already sized to the exact dimensions of the imageview, is there any benefit (i.e, less memory) to using bitmapsample?
Dim obj1 as reflector
Dim ah, fh, gnhs As Long
Dim args(0) As Object
Dim types(0) As String
' Debug.getNativeHeapAllocatedSize
ah = obj1.RunStaticMethod("android.os.Debug", "getNativeHeapAllocatedSize", args, types)
fh = obj1.RunStaticMethod("android.os.Debug","getNativeHeapFreeSize", args, types)
gnhs = obj1.RunStaticMethod("android.os.Debug","getNativeHeapSize", args, types)
Msgbox(ah, "ALLOCATED HEAP")
Msgbox(fh, "FREE HEAP")
Msgbox(gnhs, "getNativeHeapSize")
Here is a project example loading a 3mb image 5 times
that should work for you
You will have to modify it to fit your project needs....
Zippyshare.com - LoadMore.zip