From Forum Nokia Wiki
Overview
This page describes how to use the example stub applications to implement code snippets.
The steps
- Download the stub application from below for the technology with which you are implementing the snippet.
- Create a copy of the stub application so that the original one remains unmodified for future use.
- Implement the functionality that you want to demonstrate with the snippet into the stub application.
- Test that the functionality works as intended.
- Create a diff file (patch) to describe the modifications you made as described in Using Diffs. Compare the stub you have modified to the original stub. (Download the original stub again from below if you didn't store it previously.)
- Post the code snippet and the diff file into Forum Nokia Wiki.
The stubs
The stub applications contain the following features:
- Logging information onto the screen
- Logging information into a file (not the WRT Stub)
- Displaying a dialog that can be used to query text from the user (not the Java ME Stub)
- Displaying a message box that can be used to show text to the user
- A menu with items for executing an example snippet and exiting the application