surfaceview
Multitouch drawing with surfaceview
In the past, I wrote an app that would draw lines with two touches. What I did was create two vectors, one for pointer ID 0 and one for Pointer ID 1 (thus anything else gets ignored). I would buffer u[详细]
2023-03-13 09:54 分类:问答Android animation acting strange with .sleep() onTouchEvent
I currently have (among others) these classes: public class Main extends Activity { Panel p; @Override public void onCreate(Bundle savedInstanceState) {[详细]
2023-03-13 03:25 分类:问答Admob Ad Overlapping SurfaceView
I have used the following in android manifest. <?xml version=\"1.0\" encoding=\"utf-8\"?> <RelativeLayout[详细]
2023-03-12 19:45 分类:问答Cam picture on surface holder, draw: Exception because of surface type
I\'m using a SurfaceView with a SurfaceHolder to start off with a camera preview in my test app. public class TextLocatorActivity extends Activity {[详细]
2023-03-12 10:07 分类:问答Android Surfaceview and different resolutions problem
I have encountered a weird problem and I can\'t manage a way to solve it. Scenario I have a Surfaceview on which I draw some images on different positions. First I created folders for l/m/hdip draw[详细]
2023-03-11 23:29 分类:问答Surfaceview re-draw
I have two images on a surfaceview and only one of the images开发者_如何学Python is animated, the second image is static and keeps drawing itself over itself and so this makes the program slow. How ca[详细]
2023-03-11 12:52 分类:问答android surfaceview onDraw vs thread.onDraw
What is better for a android game to use: a SurfaceView with a rendering thread or a SurfaceView with a thread that 开发者_如何学运维calls the SurfaceView function doDraw()[详细]
2023-03-10 13:28 分类:问答How to determine screen position/height of SlidingDrawer handle?
HI Guys, I\'m using SlidingDrawer with a custom SurfaceView and ran into a problem. The problem is that the SurfaceView doesn\'t know about the remaining view area[详细]
2023-03-10 08:44 分类:问答How to properly lock/unlock camera when drawing on SurfaceView?
I created an开发者_如何学Go Activity with Augmented Reality functionality. Part of that is to have phone camera display in the background (which is SurfaceView in Activity layout).[详细]
2023-03-09 15:11 分类:问答Launching an activity from inside a SurfaceView
I\'m trying to start an Activity (StartGame) from inside of a SurfaceView once I touch in a certain spot. This code is inside the OnTouchEvent[详细]
2023-03-09 08:21 分类:问答