开发者

Passing parameters in blackberry

开发者 https://www.devze.com 2023-03-07 16:26 出处:网络
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.

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.
0

精彩评论

暂无评论...
验证码 换一张
取 消