Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
New Developer
Posts: 28
Registered: ‎08-19-2008
My Device: Not Specified

Call another function before make call

I would like my application calls another function before making call. The steps like this:

- User type the phone number in Phone screen and press dial button

- (Not dial immediately) the system calls a function and passes in the phone number.

- if the function returns true, then dial the number.

- if the function returns false, then cancel to make call.

 

Can I do it? and how?

 

Thanks.

Vincent

Developer
Posts: 17,011
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Call another function before make call

not this way.
you can end the created call and do your own call. see the myriad similar posts about this.

i wonder how many percent of all BB developers work on call apps. and if RIM shouldn't take this as a sign that there is some need for an improved API here.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter