This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi all, ive made a little game for my mobile. I have a splash screen, where i want the user to click one of the softbuttons or a number or the fire-button. While this all works fine in the emulator, it does not on the device itself. What would be the best solution that works on any device? uhm... The SplashScreen extends GameCanvas... And is switched to full screen...
Thnx in advance! [ June 03, 2007: Message edited by: Mike Cole ]
I've already made some games for fun, and some components for form use, I know what's your problem and maybe it's too hard to say that there isn't a simple solution, but I will stay with this opinion right now. My suggestion is that you can test your cellphone with a simple application, make a Canvas that prints on the screen what code you get in the method keyPressed(int code) when you press the button you want to use. Normally we use that code with the method getGameAction(int code) to get the button pressed in game defaults, but maybe this last method is not recognizing your button as a game button even if the keyPressed() method is being called. Well, if keyPressed() is being called you can simply use the code to identify the action in the game. This problem is common because of various implementations from brand to brand or model to model in a single brand.