Search This Blog

Monday, 21 May 2012

How to use ObjectChoiceField in Blackberry

Hello friends ,
                  Below is the code to use ObjectChoiceField in your Blackberry app,

CODE:

 String[] _productsVector = {"Acer Laptop","Blackberry","Samsung Mobiles","iPhone 4S"};

   ObjectChoiceField  _product = new ObjectChoiceField("",_productsVector,"");
 
   this.add(_product);

No comments:

Post a Comment