Welcome to Esato.com




New to JAVA


Click to view updated thread with images




Posted by Pistolprins
Hello,

I've recently got myself a SE K750i, but still a little puzzled about this JAVA thing.

- What's the difference between af .JAR and a .JAD file?
- Which one does the SE K750i use?

- What's the difference between MIDP2 and MIDP1?
- Which one does the SE K750i use?

- What's the difference between J2ME and other JAVA platforms?

- Will any J2ME run on any J2ME device?
- Even with different screen resolutions?
- I.e. will all K750i JAVA-applications run on a S700?

- Anything else needed to know about JAVA-applications on SEK750i?

TIA,
Pistolprinsen

Posted by Cycovision
- What's the difference between af .JAR and a .JAD file?

.jar is a Java archive file. It's like a .zip file that contains all of the programs, graphics and sound that Java application needs to work. It can be thought of as the 'main' file.

.jad is the java description file. Some devices need the .jad file for their menus and / or for the game to work whilst others don't.

- Which one does the SE K750i use?

The .jar file.


- What's the difference between MIDP2 and MIDP1?

MIDP is one of several Application Programming Interfaces (API) that are available for the Java language. An API can be thought of as a toolkit that the programmers use to make their apps. These toolkits often change and are added to, hence MIDP2 is a newer version of the API than MIDP

- Which one does the SE K750i use?

I'm not sure, but I believe it supports applets that were coded using the newer MIDP2 profile but retains compatibility with MIDP.

- What's the difference between J2ME and other JAVA platforms?

All Java applications require something called a runtime environment in order to work. It's basically a program that 'knows what to do' with a java application, rather like how your web browser knows what to do with webpages.

J2ME is the 'Micro Edition'. It's a highly optimised and somewhat cut-down version of the Java runtime engine especially developed to be used on portable devices that don't have much memory or processing power. Other Java runtimes are typically bigger and more sophisticated.

- Will any J2ME run on any J2ME device?

No, there are different implementations of J2ME. Games that work on a Nokia, for example, are not likely to work on your K750 but having said that, some might. It's best to get java apps and games that specifically say they will work with your phone.

- Even with different screen resolutions?

If they support the same Java specs then very often yes but it depends how they have been coded i.e. whether the programmer has allowed for different screen sizes and resolutions.

Other than that, generally speaking Java apps that have been developed for a device with a small screen will work on a device with a larger screen. Again, this is only if the two devices have (or have added support) for the same Java specs.

- I.e. will all K750i JAVA-applications run on a S700?

Probably not, although I can't say for sure having never tried it!

- Anything else needed to know about JAVA-applications on SEK750i?

Not really, just get some installed your phone and enjoy!

_________________
'He who laughs last, laughs longest. Or didn't get the joke...'

[ This Message was edited by: Cycovision on 2006-01-24 21:43 ]


Click to view updated thread with images


© Esato.com - From the Esato mobile phone discussion forum