Results 1 to 7 of 7
  1. #1
    miller.bartek is offline Member
    Join Date
    Jan 2011
    Posts
    8
    Rep Power
    0

    Default 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:

    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) {}
    }
    Thanks in advance.

  2. #2
    peter_budo is offline Member
    Join Date
    Dec 2010
    Posts
    49
    Rep Power
    0

    Default

    @miller.bartek I do not think that is possible as it is main navigation just like keyboard on on traditional mobile.

  3. #3
    miller.bartek is offline Member
    Join Date
    Jan 2011
    Posts
    8
    Rep Power
    0

    Default

    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.

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    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.

  5. #5
    peter_budo is offline Member
    Join Date
    Dec 2010
    Posts
    49
    Rep Power
    0

    Default

    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

  6. #6
    miller.bartek is offline Member
    Join Date
    Jan 2011
    Posts
    8
    Rep Power
    0

    Default

    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
    :)

  7. #7
    peter_budo is offline Member
    Join Date
    Dec 2010
    Posts
    49
    Rep Power
    0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •