Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Full screen on existing java games?  (Read 1683 times)
0 Members and 1 Guest are viewing this topic.
Offline wasp

Junior Newbie




Java games rock!


« Posted 2004-09-25 07:48:10 »

Is there any way that I can modify any existing Java Apps so they run in full screen on my Motorola C380? The problem is that i see all the time some menu, which i don't need , and if not there - the game will be playable ...

if there is _any_ way, please help me, guys!

Thanks in advance!


--
wasp
Offline Abuse

JGO Knight


Medals: 13


falling into the abyss of reality


« Reply #1 - Posted 2004-09-25 08:11:48 »

Potencially yes, the C380 is MIDP2.0 so fullscreen mode should be possible.

You can decompile the game using DJ decompiler :-

http://members.fortunecity.com/neshkov/dj.html

The code will likely be obfuscated, but that shouldn't be a problem.
You will need to find the class that extends Canvas, or GameCanvas. (hopefully there will be only 1)

In the constructor for the class, simply add setFullscreenMode(true), then recompile the code.

This may, or maynot get rid of the Command bar/status bar.

If the app. is using lcdui Commands, it may ignore your request to go fullscreen.
If this is the case, you will need to strip this code out, and replace it with your own implementation of softkey Commands.

You will likely need to resize some of the image assets the game uses - and probably alter the positioning of some elements of the game, for it to take advantage of the extra screen space gained.

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline wasp

Junior Newbie




Java games rock!


« Reply #2 - Posted 2004-09-25 11:10:53 »

Quote
Potencially yes, the C380 is MIDP2.0 so fullscreen mode should be possible.

You can decompile the game using DJ decompiler :-

http://members.fortunecity.com/neshkov/dj.html

The code will likely be obfuscated, but that shouldn't be a problem.
You will need to find the class that extends Canvas, or GameCanvas. (hopefully there will be only 1)

In the constructor for the class, simply add setFullscreenMode(true), then recompile the code.

This may, or maynot get rid of the Command bar/status bar.

If the app. is using lcdui Commands, it may ignore your request to go fullscreen.
If this is the case, you will need to strip this code out, and replace it with your own implementation of softkey Commands.


Thank you very much, this is what i needed to know. I will try it.

Quote

You will likely need to resize some of the image assets the game uses - and probably alter the positioning of some elements of the game, for it to take advantage of the extra screen space gained.


No, the game fits perfectly on the screen, _if_ the menu is not visible. So there is no need to tweek anything.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline guish

Innocent Bystander




Java games rock!


« Reply #3 - Posted 2004-10-30 18:12:15 »

Is impossible to see full screen java games in a MIDP 1.0 phone?
Offline davidaprice

Junior Duke





« Reply #4 - Posted 2004-10-31 07:41:35 »

Not in a phone that supports only MIDP 1.0. But many manufacturers noticed this problem and added proprietary APIs to use full screen. E.g. Nokia did this with its 'Nokia UI API', which is in all its MIDP 1.0 phones (and in the MIDP 2.0 phones, but just for backwards-compatibility).
Offline Abuse

JGO Knight


Medals: 13


falling into the abyss of reality


« Reply #5 - Posted 2004-10-31 08:57:23 »

You also get some crazy manufacturers who add MIDP2.0 methods to their MIDP1.0 implementation, and don't bother telling anyone about it Shocked

The O2 X2 for example, a MIDP1.0 device, implements Canvas.setFullscreenMode(boolean) Shocked

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (39 views)
2014-10-17 03:59:02

Norakomi (30 views)
2014-10-16 15:22:06

Norakomi (24 views)
2014-10-16 15:20:20

lcass (28 views)
2014-10-15 16:18:58

TehJavaDev (57 views)
2014-10-14 00:39:48

TehJavaDev (58 views)
2014-10-14 00:35:47

TehJavaDev (48 views)
2014-10-14 00:32:37

BurntPizza (64 views)
2014-10-11 23:24:42

BurntPizza (36 views)
2014-10-11 23:10:45

BurntPizza (78 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!