This is a very, very simple project implementing a slide switch with B4A code only. Track flag1 and flag2 to know the state of the two switches (i.e are the switches on or off)...
Attached you find a pdf tutorial about Designer Scripts & AutoScale.
It includes Erels Designer Scripts Tutorial and a new AutoScale Tutorial.
It's an extract of two chapters from the next...
Having just posted the jFugue jar file and examples of accessing it, I thought it would be a good opportunity to show how I would go about creating a wrapper in B4x for this.