[android-developers] Re: Stop watch functionality in Android

2013-10-09 Thread Abhilash baddam
Hi, Thanks for the reply. Otherwise shall I use the service so that android system doesn't kill the service..? Is there any other better approach for this...?? On Thursday, October 10, 2013, TreKing treking...@gmail.com wrote: On Wed, Oct 9, 2013 at 12:57 PM, Abhilash baddam

Re: [android-developers] Re: Stop watch functionality in Android

2013-10-09 Thread TreKing
On Wed, Oct 9, 2013 at 9:41 PM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Otherwise shall I use the service so that android system doesn't kill the service..? Android will kill your Service if need be. This is not a solution. Is there any other better approach for

[android-developers] Re: Stop watch functionality in Android

2013-10-09 Thread Abhilash baddam
Hi Trekking, If I use onrestoreinstance state then if I started timer say at 00:00:00 it started n its running, and presses on home then I will store the timer value. after some time, for ex I go back to app at 00:56:45 sec if the timer gets killed then I don't get the latest or upated value

Re: [android-developers] Re: Stop watch functionality in Android

2013-10-09 Thread TreKing
On Wed, Oct 9, 2013 at 10:26 PM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: If I use onrestoreinstance state then if I started timer say at 00:00:00 it started n its running, and presses on home then I will store the timer value. Don't store timer value - store the start