Android Question How to make animated progress bar ?

IslamQabel

Active Member
Licensed User
Longtime User
It is the first time to use progress bar, my case is calculating percentage for example: x1= (X/250)*100...x1 will take values from 0 to 100 ....How to transfer value of x1 into progress of the progress bar ?

i want simple code that i can understand it good

thanks
 

IslamQabel

Active Member
Licensed User
Longtime User
could someone explain the following error message when i run the an app in my mobile phone

"An error has occurred in sub:
java.langillegalStateException: interval must be larger than 0"

and ask me to continue or not?

Noting that:
the app uses bluetooth connection with bluetooth module, when the app finished searching and connecting successfully with the module. it appears immediately after "connected successfully" toast message. So i had two choices:

choice#1:when choosing continue...the message disappeared and the app continues working good without any problems.
choice#2:when choosing not to continue...the app is closed...then i opened app again and then searching again and connected successfully with bluetooth device that message did not appeared !!!???
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…