-
Notifications
You must be signed in to change notification settings - Fork 0
LAB6
Create a signup page with Basic details like First name, Last name, Image, Address etc.
Created Sign-Up page by myself and referring to some samples in Internet.

Sign-Up page filled with User details

Image should be populated by using Camera or Gallery.
Image was populated in ImageView tag in Sign-Up page layout.
Used Intent command "ACTION_IMAGE_CAPTURE" and Created onActivityResult method to display the captured image in ImageView tag in the layout.

Image was captured using Camera actions

Captured Image shown in Sign-Up page

Used Intent command "ACTION_PICK" to select the Image from Gallery.onActivityResult method was used to display the selected image in ImageView tag int he layout

Image was selected from Gallery

Selected Image was displayed in Sign-Up page

Address should be populated using Location Manager.
Address was populated in EditText tag in Sign-Up page.
- Latitude and Longitude of current location was retrieved by using Android Location Manager
- Address of the above Latitude and Longitude was retrieved by using Google Maps API
Coordinates of the current location are being retrieved which is shown as Toast message

Address was filled Automatically

After Signup, show an Activity named “Home” which has a Map with Custom Marker (Use the image from Signup form) at current location.
Home Activity was created which displays the Map with custom marker (i.e: Image from the Sign-Up page) The image from the Sign-Up page was used as marker in Maps using "Intent". Functions used:
- getParcelableExtra()
- putExtra()

