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:
SourceForge.net Logo

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.

  1. Open KToolbar (Start -> Programs -> J2ME Wireless Toolkit).
  2. Click on New Project.  Type "Kardz" in the Project Name, and leave the MIDlet Class Name blank.  Click Create Project.


  3. 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.
  4. Now click Add and repeat Step 3 for Korean (KOR).
  5. Click Add again and repeat Step 3 for Chinese (CHI).  Hit OK to close the Settings Box.


  6. Make a note of where the project is located on your hard drive.  The default location on Windows is usually C:\WTK22\apps\Kardz.
  7. Now open the folder in Windows.  You will see 4 folders: bin, lib, res, src, and a project.properties file.
  8. 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.
  9. Similarly, copy the ncy directory from the res folder to the res folder in your local Kardz directory.


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


  11. 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


Last modified: Friday, 06-Jan-2006 23:09:56 UTC

copyright © 2006 Nicholas Chihau Yang
Email
http://nyanginator.com