5th week content of COOP4423 course
Documentation can be found at this HMS Identity Kit
The demo implements the Identity Kit API to obtain the user address interface, and assembles and returns the selected address information to the interface.
-
Instantiate the request object by using the new UserAddressRequest method. Then, call the getUserAdddress API. The code location is in the getUserAddress method in the MainActivity.java file.
-
Display the address selection page by calling the startActivityResult method of Status. The code location is in the startActivityForResult method in the MainActivity.java file.
-
After the user selects an address, call the parseIntent method of UserAddress in onActivityResult of the page and obtain the address from the returned result. The code location is in the onActivityResult method in the MainActivity.java file.
git clone [email protected]:BAU-COOP4423/W5-HMS-Identity-Kit.git
git clone https://github.com/BAU-COOP4423/W5-HMS-Identity-Kit.git
Do not hesitate to open an issue for your questions.