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

Native Development

Reply
Regular Contributor
Posts: 55
Registered: ‎10-31-2012
My Device: Blackberry 10 Dev Alpha Simulator - VMware
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).

 

 

Developer
Posts: 589
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

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.

Regular Contributor
Posts: 55
Registered: ‎10-31-2012
My Device: Blackberry 10 Dev Alpha Simulator - VMware
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?

Highlighted
Developer
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
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.