Showing posts with label Json. Show all posts
Showing posts with label Json. Show all posts

Retrieve current time using Json in Android Studio

Objective:
To retrieve current time using Json

Function:
When the button is pressed, small pop up will be displayed to inform the status of network connectivity. Once network is established, Json data will be retrieved and display it on TextView. Time is based on GMT.

IDE:
Android Studio 1.0.2

Source Code:
The project can be downloaded from here.

Result:


Toggle Solar Noon and current time using Json in Android Studio

Objective:
To toggle current time and solar noon time using Json

Function:
When the toggle is pressed, small pop up will be displayed to inform the status of network connectivity. Once network is established, Json data will be retrieved and display it on TextView.

IDE:
Android Studio 1.0.2

Source Code:
The project can be downloaded from here.

Result: