aspose file tools*
The moose likes Java Micro Edition and the fly likes Progress Bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Progress Bar " Watch "Progress Bar " New topic
Author

Progress Bar

Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

hello Everybody,

I am developing one application.In this i have to connect to the internet. I had used one progress bar to show the progress of connecting to the internet. when i press the connect button the progress bar starts, but many times application is connected but progress bar is not completed or some time progress bar completed but application is not yet connected to the internet.

how to solve this problem?


Life is easy because we write the source code.....
manoj r patil
Ranch Hand

Joined: Jun 06, 2002
Posts: 181
How are you deriving the progress of application connecting to internet?

love your job and not your company;
...because you never know when your company will stop loving you!
Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

Actually i don't know what logic should i use there.
Dushyant Chhetri
Ranch Hand

Joined: Oct 28, 2009
Posts: 75
The post seems pretty old but this is a common issue , I too had a nice research trying hands at different methods ti implement the same..

Looks like you need to use Gauge Class.
Look for a working application in WTK sample application..



This can be manipulated to be used as a dynamic progressiv ebar or infinitely running bar.

For customized ones you may try and use your own canvas Progress bar.

Its fun implementing it.

Enjoy..
Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

Thanks Dushyant for reply,

Now I have solved problem. I had draw a cirlce fill it with 4 colors. Using TimerTask i have rotated circle until I don't get data. After receiving data I display the Data. I have really have fun implementing this task.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Progress Bar