thanks. here is what i done, i added import net.rim.device.api.ui.Screen;
and then
public class MainCanvas extends Canvas implements CommandListener, Runnable, net.rim.device.api.system.Characters
i then added this:
Code:
public boolean keyChar(char key, int status, int time)
{
if(key == net.rim.device.api.system.Characters.ENTER)
{
login();
}
return true;
}
I then later added the net.rim.device package located from the blackberry simulator program i downloaded through netbeans version 5. when i try to compile it, it doesnt work.
i get a host of warning messages from the output window with these types of information:
Quote:
Warning: net.rim.device.apps.internal.phone.data.CallerIDIn fo: can't find superclass or interface net.rim.device.apps.internal.phone.api.AddressBook DependentObject
Warning: net.rim.device.apps.internal.phone.data.CallerIDIn fo: can't find superclass or interface net.rim.device.apps.api.framework.model.Persistabl eRIMModel
Warning: net.rim.device.apps.internal.phone.data.CallerIDIn fo: can't find superclass or interface net.rim.device.apps.api.framework.model.FieldProvi der
Warning: net.rim.device.apps.internal.phone.data.CallerIDIn fo: can't find superclass or interface net.rim.device.apps.internal.phone.api.CallerIDPro vider
Warning: net.rim.device.apps.internal.phone.data.CallerIDIn fo: can't find superclass or interface net.rim.device.apps.api.framework.model.DefaultPro vider
Warning: net.rim.device.apps.internal.phone.data.CallerIDIn fo: can't find superclass or interface net.rim.device.apps.api.framework.model.Conversion Provider
Warning: net.rim.device.apps.internal.phone.data.CallerIDIn fo: can't find superclass or interface net.rim.device.apps.api.framework.model.Encryptabl eProvider
Warning: net.rim.device.apps.internal.phone.data.CallerIDIn fo: can't find superclass or interface net.rim.device.apps.api.framework.model.SyncFieldI DProvider
|
does anybody have any idea what im doing wrong :( thanks in advance