Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (108)
games submitted by our members
Games in WIP (536)
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  
  P800 & J2ME  (Read 912 times)
0 Members and 1 Guest are viewing this topic.
Offline Goika

Senior Newbie




Java games rock!


« Posted 2005-01-24 13:23:50 »

I am starting to port my series 60 based application to other handsets and at the moment the newer sony ericssons e.g. k700, P900 etc seem to be not too bad for porting.
However I am trying to do the same for the P800 and there is the problem of when using canvases that a virtual keypad is visible all of the time to catch specific events - up,down,left,right,fire and also green, pink, yellow and blue buttons (which I cannot get the specific keycodes for - does anyone know of them as I use -6,-7 for the green crossand red tick which work on the emmulator?) and I have discovered that this cannot be removed as it is standard for midp 1.0 on this handset. Does anyone know of a way around this or at least to get more drawing height on the canvas as it only allows access to 208x172 with this keypad. Can you remove any of the status/menu bars or set a different clipping area to paint over certain areas of the screen to get more space or is it just impossible?

If there are no ways around this as above I was thinking that the main problem is that I can't use the setfullscreen(true) line as it is MIDP 2.0 specific, but I have heard that MIDP 1.0 phones can get access to MIDP 2.0 specific features by being built with j2mepolish, does anyone know if this is possible and if it would solve my problem by being able to set this to true and gain more space or to at least hide the virtual keypad that just won't go away?

Many thanks for your valued responses.
Offline shmoove

Junior Member




Doh!


« Reply #1 - Posted 2005-01-24 14:07:06 »

There is no fullscreen support for the P800. You'll have to deal with the keypad, and the "measly" 208x172 (that's a lot for mobile development).

Quote

and also green, pink, yellow and blue buttons (which I cannot get the specific keycodes for - does anyone know of them as I use -6,-7 for the green crossand red tick which work on the emmulator?)

You can catch them as game actions, they map to the GAME_A, GAME_B, GAME_C, GAME_D game actions.

Quote

but I have heard that MIDP 1.0 phones can get access to MIDP 2.0 specific features by being built with j2mepolish

Not the fullscreen. What you're thinking about is an emulation of the MIDP 2.0 Game API (so you can use Sprites, Layers, etc.).

shmoove
Offline Goika

Senior Newbie




Java games rock!


« Reply #2 - Posted 2005-01-24 14:30:04 »

Thanks shmoove,

your medal is on it's way.

208x172 is measly for me being used to 176x208 minimum!

Is it possible to rotate the origin when painting onto a canvas in the same way that you can translate it to be a different location on the screen? That way I could use the screen width(208) as the height and that would solve a lot of my problems apart from the keypad being on the right-handside of the screen.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline shmoove

Junior Member




Doh!


« Reply #3 - Posted 2005-01-24 14:46:44 »

Not possible. You'll have to do that by hand if you want the game on it's side.

OT: There is one phone that actually has an API for that, but it's not very popular.

shmoove
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.

CogWheelz (18 views)
2014-07-30 21:08:39

Riven (23 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (33 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (43 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

List of Learning Resources
by SilverTiger
2014-07-31 18:26:06

List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54
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!