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

Posts: 220
Registered: ‎09-09-2008
My Device: Bold 9780
My Carrier: Telstra AU
Accepted Solution

Get Text in Phone Application

Hi all,


I added my own menu item to the blackberry phone application. When the user enters a phone number in the textfield/ searchfield then he selects my custome menu item i retrieve in the run method of the ApplicaitonMenuItem the phone number. However if the user enters a world like taxi it does not get passed to the run method (object in the run method os null). THis acutally works perfectly in 4.6 and 4.6.1 OS but in 5.0 it does not work anymore.


I know it possible to retrieve the text as voxofon has done it. 


I tried to find the searchfield / textfield on the active screen to retrieve the text but the search / textfield is a special blackberry field which we have no access to. 


Any help or suggestion appreciated....


Follow me on twitter: twitter.com/paul.haenel

If your issue is resolved, please mark this thread as solved.

Set the "Solution" mark on the post which contains the answer to your question.
Posts: 466
Registered: ‎03-04-2009
My Device: 8520
My Carrier: some

Re: Get Text in Phone Application

hi there,


see this thread

Got resolved! Press kudo icon!