How i can display progress/indicator dialog in Bla

2019-01-29 05:39发布

i am developing app in 5.0 version. in my app there is database so when data is coming from db it is taking time so i have to put progress dialog in between. i want to open dialog when data is coming when it fill in all fields then it would be dismiss. does any body have idea for this please send me.

Thanx in advance.

2条回答
\"骚年 ilove
2楼-- · 2019-01-29 06:00

Check this article http://supportforums.blackberry.com/t5/Java-Development/Sample-quot-Please-Wait-quot-screen-part-1/ta-p/493808

This article is intended provide a fully functioning "Please Wait" sample Popup Screen. It consist of 3 Parts, each part with its own sample code. The most relevant sample to you is PleaseWait3.zip which is located in the part 3 (last parT) since it contains progress bar sample code.

When running it, make sure you change the address of the file to be downloaded in the "Test that gives percentage updates" to a valid one since the existing one is invalid (you can use this one for example http://docs.blackberry.com/en/developers/deliverables/18095/BlackBerry_Java_SDK-Development_Guide--1239696-0730090812-001-6.0-US.pdf).

enter image description here

查看更多
登录 后发表回答