• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Android CircleProgressBar CountUp 0 to 2 seconds using CountDownTimer

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic