on baidu there is really not many post which is realy relate to draw things on camera preview.(when i doing the sreach, i m going to crazy becuase can not find any useful site and the project deadline is coming.)
just in case for anybody who will do any relate sreach on it, i post my code here:
1. cameraView.java is to set up the camera preview on surface. (when i baidu the "draw image on camera view", it show all the things is to show up the camera view but not the draw on it.)
2. Arrow.java to draw a arrow on top of the camera preview
3. Demo.java combain the draw and camera view together.
by the way, i m quite new in android. if there got any error, pls tell me.
thanks a lot!!!