PIM testing in netbeans simulator [J2ME]

570 views Asked by At

I am developing an application that works extremely with user mobile phone book in j2me but because the emulator that I use has not any default phone contacts book I can't debug my application (or just see if the application works or not).

I searched a lot but I didn't find any things that can help me.

Is there any possible solution?

1

There are 1 answers

2
gnat On BEST ANSWER

Check the User Guide that comes with your emulator. This document is typically available in the installation directory, in sub-folder docs.

There is a section related to PIM API. For example, in Wireless Toolkit 2.5.2 information you need is provided in chapter 10 Using the PIM and FileConnection APIs, section 10.2 The PIM API:

...emulator stores contact, calendar, and todo information in standard files on your desktop computer’s hard disk. All information is stored in workdir\appdb\skin\pim. This directory is shared by all running emulators. Lists are stored in subdirectories of the contacts, events, and todo directories. For example, a contact list called Contacts is contained in:

---
Windows:   workdir\appdb\skin\pim\contacts\Contacts
Linux:     workdir/appdb/skin/pim/contacts/Contacts
---

Inside the list directory, items are stored in vCard (.vcs) or vCalendar (.vcf) format (see http://www.imc.org/pdi/). Contacts are stored in vCard format, while calendar and to-do items are both stored in vCalendar format.