03-11-2013 01:32 AM
Hello,
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...![]()
Thanks.
public void byPhoneCall()
{
editPhoneNumber = new CustomEditField2 (" [To be provided by Bank]",FIELD_HCENTER);
editPhoneNumber.setBorder(nonEditableBorder);
add(editPhoneNumber);
}
I want to make clickable functionality on this.. Please help me out....
03-11-2013 02:29 PM
Please post your question in the appropriate forum for the platform you are using, this forum is about BlackBerry World Development.
03-11-2013 05:23 PM - edited 03-12-2013 06:11 AM
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-ev
03-12-2013 05:37 AM
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![]()