Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
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  
  Full Screen  (Read 3695 times)
0 Members and 1 Guest are viewing this topic.
Offline disen

Junior Newbie




Java games rock!


« Posted 2004-03-22 01:00:54 »

Hi all,

The full screen play can be implemented on Nokia devices by using FullCanvas class, but how about the other model of phones? Like Motorola, Samsung, Sony Erricson and etc..... If you have done so in any model of these phones, please share your knowledge,thanks....
Offline shmoove

Junior Member




Doh!


« Reply #1 - Posted 2004-03-22 10:39:41 »

Sony Ericsson: only on MIDP 2.0 devices (Canvas.setFullScreen)
Motorola: device dependent - sometimes you can just draw to the whole screen using a normal Canvas (ie, T720, A835) as long as you don't add Commands, and sometimes you have to use the GameCanvas from Motorola's Gaming API (ie, A920).
As you can see, there is not always a generic way to get full canvas access. A good rule of thumb is to first try to just draw on the full screen with a normal Canvas (possibly ignoring values from getHeight()), and if that doesn't work look into the documentation and search for different Canvas classes (usually found in the gaming packages when available). Sometimes it's just not possible (ie, Sony Ericsson T610).

shmoove
Offline darcone

Junior Member




Size matters


« Reply #2 - Posted 2004-03-25 05:26:35 »

I see that one of the most active nokia discussion board members has found his way to javagaming! Welcome shmoove! Smiley
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #3 - Posted 2004-03-25 06:04:05 »

too bad we don't have any nokia people taking part here or on the nokia board  Grin

Offline shmoove

Junior Member




Doh!


« Reply #4 - Posted 2004-03-25 06:40:12 »

Thanks darcone.
It was just a matter of time....
Offline wooD

Senior Newbie




J2ME Developer


« Reply #5 - Posted 2004-03-25 22:30:57 »

A Canvas by default will cover the entire screen. Some phones leave some pixels at the bottom for commands to be displayed and some don't. It's a porting issue.

For instance on the Moto T720, the Canvas.getHeight() will tell you 13 less than the real screen size even though it will gladly allow you to draw there.

This is just one of the many things you have to deal with on a phone by phone basis.  Porting is part of life in the J2ME world.  I wish there were a way around it, but in many cases is just the different screen sizes that kill you.

Wood

Offline zeox

Innocent Bystander




Java games rock!


« Reply #6 - Posted 2004-04-07 23:54:37 »

Hello guys. I'm new here.
I was looking for a way of porting some Nokia games to other devices.
Actually I am a JAVA novice, and I don't do the coding. I just gather information for a firend who's a coder, but is kind'a lazy to browse the web for info.
As you probably know the main issue of porting Nokia games on other phones is the com/nokia/mid/ui/FullCanvas class.
Can anyone tell me its analogic classes for Samsung and Siemens phones?

Offline davidaprice

Junior Member





« Reply #7 - Posted 2004-04-08 07:51:22 »

Quote
too bad we don't have any nokia people taking part here or on the nokia board  Grin


Hey, yes you do!

(Obligatory disclaimers: not in an official capacity, my views may not reflect Nokia's, etc.).
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #8 - Posted 2004-04-08 09:53:32 »

Quote

Shocked Shocked Shocked
So there is actually people that can type on a keyboard at Nokia Tongue Seriously, you guys should increase (or from my point of view allocate) resources to answer questions on the nokia boards. It's  like we're fumbling around in the blind!
oh, and fix those emulators (particularly "Conflicting stack sizes") - they're more broken than the phones (thank god it's that way around Cheesy).

ahh, that felt good. - not angry or anything, but just a bit frustrated sometimes when I spend waay too many hours on something that turns out to be the fault of the phone or emulator Sad

Quote

(Obligatory disclaimers: not in an official capacity, my views may not reflect Nokia's, etc.).
Ofcourse. We all have the same ties, some just happen to work for a high profile company

Offline shmoove

Junior Member




Doh!


« Reply #9 - Posted 2004-04-08 14:54:12 »

Ditto.
I suspect the reason they don't participate more actively on the boards is that they have paid support plans, and they want us developers to shell out some cash before we get any help (just a guess, though). If this is really the reason then it is doing a disservice to both the developer community and Nokia. I can't imagine that they're seeing too much profit from those paid developer support plans, and it couldn't cost too much to hire one or two persons to serve as a liaison  between the tech people and the board members (like they do at the Sony Ericsson boards). The financial implications either way must be peanuts for a big corporation like Nokia. But what they stand to gain from actively supporting developers for free, isn't peanuts: plenty of quality software for their platforms.
The logic behind not supporting developers for free is something that I could never understand.

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

Senior Newbie




biggidy bong


« Reply #10 - Posted 2004-04-08 19:37:20 »

To be fair, Nokia do provide far more documentation and tools than any other handset manufacturer.  I find it rather impressive how much the give away for free.  Although I do agree that the forums aren't nearly as good.  If it wasn't for shmoove and a few other knowledgeable folk then it would be a complete waste of time visiting there.  Perhaps ForumNokia should give out free N-Gages to the most helpful members. Grin
Offline ronoc

Junior Newbie





« Reply #11 - Posted 2004-04-23 20:41:59 »

alas the plight of the modern day j2me developer caught between  a rock(stable revenue) and hard place(nokia and the likes).

i can see it changing ;-)

or maybe that is just the seasons.
/Cj

<<
Offline darcone

Junior Member




Size matters


« Reply #12 - Posted 2004-04-24 09:39:38 »

Believe it or not but I found the nokia forums to be the best J2ME forums to start with.
Offline bot

Innocent Bystander




Java games rock!


« Reply #13 - Posted 2004-04-29 11:52:43 »

Hi there, I am running two threads for a MIDlet. one of them refreshes the screen while the other one hits the server and gets some data from there. after sometimes, my emulator gives "Conflicting stack sizes" error.
I thought it will be a standard and well known problem, but all what google returned was your message.
can u suggest me how to get rid of it?
Offline shmoove

Junior Member




Doh!


« Reply #14 - Posted 2004-04-29 15:05:08 »

Check the release note of the Nokia SDK (in it's docs directory). This is a known issue with the Nokia emulators.
The good news is that it never happens on the phone.
In the release notes the workaround the suggest is to use WAP networking for the emulator. I never actually tried that (sounds like too much hassle), but I found that increasing the heap size (the -heapsize parameter when running the emulator) makes the error happen much less often.

shmoove
Offline j2metoo

Senior Newbie




Java games rock!


« Reply #15 - Posted 2004-06-10 04:42:36 »

I am a bit paranoid about this issue.  If memories serve me right, I may have actually seen it on a series40.

Do we know the exact cause?  Can 2 threads issue to HTTP calls at the same time or is that an absolute nono?

Thanks,
Huh


Quote
Check the release note of the Nokia SDK (in it's docs directory). This is a known issue with the Nokia emulators.
The good news is that it never happens on the phone.
In the release notes the workaround the suggest is to use WAP networking for the emulator. I never actually tried that (sounds like too much hassle), but I found that increasing the heap size (the -heapsize parameter when running the emulator) makes the error happen much less often.

shmoove

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #16 - Posted 2004-06-10 05:40:24 »

Quote
I am a bit paranoid about this issue.  If memories serve me right, I may have actually seen it on a series40.

Do we know the exact cause?  Can 2 threads issue to HTTP calls at the same time or is that an absolute nono?

Thanks,
Huh

The exact cause is because most of the nokia emulators are functional, yet buggy as hell.
I don't know about two threads - theoretically it should be possible, practically - I wouldn't do it.

Try the new Series 40 Developer Platform 2 (6230 emulator). It's even more buggy (!!), however I haven't seen the Conflicting stack sizes on it.

Offline shmoove

Junior Member




Doh!


« Reply #17 - Posted 2004-06-10 09:26:45 »

The emulators emulate devices that only have a WAP stack, but your internet connection on your computer uses an HTTP stack. I guess there's a bug in the conversion somewhere. But on the real phone there is no HTTP stack so this specific bug doesn't have a reason to happen (don't worry, you'll have plenty more bugs to worry about Wink).

Using two threads for http seems risky to say the least. It's just asking for trouble. Better have only one thread and implement a queue to handle multiple requests.

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 (27 views)
2014-07-29 18:09:19

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

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

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

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

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

Riven (44 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!