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

Android™ Development

Regular Contributor
Posts: 92
Registered: ‎03-09-2013
My Device: bold 9800
My Carrier: blackberry

Clikable EditField


I am working on application,in which if i clicked on EditField then it should make some function. Please any one help me out.. I cant solve it...Robot Sad


public void byPhoneCall()
editPhoneNumber = new CustomEditField2 (" [To be provided by Bank]",FIELD_HCENTER);


I want to make clickable functionality on this.. Please help me out....

Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Clikable EditField

Please post your question in the appropriate forum for the platform you are using, this forum is about BlackBerry World Development.

If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Posts: 648
Registered: ‎09-26-2012
My Device: Limited Edition Z10, Playbook 16GB/32GB, Dev Alpha A/B/C
My Carrier: Mobile Vikings

Re: Clikable EditField

[ Edited ]

Is this code for Android ?

You will also need to give us some more information. Which is the super class of CustomEditField? In general, you will have to use some kind of listener (eg OnClickListener, OnFocusListener etc) to listen to your CustomEditField. Whenever a user clicks on your field, a listener can be triggered, which will do the appropriate actions. More information for Android here: http://developer.android.com/guide/topics/ui/ui-events.html

A like is always appreciated,
but a nomination for BB Elite even more :-)
You can also contact me on Twitter: @ndsmyter
Regular Contributor
Posts: 92
Registered: ‎03-09-2013
My Device: bold 9800
My Carrier: blackberry

Re: Clikable EditField

ndsmyter by mistake i have post this problem in Android Development forum, it is related to Blackberry coding...Please help me out if you know the solution... It will be very helpfull for me,kindly do this :-)

Thank You