Dim jo As JavaObject
For i = 0 To Activity.NumberOfViews - 1
If Activity.GetView(i) Is Button Then
Dim b As Button
b = Activity.GetView(i)
If b.Tag > 0 AND b.Tag < 17 Then
Log("doing button no." & b.Tag)
jo = b
jo.RunMethod("setSoundEffectsEnabled", Array As Object(False))
End If
End If
Next