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
Developer
Posts: 30
Registered: ‎03-03-2012
My Device: Playbook
My Carrier: Blackberry
Accepted Solution

String input via virtual keyboard.

Hi there,

 

I'm trying to get a string as input from the virtual keyboard (so I can change the players name). I was hoping the virtual keyboard stuff would do all this for me, but it just brings up the keyboard, not the input dialog too. Is there a nice easy dialog box that I can use to get an edited string via the keyboard, without writing all the nasty string editing functions myself?

 

Thanks,

 

Steve.

-------------------------------------------------------------
Steven Haggerty,
Rubicon Development ( http://www.rubicondev.com/ )
BlackBerry Development Advisor
Posts: 54
Registered: ‎10-26-2011
My Device: Playbook
My Carrier: Rogers

Re: String input via virtual keyboard.

Please have a look at the BlackBerry native samples on github.  

There is a "dialog" sample there.  

Our dialog service in BPS does what you described. 

 

Developer
Posts: 30
Registered: ‎03-03-2012
My Device: Playbook
My Carrier: Blackberry

Re: String input via virtual keyboard.

Thanks for that, I found it 5 minutes after I posted!

 

Steve.

 

-------------------------------------------------------------
Steven Haggerty,
Rubicon Development ( http://www.rubicondev.com/ )