黑莓用户界面设计 - 可定制的 UI?
我正在尝试设计一个黑莓应用程序,我想知道是否有任何关于如何创建自定义用户界面元素、对现有元素进行皮肤设计以及还有哪些其他可能性的资源?
我已经开发了一些带有自定义 UI 之类的 iPhone 应用程序,所以不确定 BB world 在 UI 开发方面提供了什么。
任何提示、建议或想法都会很棒。
I am trying to design a Blackberry Application and I am wondering if there are any resources on how to create custom user interface elements, skin existing ones and what other possibilities are there?
I have developed a few iPhone applications with custom UI and stuff, so not sure what BB world offers in terms of UI development.
Any tips, suggestions or ideas would be great.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
黑莓中没有皮肤,我知道实现皮肤效果的两种方法是
创建黑莓主题
删除死的Imageshack链接 - BlackBerry Theme Builder
如何创建您自己的个人 Blackberry 主题(作者:BrileyKenney)
bb 开发日志 - 只是主题!
BlackBerry 主题和主题动画图形
坏消息 - 主题应用于整个设备操作系统和每个应用程序
虽然创建的主题可能是一个独立的软件设计产品,但我认为为开发的应用程序创建自己的主题不是一个好主意。
设计模型
编程 GUI 可能需要一些时间,如果您想在不编码的情况下解决 GUI 规划中的一些问题,您可能需要绘制 GUI 模型。
您可以使用 ArtfulBits 的免费 BlackBerry UI Prototyping Visio Stencils - v1.0。
删除了无效的 Imageshack 链接
删除了无效的 Imageshack 链接
创建自定义控件
通过创建自定义控件,您可以配置
所有这些状态
最后,您可以通过设置背景图像简单地为控件换肤
基础知识
devsushi.com:Blackberry JDE API - 用户界面字段参考 基本上会给出现有黑莓 ui 控件的想法,带有代码片段和屏幕截图。
SO:将项目添加到 ListField (BlackBerry)
SO:黑莓嵌入式 HTML 控件?
SO:Blackberry - 如何从 DateField 获取日期时间值?
SO:将 BlackBerry 应用程序设计得像 iPhone
管理器、布局
即使使用标准控件,我们也需要按照我们想要的方式进行布局和分组,因此我们需要自定义管理器:
Think BlackBerry:BlackBerry UI - 创建基本的现场管理器
Think BlackBerry:简单的 BlackBerry 网格布局管理器
Thinking BlackBerry:制作自定义屏幕、垂直滚动等
SO:黑莓应用程序中的滚动问题
SO:如何在 Blackberry 中将 ScrollBar 设置为 VerticalFieldManager ?
无线:创建自定义布局屏幕管理器
SO:Blackberry - 获取控件的所有子字段
SO:取消布局管理器中的滚动
SO:在 BlackBerry 中创建自定义布局
SO:Blackberry 在全屏中设置 RichtextField 的位置
SO:与现场经理一起享受乐趣
SO:BlackBerry - 自定义菜单工具栏
SO:BlackBerry - 自定义居中循环 HorizontalFieldManager
自定义控件
有关编写自定义控件的文章集:
Think BlackBerry:BlackBerry UI - 简单的自定义字段
Coderholic:黑莓自定义按钮字段
无线:为 BBStorm 创建您自己的虚拟键盘
无线:带有复选框的 ListField
CodeProject:创建 XY 图表/绘图作为 BlackBerry 自定义字段
SO:黑莓 - 自定义大小 EditField
SO:Blackberry - 如何向 BasicEditField 添加边框?
SO:黑莓 - 设置 LabelField 背景颜色
SO:Blackberry 更改水平管理器焦点上子字段的颜色
SO:设置RichTextField、TextField的背景和字体颜色< br>
SO:Blackberry Java:TextField 没有插入符号?
SO:类似图像映射的 Blackberry Control - CLDC 应用程序
SO:黑莓 - 带有大文本的单行 BasicEditField
SO:黑莓 - 自定义 BubbleChartField
SO:Blackberry - 从带有复选框的列表中获取选中的项目< br>
SO:BlackBerry - 创建自定义日期字段
SO:BlackBerry - 如何创建子菜单?
SO:BlackBerry - 如何显示带有表情符号的标签?
SO:BlackBerry - 以编程方式显示打字模式指示器
图形、动画
SO:BlackBerry - 在屏幕上绘制图像
SO:黑莓 - 背景图像/动画 RIM OS 4.5.0< /a>
SO:黑莓 - 带动画的加载屏幕
SO:如何在 Blackberry Storm 中设置抗锯齿功能?< br>
SO:Blackberry 设置剪切区域/区域
SO:在 BlackBerry 中使用 Bitmap 或 EncodedImage 哪个更好?
SO:Blackberry - 字段布局动画
字体
无线:更改 BlackBerry 应用程序中的字体
开发者日志:字体
SO:如何创建自定义字体黑莓应用程序
SO:如何在 Blackberry 中为 LabelField 文本设置字体?
那么:如何让 Blackberry UI 更具吸引力?
SO:如何更改黑莓的字体颜色动态标记字段?
SO:BlackBerry - Unicode 文本显示
There are no skins in Blackberry, two ways I know to achive skin effect are
Create BlackBerry Theme
removed dead Imageshack link - BlackBerry Theme Builder
How To Create Your Own Personal Blackberry Themes by BrileyKenney
bb dev journal - Just Theme It!
BlackBerry Themes & Animated Graphics
Bad news - theme is applied to whole device OS and each application
Althought created theme may be a standalone software design product, I don't think it's a great idea to create own theme for developed application.
Design Mockup
Programming gui may take some time and in case you want to resolve some questions in GUI planning without coding, you may want to draw GUI mockup.
You can use free BlackBerry UI Prototyping Visio Stencils - v1.0 from ArtfulBits.
removed dead Imageshack link
removed dead Imageshack link
Creating custom control
By creating custom control you can configure
All of this for states
In the end you can simply skinn your control by setting background image
Basics
devsushi.com: Blackberry JDE API - User Interface Field Reference will basically give the idea of existent blackberry ui controls, with codesnippets and screenshots.
SO: Add items to a ListField ( BlackBerry )
SO: Embedded HTML control for Blackberry?
SO: Blackberry - how to get datetime value from DateField?
SO: Styling a BlackBerry Application to Look Like an iPhone
Managers, layout
Even using standard controls, we need to layout and group the way we want, thus we need custom managers:
Thinking BlackBerry: BlackBerry UI - Creating a basic field manager
Thinking BlackBerry: Simple BlackBerry Grid Layout Manager
Thinking BlackBerry: Making a Custom Screen, Vertically Scrolling and more
SO: Scrolling problem in Blackberry application
SO: How to set a ScrollBar to the VerticalFieldManager in Blackberry?
Wireless: Create a custom layout manager for a screen
SO: Blackberry - get all child fields of control
SO: Cancel scrolling in Layout Manager
SO: Creating custom layouts in BlackBerry
SO: Blackberry setting the position of a RichtextField in FullScreen
SO: Fun with Field Managers
SO: BlackBerry - Custom menu toolbar
SO: BlackBerry - Custom centered cyclic HorizontalFieldManager
Custom controls
Set of articles about writing custom controls:
Thinking BlackBerry: BlackBerry UI - A simple custom field
Coderholic: Blackberry Custom Button Field
Wireless: Create your own VirtualKeyboard for BBStorm
Wireless: ListField with check boxes
CodeProject: Creating a XY Chart/Plot as a BlackBerry Custom Field
SO: Blackberry - Custom size EditField
SO: Blackberry - How to add border to BasicEditField?
SO: Blackberry - Setting LabelField background color
SO: Blackberry change color of child fields on horizontal manager focus
SO: Setting background and font colors for RichTextField, TextField
SO: Blackberry Java: TextField without the caret?
SO: Image Map-like Blackberry Control - CLDC Application
SO: Blackberry - single line BasicEditField with large text
SO: Blackberry - custom BubbleChartField
SO: Blackberry - get checked items from list with checkboxes
SO: BlackBerry - Creating custom Date Field
SO: BlackBerry - How to create sub menu?
SO: BlackBerry - How can i show a Label with emoticons??
SO: BlackBerry - Show typing mode indicator programmatically
Graphics, animation
SO: BlackBerry - draw image on the screen
SO: Blackberry - background image/animation RIM OS 4.5.0
SO: Blackberry - Loading screen with animation
SO: How to set Anti Aliasing in Blackberry Storm?
SO: Blackberry setting a clipping region/area
SO: Is it better to use Bitmap or EncodedImage in BlackBerry?
SO: Blackberry - fields layout animation
Fonts
Wireless: Change fonts in a BlackBerry application
Developer Journals: Fonts
SO: How do I create a custom font for a blackberry application
SO: How to set a font to LabelField text in Blackberry?
SO: How to make Blackberry UI more attractive?
SO: How to change the font color of blackberry label field dynamically?
SO: BlackBerry - Unicode text display
Bold 9000 上的标准媒体应用程序皮肤示例
删除了无效的 ImageShack 链接 - 切片媒体应用程序
删除了无效的 ImageShack 链接 - 切片图像
使用 ButtonField 的扩展将图像与按钮映射:
,您可以在 super.paint() 之后的 super.paint()其余部分代码中在管理器 Paint() 方法覆盖中绘制它们:
Example of standard Media application skin on Bold 9000
removed dead ImageShack link - sliced Media application
removed dead ImageShack link - Sliced images
Use extention of ButtonField to map images with buttons:
Rest part of code:
blackberry.com/support/docs/subcategories/?userType=21&category=BlackBerry+Java+Application+Development&subCategory=BlackBerry+Java+Development+Environment" rel="nofollow noreferrer">资源 不是不幸的是非常好。最好的信息来源通常是 Google 链接到包含您正在寻找的特定主题的博客。
如果您刚刚开始编写 BB GUI 代码,我强烈建议您了解 管理器 和 Field 类,因为您可能需要编写它们的许多自定义扩展。
The resources aren't very good unfortunately. The best source of information is usually Google linking to blogs with the specific topic you're looking for.
If you're just beginning to write BB GUI code, I would highly recommend getting to know the Manager and Field classes since you'll probably have to write many custom extensions of them.