Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Android CircleProgressBar CountUp 0 to 2 seconds using CountDownTimer

 
Hasnain Ahmad
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an CircleProgressBar, i want to show the from 0 to 2 seconds, after 2 seconds i want to capture an image by calling the takePicture() method.
Here is my xml code.

Here is java code.

This code is not working correctly it fills and empty the CircleProgressBar twice time. But i want to show the progress only from 0 to 2 seconds once time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic