Okay, I'm sure I'm doing something wrong...
I'm trying to do this :
Slightly differently to the above but essentially the same - will check if that's the issue..
I get the following error :
Obj1.RunMethod("recycle"")
java.lang.NoSuchMethodException:recycle
I'm fairly certain I've called it correctly, I've tried checking forum for an answer, but can't seem to find anyone else with this issue..
I've got version 2.00 of the Reflection library... although my manifest was set to not be overwritten.. which I know is old hat, but that's the way I've been using it up until now - esp. with using Admobs in it.. So that could be part of the issue - but I tried to regenerate that, with the Reflection library included, so I don't think it is the issue... It doesn't look like I'm calling the recycle method incorrectly, more that it's just not known or found!!??
Any thoughts?
I'm using an HTC Evo 3D with Android 2.3.4.. although I don't suspect that is the issue either.
I'm trying to do this :
B4X:
Dim Obj1 As Reflector
Obj1.Target = bmp ' bmp is the unwanted Bitmap
Obj1.RunMethod("recycle")
Slightly differently to the above but essentially the same - will check if that's the issue..
I get the following error :
Obj1.RunMethod("recycle"")
java.lang.NoSuchMethodException:recycle
I'm fairly certain I've called it correctly, I've tried checking forum for an answer, but can't seem to find anyone else with this issue..
I've got version 2.00 of the Reflection library... although my manifest was set to not be overwritten.. which I know is old hat, but that's the way I've been using it up until now - esp. with using Admobs in it.. So that could be part of the issue - but I tried to regenerate that, with the Reflection library included, so I don't think it is the issue... It doesn't look like I'm calling the recycle method incorrectly, more that it's just not known or found!!??
Any thoughts?
I'm using an HTC Evo 3D with Android 2.3.4.. although I don't suspect that is the issue either.
Last edited: