开发者

Passing parameters in blackberry

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜