surfaceview
Android: Update custom surfaceview canvas between two states
I have a custom SurfaceView defined in my layout xml. I can draw to the canvas no problem with an associated external class which extended SurfaceView. However, my aim is to draw an initial state (let[详细]
2023-04-12 07:22 分类:问答add image to surface view in android
I want to add image to Surface view. So i used below code public class MySurfaceView extends SurfaceView implements SurfaceHolder.Callback{[详细]
2023-04-12 06:53 分类:问答Support for multiple active overlapping surface views in Android
I am currently working on an Android App that needs several overlapping SurfaceViews in one screen. To be precise, I have two active overlapping SurfaceViews, one connected to Camera and the other co[详细]
2023-04-11 19:15 分类:问答How to save my current game into cache?
I\'m currently deve开发者_运维百科loping an android game using SurfaceView and i want to save my GameField class/object to the cache.[详细]
2023-04-11 08:32 分类:问答Android bitmap creation by View.getDrawingCache() on SurfaceView?
It appears that y开发者_如何转开发ou can create a bitmap from what is showing on the screen via View.getDrawingCache() once View.setDrawingCacheEnabled() is set to true.But it does not seems to work f[详细]
2023-04-10 09:45 分类:问答Zoom effect on Android SurfaceView
I am developing a Car Race Game. I am able to move, stop, accelerate. But i want that when i press screen then car(bitmap of car image) should look like, it had jumped on its place.I am using surfacev[详细]
2023-04-08 23:34 分类:问答android ImageView hyperlink coords
I want to implement a functionality in which when particular area of an image set in an ImageView will result in calling an intent.[详细]
2023-04-08 07:48 分类:问答Android: SurfaceView canvas size different from target device pixels
I am new to Android programming. I have little game where I draw everything into offscreen canvas. When I want to present it I use calss derived from SurfaceView. It works OK. Problem is that offscree[详细]
2023-04-07 22:18 分类:问答Is it possible to display 2 video on 2 different surface view within an android activity?
I\'ve done some research on display 2 different videos on 2 different surface view, but didn\'t manage to find any.[详细]
2023-04-07 13:10 分类:问答Android game loop, how to control speed
I have created my game loop through Surfaceview. Animations in the game run faster on powerful devices with high configuration and slower on low configuration dev开发者_运维问答ices.[详细]
2023-04-07 04:58 分类:问答