It worth writing your own.
Its faster.
Its will work exactly the same on all phones.
The font will be the same size on every phone.
You can plug your own fancy fonts into games and not...
Type: Posts; User: alex_crowther; Keyword(s):
It worth writing your own.
Its faster.
Its will work exactly the same on all phones.
The font will be the same size on every phone.
You can plug your own fancy fonts into games and not...
I find I am in need of your funky little application again.
I don't have a copy handy here at work, so where can I download it these days ?
http://discussion.forum.nokia.com/forum/showpost.php?p=101365&postcount=8
Well this is going to confuse anyone reading this thread :)
I just changed my first answer, as I noticed your did read my post (as you talked about inlining ..) but now you say you didnt and I...
Err no, your wrong :P
making a method "private final" does, not cause it to inline.
Just to be sure I wasn't talking rubbish I have just tried making the example I was using "private final" and...
Its true that you can have a constants class which would be onfiscated out completely by proguard, but that's only one reason not to use a pre-processor.
The reasons to use them still outweigh...
The evilness of pre-processors depends on how you use them.
If you are trying to plug them into eclipse then they are probably going to seem pretty evil :)
I don't use a integrated IDE for...
Your choices are:
1: - dont delete -> append, append first ..
2: - use a new form/list each time, this works well for all phones except the sony ericcson t610.
3: better yet, write your own...
A null point is because there was no image loaded (assuming the pointer was to an image).
This could be because:
1: There was no image to load ..
2: The image was too big and as such didn't...
I think the 2 commen solutions are:
1: Produce multiple versions for nokia series 60:
2: Don't support that phone.
Yes.
Step 1: understand the jpeg formet (I don't)
Step 2: manually write the bytes into a file yourself ..
And by file I mean RMS.
You wont be able to write the file to the phones gallery...
The only testing that the operators are interested in (i.e. though people who will be actually selling it), is ..
Which actual phones has it been tested on.
They are not interested in knowing...
Close enough, when it comes to file handling, midp-2.0 has not added anything useful that I can recall.
To get you started heres a method to load a file into memory, for simplicity I have stripped...
Yes but I bet he is compiling against midp1.0 libraries :P
http://j2medevices.com/documentation/midp1.0/
Its not working because its not part of midp1.0.
Thats semi useful but not really what I am looking for.
What I want is something that will inteligently inline anything that is called in only one place or where inlining the code would result in...
Is there a solution for inlining method calls other than manually inlining it yourself ?
I am talking about siturations where for code clarity you have declared a method (e.g. engine_tick() )...
The devide (is it a t610) is probably just a lot slower.
Do you have a frame rate loop with speed control or do you just run your code as fast as it will go ?
Personally I recommend the first...
You have overlooked the most obvious reason.
j2me is a subset of java because java is huge.
To understand that statement fully you have to remember that your phone has to hold 2 things, it has...
I have an idea that nokia are highly unlikely to tell you how it works.
That is all.
My game uses the middle softkey , but I am using FullCanvas and not setFullScreenMode.
For nokia I use the following:
static int KEY_UP = -1;
static int KEY_DOWN = -2;
static int...
two things:
If you are creating images each time, then you are leaking memory each time and as the 3650 has less heap than other nokia series 60 phones it will run out of memory first.
Also,...
If you cannot use it on a real phone .. then that's all you need to know :)
Forget what you can or cannot do on the emulator, its what really works on the phone that counts.
Personally I don't...
print the progress on the phones screen.
You may also want to put exception handlers round everything that are capable of printing the exception onto the phones screen.
If you do the later,...
another possibility is its taking longer to load them on the real device and you are trying to use them before they have finished loading ..