I'm working on a blackberry application which requires to pass a parameter to another screen so that some data is diplayed but i'm not able to achiev开发者_C百科e this. cna anyone help me.
thanks
Since you haven't provided any code, it is difficult to provide you code. But here is the basic strategy:
- Extend the Screen class.
- Add your own constructor, which will also call the super constructor.
- In your own constructor, provide an additional parameter.
- In the class you want to call the Screen class from, call the overloaded constructor.
精彩评论