Java™-based development framework for PalmOS™ devices (PDAs) Copyright© 2000 by Bernd R. Fix. All Rights Reserved. |
|
DynaWorks TutorialHow to write applications with the DynaWorks framework |
DynaWorks source code examples
|
|||||||||||||||||
I have included some source code examples to show you how do make use of the
DynaWorks framework. These examples can be found under
the <dynaworks>/examples directory. I have compiled the examples using the cpl.bat batch file that is included with each example; if the *.prc files have been loaded to the Palm they will show up like in the picture to the right: |
|||||||||||||||||
A multi-page application with custom widgets |
|||||||||||||||||
A simple multi-page application with three screens at all. Notice the custom widget (a slider) on the
second page. The third page is "modal" page, you can reach it (and return to caller) from the first and the second page. The source code can be found here:
|
|||||||||||||||||
A database application with custom records |
|||||||||||||||||
This is a skeleton framework for an application that wants to read, write, modify and delete entries
in its own database. The application has buttons to traverse the database, to delete, to add and to edit records in the database. It uses to pages (one for a record display and database traversal, the other for record editing). The source code can be found here:
|
|||||||||||||||||
Reading the build-in databases... |
|||||||||||||||||
These are very simple applications that allow you to traverse the Palm build-in databases. Since they are all derived from the same skeleton application, they also look all the same: They have buttons for selecting records (first,prev,next,last) and an 'exit' button. | |||||||||||||||||
Reading the address database |
|||||||||||||||||
The source code can be found here:
|
|||||||||||||||||
Reading the datebook database |
|||||||||||||||||
The source code can be found here:
|
|||||||||||||||||
Reading the eMail database |
|||||||||||||||||
The source code can be found here:
|
|||||||||||||||||
Reading the expense database |
|||||||||||||||||
The source code can be found here:
|
|||||||||||||||||
Reading the ToDo database |
|||||||||||||||||
The source code can be found here:
|
|||||||||||||||||
Reading the memo database |
|||||||||||||||||
The source code can be found here:
|