Results 1 to 7 of 7
- 01-12-2011, 12:20 PM #1
Member
- Join Date
- Jan 2011
- Posts
- 8
- Rep Power
- 0
How to get rid of the Bottombar ?
Hi,
I have been trying to create tetris game in Java ME using touchpad, but I am facing a problem. All my applications have a bottombar which covers 1/4 of my screen and makes it very difficult to play a game. (Smaller tetris blocks)
I'm using NetBeans, Platform Type: CLDC/MIDP, Emulator Platform: Samsung SDK 1.2.2, CLDC-1.1, MIDP-2.0.
It looks like this:

Cod structure I use:
Thanks in advance.Java Code:import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class Tetris1 extends MIDlet { private Display display; public void startApp() { display = Display.getDisplay(this); display.setCurrent(new MyCanvas()); } public void pauseApp() { } public void destroyApp(boolean forced) { } } class MyCanvas extends Canvas { public MyCanvas() { setFullScreenMode(true); } public void pointerPressed(int x, int y) {} public void pointerReleased(int x, int y) {} public void pointerDragged(int x, int y) {} public void paint(Graphics g) {} }
- 01-13-2011, 09:58 AM #2
Member
- Join Date
- Dec 2010
- Posts
- 49
- Rep Power
- 0
@miller.bartek I do not think that is possible as it is main navigation just like keyboard on on traditional mobile.
- 01-13-2011, 10:24 AM #3
Member
- Join Date
- Jan 2011
- Posts
- 8
- Rep Power
- 0
I have a game installed on my phone which uses 'full screen' and there is no the bottom menu. Today I will try different versions of emulators and see if it is dependent on the emulator version.
-
Multiple spam posts deleted and spammers banned. This thread appears to be a spam magnet for some reason, and to the OP, I'm sorry for this, but don't know how to keep them from targeting it other than by locking this thread when you feel it is done.
- 01-13-2011, 01:29 PM #5
Member
- Join Date
- Dec 2010
- Posts
- 49
- Rep Power
- 0
The thing is that emulators are often different from real device, so till you get access to targeted device you wouldn't know if emulator is same as device in UI
- 01-13-2011, 04:19 PM #6
Member
- Join Date
- Jan 2011
- Posts
- 8
- Rep Power
- 0
I've done it.
One line did all.
It's enough to open .jad file with Notepad and add this line:
MIDlet-Touch-Support: True
And it works
:)
- 01-13-2011, 06:21 PM #7
Member
- Join Date
- Dec 2010
- Posts
- 49
- Rep Power
- 0


LinkBack URL
About LinkBacks

Bookmarks