Resizing an application...

Hi... I took a programming class about 2 years ago in highschool and did pretty well with it... so I decided to try and resize some games I have for my phone that are 15x15 and need to be 176x220. I have the .jar files for the games, and the ability to decompress them and pull the other files off, I've even made .jad files for them... however I cannot seem to be able to access the coding for the game to change the size. Can anyone tell me how I can access the coding BEFORE I download every platform known to man and machine! Thanks for your help.

[559 byte] By [DaiDreaymera] at [2007-11-27 0:24:43]
# 1

The first thing to do is have a look in the archive files to see if there are any configurations files - most likely properties files. If there are, it may be that the initial size of the form will be defined in there and all you have to do is modify that. Secondly, are you certain that there are no options available from inside the game that allow you to set the screen size?

Tillermana at 2007-7-11 22:21:52 > top of Java-index,Java Essentials,New To Java...
# 2

I'm kind of rusty so here are the files that are associated with the .jar and maybe someone can tell me what I need to view the code and which file it would be in

a file

a.class

b.class

c.class

d.class

g file

i.png

m file

manifest.mf

mm.class

o file

s file

DaiDreaymera at 2007-7-11 22:21:52 > top of Java-index,Java Essentials,New To Java...
# 3

> Hi... I took a programming class about 2 years ago in

> highschool and did pretty well with it... so I

> decided to try and resize some games I have for my

> phone that are 15x15 and need to be 176x220. I have

> the .jar files for the games, and the ability to

> decompress them and pull the other files off, I've

> even made .jad files for them... however I cannot

> seem to be able to access the coding for the game to

> change the size. Can anyone tell me how I can access

> the coding BEFORE I download every platform known to

> man and machine! Thanks for your help.

I can only help with this if you have a Nokia phone.

Here's what you do:

1). Open the .jar file in Winzip. You'll see a list of files. Find 'Manifest.mf'

2). Right Click on 'Manifest.mf' and open in Notepad.

3). Add the following text to the bottom:

Nokia-MIDlet-Original-Display-Size: 15,15//Your size.

Nokia-MIDlet-Target-Display-Size: 176,220//Desired Size

Save the file then.

Hope this helps...

fusion2005a at 2007-7-11 22:21:52 > top of Java-index,Java Essentials,New To Java...
# 4
i tried this but it didnt work. thank you though for your help
DaiDreaymera at 2007-7-11 22:21:52 > top of Java-index,Java Essentials,New To Java...