I want to dial a number by pressing a button. I could not find any documents.
Rough code to help you:
PhoneArguments arguments = new PhoneArguments(PhoneArguments.ARG_CALL, "dial num.") ButtonField buttonField = new ButtonField("Dial",ButtonField.CONSUME_CLICK) { protected boolean navigationClick(int status, int time) { Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, arguments); return true; } };
I hope this helps you.
Invoke API allows you to run native BlackBerry applications.
In the same way, you can open / launch / execute other Blackberry native applications, such as calendar, camera, phone call, contacts, etc ...
thank
The following native applications that you can run with custom arguments:
APP_TYPE_ADDRESSBOOK APP_TYPE_BLUETOOTH_CONFIG APP_TYPE_CALCULATOR APP_TYPE_CALENDAR APP_TYPE_CAMERA APP_TYPE_MAPS APP_TYPE_MEMOPAD APP_TYPE_MESSAGES APP_TYPE_PHONE APP_TYPE_SEARCH APP_TYPE_TASKS