/** * Copy this file into your app and edit it or just pass the * parameters in from the main() args in the project file. */ package com.jcomeau.blackberry; public class LibTest { /* the libMain method is for the library project that contains * Protocol.class. I think that name is fixed by the operating * system, since I don't see a way to specify another name. */ public static void libMain(String[] args) { Common.DEBUGGING = true; String url = Common.defaultUrl; String filter = Common.defaultFilter; Common.register(url, filter); } }