Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想向用户显示一个进度对话框,直到完成特定任务。
例如,在用户输入用户名和密码后,由于验证了用户名和密码,连接需要一些时间。我想在等待时向用户显示进度条。
GaugeField percentGauge = new GaugeField("Percent: ", 1, 100, 29, GaugeField.PERCENT);
当用户等待响应时,您还可以显示加载器屏幕或活动指示器。
检查这些:
http://supportforums.blackberry.com/t5/Java-Development/How-to-display-the-blackberry-loading-icon-manually/mp/552833
黑莓 - 应用程序加载屏幕
Blackberry - 带动画的加载/等待屏幕
也许它可以帮助你。