That would require a lot of mathematics. Also, a lot of drawing.
For the Android part, you can start with a View
and implement the onTouchEvent
.
http://developer.android.com/reference/android/view/View.html#onTouchEvent(android.view.MotionEvent)
Although, I am sure there is a more effective way of creating a game for Android. Possibly using some type of rapid development kit to reduce the amount of background code you'd have to write. For example, write your application in Flash or AdobeAir and deploy it that way.
I think you were down voted because a lot of your questioning can be answered by doing your own research. There is no error here, you are basically asking for code.
Here some stuff you can search for:
- Slingshot physics
- Collision detection
- Android View drawing
- Android OpenGL ES