UofSC|CSCE490: Capstone project for receiving and interacting with phone (Android) notifications on your computer.
Node.JS (V18 - for Server)
Android Studio (Android app/Client)
Each application has application specific instructions for building/running.
View the Server instructions here
View the Android Client instructions here
The basics:
For the Android Client, open the project folder (./Client/Android/) in Android Studio. From their you can click "run" to run the app or "build" to build.
For the Server, things a little more complex, but still easy. It is important to note that server has only been tested on Windows. While in theory it could work on other OSes, your millage may vary.
Up to date instructions are in the ./Server/ folder.
Before anything:
- Download Node.JS version 18 (LTS)
- Install all dependencies running
Install node modules.bat
(do this as administrator)
Then to run: npm run start
To build, run npx nodegui-packer --init NeptuneServer
at least once, then npm run build
every time you wish to build the full executable.
Before you test, ensure that you have no servers created on your client. The client app should open directly to the MainActivity, which should display no servers connected.
Follow these steps to test the Android Client app.
- Open our project's code in Android Studio.
- Run the app to ensure that all permissions are enabled prior to testing (shown in Final Client Testing Video in the Issue Labeled "Final Testing Video")).
- Stop the app's execution. You are ready to test.
- Go to the Project tab on the left side of the screen and locate the
com (androidTest)
andcom (test)
folders. Open both and go to theneptune.app
folder. TheandroidTest
folder holds the Behavior Tests and thetest
folder holds the Unit Tests. - To run an entire folder's group of tests, do the following:
- Right click the
neptune.app
folder for the desired test group. This also works for subfolders within theneptune.app
folder. - Click
Run Tests in com.neptune...
- Wait for the tests to finish running. Look at the bottom of the window to see information regarding the tests that ran.
- Right click the
- To run a single test file, do the following:
- Right click the desired test.
- Click
Run [Insert Test Name Here]
. - Wait for the tests to finish running. Look at the bottom of the window to see information regarding the tests that ran.
Will Amos
Ridge Johnson
Cody Newberry
Matthew Sprinkle