Skip to content

A Kotlin based mobile application for the Dalhousie community to purchase and sell products.

Notifications You must be signed in to change notification settings

BennyDanielT/Dalplace

Repository files navigation

Final Project - MACS Group 6

Team

Getting Started - To run the Android app locally

Prerequisites

To have a local copy of this assignment up and running on your local machine, you will first need to install the following:

Java 11+

**Java can be downloaded from:**
- [Oracle](https://www.oracle.com/java/technologies/downloads/)
- [OpenJDK](https://openjdk.org/install/)

Kotlin

**Kotlin can be downloaded from:**
- [Kotlin](https://kotlinlang.org/)

Android Studio

**Android Studio [1] can be downloaded from:**

- [Android Studio's official download site](https://developer.android.com/studio)

Running locally

Download the assignment's source code by cloning the remote git repository

at repo link

https://git.cs.dal.ca/courses/2022-fall/csci4176_5708/assignment-3/sjdas

Go to the downloaded project directory and open up the folder in Android Studio.

In order to see the app running, either have an Android Virtual Device (AVD) or connect your Android phone for debugging [2].

Run the Android project by clicking on the Run 'app' play button in the mnu bar. Alternatively press Ctrl + F5.

Built With

  • Java

  • Kotlin

  • Android Studio [1]

  • Followed the naming conventions as mentioned here [3]

  • Followed the documentation conventions as mentioned here [4]

  • Followed how to put in navigation from here [5]

Database

Firebase is used to store the data related to users, products, chats, purchase and other required data Reference: https://firebase.google.com/?hl=en&authuser=0

References

[1] “Download Android Studio & App Tools - Android Developers,” Android Developers, 2021. [Online]. Available: https://developer.android.com/studio/. [Accessed: Oct. 28, 2022]‌

[2] “Run apps on a hardware device | Android Developers,” Android Developers, 2022. [Online]. Available: https://developer.android.com/studio/run/device. [Accessed: Oct. 28, 2022]‌

[3] “Kotlin Help,” Kotlin Help, 2019. [Online]. Available: https://kotlinlang.org/docs/coding-conventions.html#naming-rules. [Accessed: Oct. 29, 2022]

[4] “Kotlin Help,” Kotlin Help, 2019. [Online]. Available: https://kotlinlang.org/docs/coding-conventions.html#documentation-comments. [Accessed: Oct. 29, 2022]

[5] “Navigation | Android Developers,” Android Developers, 2021. [Online]. Available: https://developer.android.com/guide/navigation/. [Accessed: Oct. 29, 2022]‌

‌[6] “Create dynamic lists with RecyclerView | Android Developers,” Android Developers, 2022. [Online]. Available: https://developer.android.com/develop/ui/views/layout/recyclerview. [Accessed: Oct. 30, 2022]

[7] vesii, “How to add a back button to the fragment in the action bar of an opened activity?,” Stack Overflow, Jun. 07, 2020. [Online]. Available: https://stackoverflow.com/questions/62252529/how-to-add-a-back-button-to-the-fragment-in-the-action-bar-of-an-opened-activity. [Accessed: Oct. 30, 2022]

[8] “Firebase,” Firebase, 2022. [Online]. Available: https://firebase.google.com/?hl=en&authuser=0. [Accessed: Nov. 27, 2022]

[9] “Get Started with Firebase Authentication on Android,” Firebase, 2022. [Online]. Available: https://firebase.google.com/docs/auth/android/start. [Accessed: Nov. 27, 2022]

[10] “Android - Integrate Razorpay Payment Gateway with Kotlin - GeeksforGeeks,” GeeksforGeeks, Jun. 28, 2022. [Online]. Available: https://www.geeksforgeeks.org/android-integrate-razorpay-payment-gateway-with-kotlin/. [Accessed: Nov. 27, 2022]

[11] A. Chugh, “Android Toolbar Tutorial - XML Layout and Kotlin,” Digitalocean.com, Aug. 03, 2022. [Online]. Available: https://www.digitalocean.com/community/tutorials/android-toolbar-xml-layout-kotlin. [Accessed: Nov. 27, 2022]

[12] A. Pervaiz, “How to implement back button on ActionBar/Toolbar using Kotlin - Android Studio Tutorial,” YouTube. Mar. 20, 2018 [Online]. Available: https://www.youtube.com/watch?v=TcJysB6hp8Q&t=316s&ab_channel=AtifPervaiz. [Accessed: Nov. 27, 2022]

[13] “Get started with Cloud Firestore | Firebase,” Firebase, 2022. [Online]. Available: https://firebase.google.com/docs/firestore/quickstart. [Accessed: Nov. 28, 2022]

About

A Kotlin based mobile application for the Dalhousie community to purchase and sell products.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages