Assuming you get the "number" on a variable named MyByte:
ImageView1.SetBackgroundImage(LoadBitmap(File.DirAssets, "image" & MyByte & ".jpg"))
How do I take the varible "mybyte" and return each individual bit to examine?
In other words how do I look at each individual bit contained in a byte?
Here is the general idea:
I need a way to determine is the first bit is a 1 or 0 then
if 1st bit = "0" then loadbitmap image0.jpg
if 1st bit = "1" then loadbitmap image1.jpg
Then examine the 2nd bit
if 2nd bit = "0" then loadbitmap image0.jpg
if 2nt bit = "1" then loadbitmap image1.jpg
Otherwise, I may take your advise and create 256 background images and swap them out depending on the "MyByte" variable.
-Thank you