/Shelfie

Primary LanguageJava

Shelved

This is an Android app project for CS71. Software Engineering (Prof. Zachary Palmer) by Lan Anh Ngo Quy, Leah Brumgard, Kellie Dinh and Nicole Feldbaum.

This project is made with a maven project - nonAndroid, and an Android project - android.

  1. To test on a MySQL database, you need to change your credentials in shelved/nonAndroid/server/src/main/resources/hibernate.cfg.xml
     <property name="hibernate.connection.username">[UserName]</property>
     <property name="hibernate.connection.password">[Password]</property>
  2. Depending on whether you are using an emulator, or an actual device connected to the computer, you would need to change in the file shelved/android/app/src/main/res/values/string_local.xml following the example file in shelved/android/app/src/main/res/string_local.xml.example by changing the IP address:
  • Using emulator: 10.0.2.2

  • Device: Current computer's IP address

    <resources>
      <string name="server_url">[IP address]</string>
    </resources>
  1. In order to start using the app (for now), you will need either a connected device, or choose an emulator. The steps to run are:
  • Run Server in nonAndroid
  • Run app in android