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.....
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.