androidbuttonclocksystem-clock

Open device clock from button


How can I open device clock from my activity .

I am making a simple app in which user can set alarms For which I want to open device clock using onclicklistner I tried to search on google but didn't find anything.


Solution

  • Every manufacturer has a different clock implementation. You need to hardcode it like the answer here:

    https://stackoverflow.com/a/4281243/1199931