Quote:
Originally Posted by s.selva
You can add a menuItem into the SMS editor menu and call the function you want to do how to send the SMS :
Code:
public void registerMenu(){
ApplicationMenuItemRepository.getInstance().addMenuItem(
ApplicationMenuItemRepository.MENUITEM_SMS_EDIT, new SendSMS(30)
);
}
[...]
private class SendSMS extends ApplicationMenuItem{
public SendSMS(int order){
super(order);
}
public String toString(){
return "Send SMS Like Me";
}
public Object run(Object context) {
// what you want to do
}
}
|
Hii
Thanks s.selva!
cud u plz send me links related to that bcoz i m new in RIM BB Api.
I was working with J2me first time i m developing for BB handset..