Skip to content

Mobile ICP 5

Evan Wike edited this page May 5, 2019 · 2 revisions

SQLite

I. Introduction

An Android app that allows you to save Employer data, as well as create Employees and assign them to their corresponding Employer. Users are able to create, update, and delete Employers and Employees.

II. Objectives

Create an Android app utilizing SQLite that can perform the following operations:

  • Create, update, and delete Employers
  • Create, update, and delete Employees

III. Conclusion

I'm still learning new things about Android everyday, so combining that with having to work through existing code and figure out how it works together, and with learning how to integrate SQL into an Android app, made this ICP pretty difficult. Undoubtedly the hardest part was figuring out all of the methods and objects required to work with SQL in Android. Handling the requests, and displaying them in the recycle views was also tricky. Collections, selections, and Cursors, oh my! I also spent several hours reworking the existing UI to make it more suitable for the additional functionality.

IV. Screenshots


Employer Activity


Employee Activity


Edit Employer Activity


Edit Employee Activity


SQL Operations

Firebase

I. Introduction

Here, we were tasked with adding Login, Logout, and Account deletion functionality to an Android app using Firebase. The first step was configuring and connecting Firebase. After that, it was as simple as adding a few buttons and setting click event listeners. This was actually my first time working with Firebase, and I think I fell in love. Being able to set up user authentication that quickly is a game changer. As is the rapid deployment of a database. I'm not sure what size of applications a free account can support, but I look forward to finding out.

II. Objectives

Add the following functionality:

  • Logout
  • Delete account

III. Conclusion

This task took a lot less time than the other one - all it really required was adding a few buttons and researching the Firebase docs for a little bit. I enjoyed every minute of it - mainly because of the possibilities I can see now that I've played with it for a bit.

IV. Screenshots

User Sign-up


User Sign-in


Logged in


Logout


Delete Account


onAuthChange Event Listener


Firebase DB


Firebase Users