For this project, we created a mobile Android application that showcases an intuitive user interface to to facilitate interaction with historical landmarks throughout the state of South Carolina. More information about the app can be found on our demo website and our GitHub Wiki.
- Description
- Deployment
- Testing
- Authors
This is the simplest way to use our app and should be sufficient for testing purposes. If you need to have access to source code and run the app as a developer, see the "Instructions for running our app as a developer in a cloned repo" section below.
- Download and install Android Studio.
- Download the desired version of
app-release.apk
from the Releases section of our GitHub.
- Open Android Studio
- Click
configure
at the bottom right of the screen - Click
Open AVD manager
- Click
create new virtual device
- Choose
Pixel 2
from Choose a device definition > Phone > Pixel 2, then clicknext
- NOTE: If the app crashes upon opening, the default device may not have enough RAM. Instead of choosing Pixel 2 from the menu, create a new hardware profile with the Pixel 2 skin and more than the default 2 GB RAM
- Choose
Pie
from Select a system image > Pie, then clicknext
- Click
finish
Now you should have a working AVD emulator - Click the green play button next to your new emulator
- Wait for the AVD to load
Now, find
app-release.apk
, which you downloaded from the Releases section of our GitHub earlier. Open the folder where it is located and drag the file onto the AVD emulator. - If the app doesn't open automatically (give it a few seconds), find the app list (drag up from the bottom of the screen) and select the app from there. Our app is called capi_stonsker.
Before building this project, install the following:
- Download the project source code from GitHub
- Open Android Studio and choose "open existing project"
- Choose the downloaded source code
- Be sure the project is opened as a flutter project
- Be sure Android Studio knows where the downloaded flutter sdk is stored
- Go to the AVD manager to choose or create an emulator. We recommend using the Pixel 2 with the Pie build.
- Open the emulator, then build the project using the green play button on Android Studio
- To run the unit test for calcDist method, run the following command:
flutter test tests/loc_calcdist_test.dart
- To run the unit test for Firebase Marker ID structure, run the following command:
flutter test tests/firebase_marker_test.dart
- To run the unit test for Firebase Friends structure, run the following command:
flutter test tests/firebase_friends_test.dart
- To run all unit tests, run the following command:
flutter test tests
- To run the integration test for drawer, run the following command:
flutter drive --driver=test_driver/test_driver.dart --target=integration_test/drawer_test.dart
- To run the integration test for splash screen, run the following command:
flutter drive --driver=test_driver/test_driver.dart --target=integration_test/splash_test.dart
- To run the integration test for plan route screen, run the following command:
flutter drive --driver=test_driver/test_driver.dart --target=integration_test/plan_route_test.dart
- To run the integration test for all, open an emulator then run the following command:
flutter drive --driver=test_driver/test_driver.dart --target=integration_test/app_test.dart
- Matt Duggan, [email protected]
- Ian Urton, [email protected]
- James Davis, [email protected]
- Joseph Cammarata, [email protected]
- Lauren Hodges, [email protected]