Question

Hi developers I am new to Blackberry. The screen contain some buttons.When I click on a button it should add a bitmapfield in specified position in current manager, and it should removed when I click on other button on the screen.How can I implement it?

Was it helpful?

Solution

Useful info:

How to create a BitmapField tutorial.

ButtonField API (includes sample code).

When I click on a button it should add a bitmapfield in specified position in current manager, and it should removed when I click on other button on the screen.

Well, your screen is a Manager. So you can just use its add(Field field), insert(Field field, int index) or delete(Field field) methods (bearing in mind that your BitmapField is a Field).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top