Questions tagged [android-timer]

70 questions
0
votes
0 answers

How to proceed timer to run if app minimized in android?

Hi I am working in chat app. I have timer and when customer gives request to expert, the timer starts to run for 1 minute and waits till it get approve. After approved/reject, timer will get cancelled. this works in normal scenario. But when app…
Shadow
  • 6,864
  • 6
  • 44
  • 93
0
votes
1 answer

Time Difference Check- Android video capture

I am working on a video recording camera APP. App crashes if camera is stopped right after starting it maybe because of video size very less. I want to activate stop button only if video size is greater than 1 sec. But problem is I cannot find…
BASEER ULHASSAN
  • 461
  • 4
  • 22
-1
votes
1 answer

AlertDialog inside checkbox in Android Studio

I am new to Android Studio. I want to create an AlertDialog, which contains a simple TextView, that appears at every lap of time (e.g. 5 min) inside the checkbox, so if the checkbox is clicked, the AlertDialog appears every 5 min. If it's not…
-1
votes
1 answer

Android View Pager auto start and scrolling automatically after 5 secs. In my code it takes even double time

In my Log current position is called twice for the same value and my timer takes almost twice time. NUM_PAGES is actually taking the maximum size of my array list. NUM_PAGES = detailsArrayList.size(); // Auto start of viewpager final…
Rahul
  • 322
  • 1
  • 5
  • 18
-2
votes
3 answers

Android Textview Change while time get change

I am new to android and I am trying to learn some new things. I want to change my textview when time gets changed. For example, if it's between 12AM to 12pm then it should show "Good morning", otherwise it should show "Good evening" code that i…
Deep Bhatt
  • 89
  • 1
  • 5
-2
votes
2 answers

Android Logout timer

I have made an app. I want to automatically log out from the app after the certain time period when user exit app or app running in the background. I have created timer but it doesn't work as when the app goes in onStop() timer also becomes stop.…
Malik
  • 3
  • 3
-3
votes
1 answer

Timer not working properly in android

Any one give idea, Timer will be schedule based on duration array and if once complete duration array length again will be start from first. In this some loop working perfectly some times will be crash and through arrayoutofboundsexception. Any one…
-4
votes
3 answers

How can i use countDown timer in android

I want use countDown timer in my application and i should create such as this : Click too see image How can i create countDownTimer such as above design?
dfg
  • 27
  • 2
  • 3
-4
votes
1 answer

Is there any way to run Asynk task till two minutes in interval of 15 seconds?

I need to run asynk task till two minutes in interval of every fiften seconds . Is there any way to do this ?
Dinesh Rijal
  • 137
  • 1
  • 2
  • 8
-7
votes
2 answers

How can we make kids timer

I am trying to make a timer application which will visually show how much time left in a different color. Like this - I made the analog clock with my own view but no idea how can we make this color changing thing. If any body can give any…
A J
  • 4,542
  • 5
  • 50
  • 80
1 2 3 4
5