You can access the drawables in drawable-*dpi folder using
AndroidResources library. Use the method
GetApplicationDrawable and pass the resource name (without extension) as argument.
I tried the demo and it works, but when I want to implement it im my app it does not.
He has 3 modules and I would like to have it in a simple app with only the main module and only one layout.
I see also that he doesn't use the usual drawable-*dpi folders but only one drawable-nodpi folder. !?
I changed the panel that I had with the image for an imageview (in case this could affect) and did a lot of tests changing things.
With the following code in activity create first time (and many others changing things) I get always the same error at run time:
java.lang.RuntimeException: Object should first be initialized (BitmapDrawable).
I tried also initializing it before with another png in the dirassets folder but I get the same error.
The code:
Dim BitmapDrawable1 As BitmapDrawable
BitmapDrawable1=AndroidResources1.GetApplicationDrawable("ic_easter_696844_960_720")
ImageView1.Bitmap=BitmapDrawable1.Bitmap
Where ic_easter_696844_960_720 is the name of the png images in the drawable-*dpi folders
Of course I have
Dim AndroidResources1 As AndroidResources in sub process_globals and
Private ImageView1 As ImageView in sub globals