Git Product home page Git Product logo

priser's Introduction

Ølpriser i Kristiansand

This project is done by 3 students at the University of Agder in Norway. We have created this android app for comparing beer prices in Kristiansand. The app is in Norwegian, but the code is in English (except some parts).

Our website: http://priser.leisegang.no (Mostly Norwegian)

To launch the app on your phone:

  1. Open the "bin"-folder
  2. Copy Priser.apk over to your phone
    • You might need to enable "Unknown sources" in your phone's settings in order to install it
  3. Install the app by clicking on the Priser.apk in your phone
  4. ...
  5. Launch the app by navigating to the app's icon on your phone.

If you are a developer and would like to develop more on this app, you are welcome to do so. Just create a fork or a branch and start coding! We have included the PHP-files and our database so you can see how we have done it. The PHP-files need to be uploaded to a webserver in order to get the app to use them.

Development

To get started with this app, we used a tutorial from androidhive.info as a base. This showed us how to connect android with a database, and how to save and display user input. We developed this furter to save and display the data that were relevant for us. This means that we had to crate new PHP-files that could save and retrieve rating and price from their own table in the database.

Further on we created a new design to match the theme of the app. We chose colors that are assosiated with beer, and that looks good together. We created a user interface that is easy to use, and the user should not have a problem reading the text in the app. We also implemented a "Tips us"-function. That way, the users can tips us with bars and restaurants that we have not listed. We can then add them to the database, and the users can fill out the price and rating.

We started out with the option to have the users adding bars and restaurants, but in fear of them adding places like a private party, we implemented the "Tips us"-function instead. This gives us more control of what data the database contains.

Tools

Eclipse and Android Stuido has been our primary tools for developing the app.
We have used PHP-scripts to store and retrieve data from our database. Our database is hosted on the domain of one of our group memebers, and we have used PHPMyAdmin to access it. Our website has been created with WordPress and is also hosted on the same domain as our database.

To import this project to Eclipse or Android Studio, choose Import --> Git --> Projects from Git

Problems

Another problem we have is the restriction of rating. We are displaying three numbers, but only want the user to enter one. Therefore the rating can be wrong if the user enters a three digit number.

We also have a problem displaying different images for each of the nightspots in the list. This is also something we will look at.

Future plans

Our future plans with the app is to fix the problems that have occured, change some of the functions for the better, develop the app furter, and at some point hopefully release it in the Play Store. We also want to add a map-function where users can click on a link/button that will show them the way to the bar/restaurant on a map. Price and rating statistics is also a function that we want to explore in the future.

priser's People

Contributors

arodal avatar leisegang avatar

Watchers

 avatar  avatar  avatar

Forkers

elekang arodal

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.