LAB ASSIGNMENT 3 - nlns3444/cs5551_6-2_lab-assignments GitHub Wiki
Member 1 Name: nukala lakshmi naga sai sandeep
Class id: 23
Member 2 Name: sireesha pandala
Class id: 24
Wiki link: https://github.com/SireeshaPandala/ASE-Lab-Assignments/wiki/Lab-3
ICP team ID: 6-2
summary of this assignment is
1.the app should have login and registration activity, the successful login must take the user to the application main activity
2.As part of login, activity implements any of the OAuth 2.0 service provided by the Social Network Service Provider like Facebook, Gmail, Twitter etc.
3.Use any Machine Learning API of your choice
4.Use any of Firebase cloud services like Real-time storage
5.Use any of the smartphone hardware-features like Sensors/Camera/Media/Connectivity/Maps etc.
register with twitter devapps and get keys
Register with https://apps.twitter.com/app and get keys before creating the android application, we should register for all the services such as Twitter developer apps and IBM Watson services and as well as register the app with firebase

register with ibm watson
Register with IBM Watson - visual recognition

ibm service credentials
create service credentials and get api_key

register with firebase
Register App in Firebase Console

twitter signup/signin
Login Activity with twitter

firebase signup
Firebase Registration

registration
when the app opens, it shows the different ways that we can sign up for the app

twitter authorization
twitter authorization, requested when we sign into the app using twitter

homepage
after logging in with the correct credentials, it redirects to the home screen of the application

basic activity
the main purpose of this app to recognize the objects and tells them what they are, so we need to use the camera activity

capture the image
now used the camera to take a picture that I wanna recognize

result 1
I clicked the image of my laptop keyboard and selected the right mark to display the result

result 2
I used the image of the pen this time

code
manifest
this is the part where we give permission to the application

twitter login activity
this is the code that we used to develop the login activity of the application

anonymous login activity when someone tries to login without the correct credentials then this part of the code identifies that

an alert dialog box an alert saying the errors while registration or sign in process this is when the incorrect credentials are given

email password activity when the correct credentials are given it takes to the application

firebase activity this part of the code is for the firebase activity

reference
1.https://www.kdnuggets.com/2017/02/machine-learning-data-science-apis-updated.html
2.https://youtu.be/QETnC6SEwa0
3.https://firebase.google.com/docs/storage
source code
https://github.com/nlns3444/cs5551_6-2_lab-assignments/tree/master/lab3/source