I am developing a game in which there are a couple of on-screen
buttons
the user can press to do different things. These work by responding
to
onSingleTapConfirmed, and checking if the getX and getY of the event
are
within the coordinates of the buttons.
However, the getX and getY coordinates are
I'm making a game, using GLSurfaceView, and I keep getting this error
message when returning to my game after pressing Home:
"using an invalid surface id=[some integer], identity=[some integer],
should be [some integer]"
Then it takes a few seconds before the GLSurfaceView is drawn again,
even if
On Jul 7, 7:07 pm, Dianne Hackborn wrote:
> This isn't an intrinsic problem -- apps like YouTube have a surface view and
> show the menu fine. And there isn't enough information here to provide much
> help.
Yes, several other examples I've looked at, including the LunarLander
game does this, so
I'm making a game which uses a SurfaceView to display the main
graphics. I want to use the button labelled "MENU" in the emulator,
and I have implemented onCreateOptionsMenu(Menu menu) in the
Activity.
Trouble is, the MENU button isn't working. Only if I first press and
hold Home, then select my
4 matches
Mail list logo