Git Product home page Git Product logo

phase3's Introduction

Harsh Patel
Adam King

Phase 3 readme

Setup:
  - Get source code. Should contain directories App and PHPandSQL
  - From now on I'll refer to the directory where you've stored the source code as "BASE"
  - Make sure xampp server is setup
  - Copy BASE/PHPandSQL folder ito the [Your install location of xampp]/xampp/htdocs/dashboard
  - Make sure your server has a database named db2
  - Run the file BASE/PHPandSQL/setup.sql on the db2 database to create and populate the tables
  - Open Android Studio
  - Select option to open an existing Android Studio project
  - Find and select the BASE/App/Db2_Phase3 directory and click OK to open the project
  - Open the file res/values/strings.xml in Android Studio
  - Find the line in strings.xml that defines "BASE_SERVER_URL"
  - Change this line so it links to the folder where you stored the PHP and SQL files earlier.
    ~ This requires getting the ip address for your server (not localhost). I found mine in the netstat section of the xampp controller
    ~ Should be formatted something like "http://[IP ADDRESS]/dashboard/PHPandSQL/" (don't forget the ending slash)
  - Setup a device simulator to run the app in Android Studio. (I personally used a Pixel 2)
  - Run the app using the Run app button (looks like a play button) near the top of the Android Studio window.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.