A. What we need :
1. Java Platform, Standard Edition (also known as Java 2 Platform), you can find it HERE (just go to DOWNLOADS and select JDK 6 Update 3 and make shore you download the windows version, it should be about 65-70Mb)
2. Sony Ericsson SDK 2.5.0 for the Java ME Platform, you can find it HERE, just download the first file, it should be about 127Mb.
Attention, make shore there are no spaces in the path that you install the files into, as there's some problem with the emulator and it doesn't work if you have any spaces in the path (so don't install for example in "c:\program files")
3. JAD Maker, you can find it HERE (or look on the web for JadMaker)
B. How to install :
1. Install the Java Platform (the 65Mb file).
2. Install the Sony Ericsson SDK (the 127Mb file), at start-up it will say : "Found a JDK install in ... Do you want to use this ?" just press the "Yes" button
You will get a new window with SPOT xde® Player DLL, just install that one too, it's needed by the emulator.
3. Extract JAD Maker from the archive, start it up and select "Enable Explorer Context-Menu extension"
4. Download the attached BAT file and modify the first 2 lines to point to where JADMaker.exe and emulator.exe are.
If the path to JADMaker contains spaces make shore to put the path between "", for example :
CODE
set JADMAKER="c:\my utils\jadmaker.exe"
You can also change the 3rd line to change the type of phone the emulator will try to emulate, there's an entire list in the BAT file, you can use that as a reference.
Here's a list of Emulator Types that are supported :
- SonyEricsson_China_JP7_128x160_Emu
- SonyEricsson_China_JP7_176x220_Emu
- SonyEricsson_China_JP7_240x320_Emu
- SonyEricsson_China_JP8_128x160_Emu
- SonyEricsson_China_JP8_176x220_Emu
- SonyEricsson_China_JP8_240x320_Emu
- SonyEricsson_F500i_Emu
- SonyEricsson_J300_Emu
- SonyEricsson_JP7_128x128_Emu
- SonyEricsson_JP7_128x160_Emu
- SonyEricsson_JP7_176x220_Emu
- SonyEricsson_JP7_240x320_Emu
- SonyEricsson_JP8_128x128_Emu
- SonyEricsson_JP8_128x160_Emu
- SonyEricsson_JP8_176x220_Emu
- SonyEricsson_JP8_240x320_Emu
- SonyEricsson_K300_Emu
- SonyEricsson_K310_Emu
- SonyEricsson_K320_Emu
- SonyEricsson_K500_Emu
- SonyEricsson_K510_Emu
- SonyEricsson_K600_Emu
- SonyEricsson_K700_Emu
- SonyEricsson_K750_Emu
- SonyEricsson_M600_Emu
- SonyEricsson_P900_Emu
- SonyEricsson_P910_Emu
- SonyEricsson_P990_Close_Emu
- SonyEricsson_P990_Open_Emu
- SonyEricsson_S700_Emu
- SonyEricsson_SJP3_240x320_Emu
- SonyEricsson_V800_Emu
- SonyEricsson_W200_Emu
- SonyEricsson_W300_Emu
- SonyEricsson_W600_Emu
- SonyEricsson_W700_Emu
- SonyEricsson_W800_Emu
- SonyEricsson_W810_Emu
- SonyEricsson_W900_Emu
- SonyEricsson_W950_Emu
- SonyEricsson_Z1010_Emu
- SonyEricsson_Z500_Emu
- SonyEricsson_Z520_Emu
- SonyEricsson_Z525_Emu
- SonyEricsson_Z530_Emu
- SonyEricsson_Z550_Emu
- SonyEricsson_Z558_Emu
- SonyEricsson_Z800_Emu
C. How to use :
Copy the BAT file somewhere where's easy for you to find it. Right click on any JAR file, and select "Open With", select "Browse" and find the bat file. Now do the same for JAD files too. Now, whenever you want to open the java application/game in the emulator you just right click it, select "Open With" and select the bat file from the list, and presto, you've got your program in the emulator
D. FAQ :
1. Question : Can i save a screenshot with the program/game ?
Answer : Yes, of course you can, just press the F12 key (or select Midlet->Take Snapshot). A new folder named "snapshots" will be created (in the folder that contains the JAD/JAR file) and the screenshots will be called JARFileName-EmulatorType-Idex.png, so for example if you start "NTAl-BINPDA.jad" in the emulator and you have selected SonyEricsson_JP7_240x320 as the emulator, the first screenshot will be : "NTAl-BINPDA_SonyEricsson_JP7_240x320_1.png".
2. Question : Does this emulator support all games/programs ?
Answer : Well, sadly no, i can't tell you which programs/games do work with it, you'll have to try them out yourself.
3. Question : What phones does the emulator support ?
Answer : As you can see from the list, it supports most phones, and for the ones that are not supported dirrectly you can always use one of the generic ones with the right resolution (or maybe a phone that's similar in specs to the one you want to test).
Z. Source code of BAT file :
I've attached the file to the post, but i thought I'll also post the source-code, just in case somebody wants to take a look at it without downloading it. So, here it is :
CODE
@echo off
:: modify the next 2 lines to point to the correct programs
:: also the 3rd line defines what emulator type we'll use (as in what phone we're emulating)
set JADMAKER=c:\utilit\jadmaker.exe
set SEEMU=c:\SonyEricsson\JavaME_SDK_CLDC\PC_Emulation\WTK2\bin\emulator.exe
set EMUTYPE=SonyEricsson_JP8_240x320_Emu
:: here's a complete list of strings you can put in EMUTYPE :
:: SonyEricsson_China_JP7_128x160_Emu
:: SonyEricsson_China_JP7_176x220_Emu
:: SonyEricsson_China_JP7_240x320_Emu
:: SonyEricsson_China_JP8_128x160_Emu
:: SonyEricsson_China_JP8_176x220_Emu
:: SonyEricsson_China_JP8_240x320_Emu
:: SonyEricsson_F500i_Emu
:: SonyEricsson_J300_Emu
:: SonyEricsson_JP7_128x128_Emu
:: SonyEricsson_JP7_128x160_Emu
:: SonyEricsson_JP7_176x220_Emu
:: SonyEricsson_JP7_240x320_Emu
:: SonyEricsson_JP8_128x128_Emu
:: SonyEricsson_JP8_128x160_Emu
:: SonyEricsson_JP8_176x220_Emu
:: SonyEricsson_JP8_240x320_Emu
:: SonyEricsson_K300_Emu
:: SonyEricsson_K310_Emu
:: SonyEricsson_K320_Emu
:: SonyEricsson_K500_Emu
:: SonyEricsson_K510_Emu
:: SonyEricsson_K600_Emu
:: SonyEricsson_K700_Emu
:: SonyEricsson_K750_Emu
:: SonyEricsson_M600_Emu
:: SonyEricsson_P900_Emu
:: SonyEricsson_P910_Emu
:: SonyEricsson_P990_Close_Emu
:: SonyEricsson_P990_Open_Emu
:: SonyEricsson_S700_Emu
:: SonyEricsson_SJP3_240x320_Emu
:: SonyEricsson_V800_Emu
:: SonyEricsson_W200_Emu
:: SonyEricsson_W300_Emu
:: SonyEricsson_W600_Emu
:: SonyEricsson_W700_Emu
:: SonyEricsson_W800_Emu
:: SonyEricsson_W810_Emu
:: SonyEricsson_W900_Emu
:: SonyEricsson_W950_Emu
:: SonyEricsson_Z1010_Emu
:: SonyEricsson_Z500_Emu
:: SonyEricsson_Z520_Emu
:: SonyEricsson_Z525_Emu
:: SonyEricsson_Z530_Emu
:: SonyEricsson_Z550_Emu
:: SonyEricsson_Z558_Emu
:: SonyEricsson_Z800_Emu
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: don't modify anything below this lines
echo.
echo.
echo.
echo Filename : %~n1
echo Extension : %~x1
:: if it's a JAD file we start the emulator
if "%~x1"==".jad" goto _start_jad
:: if it's a JAR file, we first create a JAD file
if "%~x1"==".jar" goto _make_jad
:: otherwise show the error message
goto _error
rem
:_make_jad
:: create the JAD file first
echo.
echo Creating JAD file
%JADMAKER% "%~n1.jar"
goto _start_jad
:_start_jad
:: start the emulator
echo.
echo Starting emulator
echo.
%SEEMU% -Xdevice:%EMUTYPE% -Xdescriptor:"%~n1.jad"
goto _exit
:_error
:: show the error message
echo. ERROR !!!
echo.
echo Sorry, but you have to call this BAT file with either a JAD or a JAR file
echo.
echo.
echo.
goto _exit
:_exit
:: modify the next 2 lines to point to the correct programs
:: also the 3rd line defines what emulator type we'll use (as in what phone we're emulating)
set JADMAKER=c:\utilit\jadmaker.exe
set SEEMU=c:\SonyEricsson\JavaME_SDK_CLDC\PC_Emulation\WTK2\bin\emulator.exe
set EMUTYPE=SonyEricsson_JP8_240x320_Emu
:: here's a complete list of strings you can put in EMUTYPE :
:: SonyEricsson_China_JP7_128x160_Emu
:: SonyEricsson_China_JP7_176x220_Emu
:: SonyEricsson_China_JP7_240x320_Emu
:: SonyEricsson_China_JP8_128x160_Emu
:: SonyEricsson_China_JP8_176x220_Emu
:: SonyEricsson_China_JP8_240x320_Emu
:: SonyEricsson_F500i_Emu
:: SonyEricsson_J300_Emu
:: SonyEricsson_JP7_128x128_Emu
:: SonyEricsson_JP7_128x160_Emu
:: SonyEricsson_JP7_176x220_Emu
:: SonyEricsson_JP7_240x320_Emu
:: SonyEricsson_JP8_128x128_Emu
:: SonyEricsson_JP8_128x160_Emu
:: SonyEricsson_JP8_176x220_Emu
:: SonyEricsson_JP8_240x320_Emu
:: SonyEricsson_K300_Emu
:: SonyEricsson_K310_Emu
:: SonyEricsson_K320_Emu
:: SonyEricsson_K500_Emu
:: SonyEricsson_K510_Emu
:: SonyEricsson_K600_Emu
:: SonyEricsson_K700_Emu
:: SonyEricsson_K750_Emu
:: SonyEricsson_M600_Emu
:: SonyEricsson_P900_Emu
:: SonyEricsson_P910_Emu
:: SonyEricsson_P990_Close_Emu
:: SonyEricsson_P990_Open_Emu
:: SonyEricsson_S700_Emu
:: SonyEricsson_SJP3_240x320_Emu
:: SonyEricsson_V800_Emu
:: SonyEricsson_W200_Emu
:: SonyEricsson_W300_Emu
:: SonyEricsson_W600_Emu
:: SonyEricsson_W700_Emu
:: SonyEricsson_W800_Emu
:: SonyEricsson_W810_Emu
:: SonyEricsson_W900_Emu
:: SonyEricsson_W950_Emu
:: SonyEricsson_Z1010_Emu
:: SonyEricsson_Z500_Emu
:: SonyEricsson_Z520_Emu
:: SonyEricsson_Z525_Emu
:: SonyEricsson_Z530_Emu
:: SonyEricsson_Z550_Emu
:: SonyEricsson_Z558_Emu
:: SonyEricsson_Z800_Emu
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: don't modify anything below this lines
echo.
echo.
echo.
echo Filename : %~n1
echo Extension : %~x1
:: if it's a JAD file we start the emulator
if "%~x1"==".jad" goto _start_jad
:: if it's a JAR file, we first create a JAD file
if "%~x1"==".jar" goto _make_jad
:: otherwise show the error message
goto _error
rem
:_make_jad
:: create the JAD file first
echo.
echo Creating JAD file
%JADMAKER% "%~n1.jar"
goto _start_jad
:_start_jad
:: start the emulator
echo.
echo Starting emulator
echo.
%SEEMU% -Xdevice:%EMUTYPE% -Xdescriptor:"%~n1.jad"
goto _exit
:_error
:: show the error message
echo. ERROR !!!
echo.
echo Sorry, but you have to call this BAT file with either a JAD or a JAR file
echo.
echo.
echo.
goto _exit
:_exit
P.S. sorry for the long post, but i wanted to explain everything as well as i could. If anybody has any questions/suggestions please post here and i'll try to keep this first post up to date.
I've also attached a few screenshots taken by the emulator, as you can see, only the screen content is saved, not how the emulator actually looks like.
EDIT
Changed the setting to SonyEricsson_JP7_240x320_Emu since the K790/k800/k810/k818 phones are JP7 (they have 2 special action buttons), while the SonyEricsson_JP8_240x320_Emu is for K850 (it has 3 special action buttons).
