Skip to content

kenth3/7052CEM-Coursework

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

7052CEM-Coursework

Mobile Platforms and Application Development Coursework

Page Layouts and Views Used:

StackLayout
GridLayout
RelativeLayout
PancakeView
ScrollView
CollectionView
ListView

Animations Used:

Activity Indicator
Loading Pages
Tab swiping
Swiping shopping list items away
Scaling animation
Translation animation
Fade Animtation

Database Use (in below definitions, italics denotes a Primary Key):

Remote Database using Google Firebase - stores:

  1. User table:
    1. User email
    2. User Id
    3. Grocy Host name
    4. Grocy Port number
    5. Grocy API key
  2. Mealplan:
    1. Meal plan owner's email
    2. List of recipe ids for each day of the week
  3. Recipe:
    1. Recipe Owner's email
    2. Recipe ID
    3. Recipe name
    4. List of ingredients:
      1. Ingredient name
      2. Amount
      3. Measurement name
  4. Shopping List:
    1. Shopping list owner's email
    2. Shopping list items:
      1. Item name
      2. Amount
      3. Measurement name

Local database using SQLite - stores:

  1. User table:
    1. User email
    2. User ID
    3. Grocy Host name
    4. Grocy Port Number
    5. Grocy API Key

Preferences - used to store the user's email when logged in, to be able to tell if a user is logged in or not.

API Usage:

Grocy - Used to allow the user to integrate their Grocy server with the app. This integration allows items that the user already has to be automatically taken off their shopping list. In order to be able to test Grocy, a server had to be set up and configured to run the tool.For this Docker images were used and the server was deployed using DigitalOcean.

Spoonacular - Used to allow the user to get ingredients for recipes by supplying a link to the recipe, so that if they have a recipe they want to use, they dont have to input all the ingredients themselves.

Wolfram Alpha - Used for converting units of measurement, picked because it allowed for non-standard conversions using their sophisticated approach, such as being able to make the query "1 small carrot in grams", whereas other APIs could only convert units of measure to other units of measure.

Google Firebase - Used to allow for a remote database so that a user can access their data from different devices if necessary.

Google+ Login API - Used to allow the user to login with their Google+ account so that their information could be synced across multiple devices using the aforementioned firebase.

About

Mobile Platforms and Application Development Coursework

Resources

Stars

Watchers

Forks

Releases

No releases published