Question: how to calculate time difference in android?
Answer: getTime() - date2. getTime(); int hours = millis/(1000 * 60 * 60); int mins = (mills/(1000*60)) % 60; String diff = hours + ":" + mins; To update the Time Difference every second you can make use of Timer.