Question: 1. Create an Andoird application Using XML and JAVA which can manipulate a Clock object having hours, minutes and seconds as integer attributes. Your

1. Create an Andoird application Using XML and JAVA which can manipulate a Clock object having hours, minutes and seconds as integer attributes. Your application must have only two activities as follows: 1) ClockActivity Shows the clock contents and the gives field selection by radio buttons for update. Creates new Clock object, displays it and send it to UpdateActivity for update. 2) Update Activity Gets data for the selected field. Saves the field in the object and send back object to ClockActivity. You must pass whole object from activity to activity. Remember that your class must implement Serializable interface. < > Clock Clock 11:22:33 Hours Minutes Seconds Update ClockActivity: Having selection of fields Enter Hours 11 Save 10:21 10:17 22 UpdateActivity: After selecting hours 10:19 Enter Minutes Save UpdateActivity: After selecting minutes Enter Seconds 33 Save UpdateActivity: After selecting seconds 10:19
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
