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

Java Development

Reply
Regular Contributor
Posts: 52
Registered: ‎02-26-2013
My Device: Curve 9650,Bold 9900
My Carrier: Airtel

ButtonField issue on Blackberry bold 9900

Hi..

I have create a simple app in which i create a editfield and button field. i run this app on torch , curve phones everything goes well.but when i try to run this app on blackberry bold 9900. the submit button can not work.

What is wrong here...!

ButtonField  submit = new ButtonField("Submit", Field.FIELD_HCENTER);
       submit.setChangeListener(this);


public void fieldChanged(Field field, int context)
{
  if(field==submit)
    {
        getText();
    }
}

public void getText()

{

  Dialog.alert("Hi . All .......!");

}

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: ButtonField issue on Blackberry bold 9900

Nothing that I can see.  What is happening on the 9900?

 

Do  you see the same problem if you add the ButtonField to a standard VerticalFieldManager and a standard MainScreen?

Highlighted
Developer
Posts: 151
Registered: ‎09-28-2012
My Device: Blackberry Developer
My Carrier: Aircel

Re: ButtonField issue on Blackberry bold 9900

are you getting some error..?


----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.