Implementing sine/cos wave in android java

to show moving wave