Blackberry development UI

时光毁灭记忆、已成空白 提交于 2019-12-25 07:47:13

问题


I am new to Blackberry dev, I want to port my android app to BB, but I found out it wont be possible for BB 7 Dev. So I've decided to create a simple app. However, I am having problems with the mainscreen, I do not know how to invoke the bitmapbuttons layout at app startup in the emulator. Any tutorials will be appreciated.


回答1:


GridFieldManager will do this sort of layout for you, but I have problems using it, so I always end up using the TablelayoutManager code that you can find in this article:

Create-a-rich-UI-layout-with-TableLayoutManager/ta-p/445299

You will want to put images that act as Buttons in the layout. There is no BB supplied class to do this, but plenty of samples if you search using a term like "image button", for example this one:

image-button-in-blackberry



来源:https://stackoverflow.com/questions/22413965/blackberry-development-ui

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!