Ok, i have the following code and it doesn't seem to be working, can anyone please tell me what i'm doing wrong, basically what i'm trying to accomplish is display several pictures at an interval of every 10 seconds, i have a total of 4 pictures but eventually i want to be able to add more, any help will be greatly appreciated!!
thanks,
Walter
B4X:
Sub Timer1_Tick
picturenumber = 0
imageview1.Gravity = Gravity.FILL
Select picturenumber
Case 0 :Imageview1.Bitmap = LoadBitmap(File.DirAssets, "elections.jpg")
Case 1 :imageview1.Bitmap = LoadBitmap(File.DirAssets, "image10.jpg")
Case 2 :imageview1.Bitmap = LoadBitmap(File.DirAssets, "senate.jpg")
Case 3 :imageview1.Bitmap = LoadBitmap(File.DirAssets,_
"wethepeople2.jpg")
i
End Select
If picturenumber >= 3 Then
picturenumber = 0
End If
Picturenumber = picturenumber + 1
End Sub
thanks,
Walter