tags:

views:

158

answers:

1

I need to obtain time from my AnalogClock as a String and pass it as argument in a method. Wonder whats the method of AnalogClock to return current Time.

Thank you.

A: 

AnalogClock widget doesn't have methods/properties for accessing the time. You need to create a new Date() object and then apply DateFormat.format method to it.

bren
Thats just what i did. Thanks
Maxood