|
Home
About
Requirements
How to Build and Run
How to Create Your Own Flash Cards
How to Add a New Language
How to Use
Gallery
Troubleshooting
Download
Site hosted by:

|
How to Build and Run
These are instructions for Windows, but I'm sure that the
setup procedure is similar on other platforms. Shoot me an
email if you're having trouble.
- Open KToolbar (Start -> Programs -> J2ME Wireless
Toolkit).
- Click on New Project. Type "Kardz" in the
Project Name, and leave the MIDlet Class Name blank.
Click Create Project.

- Click on the MIDlets tab in the Settings window that
appears. Select the MIDlet-1 row and click Edit.
Let's start with Japanese (JPN). Change the name to
"KardzJPN". Type "/ncy/kardz/icon.png" for the Icon entry.
Type "ncy.kardz.kardzJPN.Kardz" for Class. Remember that the
letters are case-sensitive. Hit OK.
- Now click Add and repeat Step 3 for Korean (KOR).
- Click Add again and repeat Step 3 for Chinese (CHI).
Hit OK to close the Settings Box.

- Make a note of where the project is located on your hard
drive. The default location on Windows is usually
C:\WTK22\apps\Kardz.
- Now open the folder in Windows. You will see 4
folders:
bin, lib, res, src, and a project.properties
file.
- In the zip file you downloaded, copy the
ncy directory from
the src folder to the src folder in your local Kardz directory.
Make sure that when you unzipped the zip file, you preserved paths.
- Similarly, copy the
ncy directory from
the res folder to the res folder in
your local Kardz directory.

- Go back to KToolbar and hit Build.
You can now choose a skin (Device popup menu) and hit
Run to start up the emulator.

- Alternatively, you can go to the menu selection Project
-> Package -> Create Package to create a .jad and
.jar file in the
bin directory. Upload
Kardz to your mobile device using the .jad file, which
contains instructions for your device on how to install the .jar file.
I recommend you get it working in the emulator first before
uploading to your mobile device so you can view error
printouts.
Back to top
|