Dynamic Progress Bar

6 messages - 2526 views

Hi  Hello All,

 

In Kuix possible to get the dynamic progress bar?  Actually at present i used the normal progress bar(from demo application). But i need to

display that progress bar based on the dynamic data.  Means  i hit the server and get the data using Http connection. here i get the data

based on percentage wide.

                                  Now based on this percentage i need to show my progress bar dynamically. Just like j2me progress bar. Is it

possible? Please if it is possible please help me on this.

 

Regards,

Suresh A

Hi All,

 

please give me the reply on this. help me to develop this dynamic progress bar.

 

Regards,

Suresh A

 

No one know about this. just i want to run on progressbar thread based on % data comin from server. Please atleast idea or hint on this.

 

Regards.

Suresh A

I have not found a solution to this either. As far as I can tell, there's no way to intercept the amount of data transferred until the transfer has finished. If you do find a solution, please share it here.

Did anybody got to know the solution? If so, please share it here..

Hi,

 

You will need to design your own protocol for communication between the device and the server. Have a look at the below response from server:

0;OK;16;MyDataFromServer

 

In this response from server '0' is the return code, 'OK' is the message, '16' is the lenght of the response in bytes. With this kind of protocol you will be able to tell how big you data is and implement a progress indicator.

 

Hope this helps.