ok, can i get the time of the system directly. I have tried getTime(), so i got the error: The method getTime() is undefined for the type SMSReceiver.
please did some one know what's rong hir??? On Jun 14, 2:43 pm, souissi haythem <[email protected]> wrote: > i don't understand, how can i do this? > > On Jun 14, 1:55 pm, Mark Murphy <[email protected]> wrote: > > > On Tue, Jun 14, 2011 at 7:32 AM, souissi haythem <[email protected]> > > wrote: > > > Hi, > > > > I have create a new timer: Timer t=new Timer(); > > > > than i lunch my timer: > > > t.schedule(new TimerTask() { > > > public void run() { > > > > } > > > },1000); > > > > how can i have the value of my timer t > > > You can't. There are no methods for that on Timer or TimerTask. > > > General Java programming questions are probably better directed at > > StackOverflow (with the 'java' and 'android' tags). > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > Android Training in NYC:http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

