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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Contributor
JohnQtQml
Posts: 21
Registered: ‎10-31-2012
My Carrier: (none)

show the dialpad with a given number in Blackberry 10 Cascades Beta 4 SDK

[ Edited ]

I  am trying to figure out to show the dialpad with a given number in Blackberry 10 Cascades Beta 4 SDK.

 

Right now, I have this code:

 

bb::system:: phone:: Phone phone;
phone.requestDialpad(number, bb::system:: phone:: LineType:: Cellular);

 

which causes this error:

 

Cannot open phone pps object
 
Cannot open phone pps object
 
Cannot open phone pps object

 

So, I looked up about a pps object, and found this page:

 

https://developer.blackberry.com/cascades/reference/bb__ppsobject.html,

 

Is that what I need to use?, if so how do I use it?  Or do I use something else, and how to I use that?

 

(I did by the way add "LIBS += -lbb" to my .pro file to be able to use a pps object, but that change alone did not fix it).

 

 

Please use plain text.
Developer
greenback
Posts: 448
Registered: ‎10-17-2010

Re: show the dialpad with a given number in Blackberry 10 Cascades Beta 4 SDK

I do not believe that phone capabilities are yet enabled... This may be why the dialpad is not working.

Please use plain text.
Contributor
JohnQtQml
Posts: 21
Registered: ‎10-31-2012
My Carrier: (none)

Re: show the dialpad with a given number in Blackberry 10 Cascades Beta 4 SDK

What about in the Blackberry 10 Cascades Gold SDK?

Please use plain text.
Developer
borceg
Posts: 660
Registered: ‎03-21-2012
My Carrier: Vip

Re: show the dialpad with a given number in Blackberry 10 Cascades Beta 4 SDK

Don't expect to work on simulator.
Please use plain text.