GithubHelp home page GithubHelp logo

punainenaurinko / finalapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 2.74 MB

Tablet app for taking photos and saving them in a database

Objective-C 33.92% C 0.18% C++ 4.33% JavaScript 38.73% Shell 0.35% Java 13.56% QML 0.26% C# 7.07% HTML 0.85% CSS 0.74%

finalapp's Introduction

Final App for MAD9022


Description and Requirements


The final project is a tablet app. You and a partner may build it for an Android tablet or iPad, your choice.

The app has two screens with tabs to navigate between them:

  1. A "Grid/List View" screen of all the thumbnails previously saved on that device. Each thumbnail needs to have a delete button below it. Tapping the delete button removes the image from the remote database as well as the interface. There needs to be a confirmation dialog before actually doing the AJAX call to delete an image. Tapping the thumbnail will load and show the full sized image in a modal display. ALL THUMBNAILS SHOULD BE LANDSCAPE ORIENTATION and 180PX WIDE.

  2. A "Take Photo" screen that lets the user take a photo with the tablet, add text to either the top or bottom of the image, and save the image and the thumbnail to the remote database. Tapping the "Take Photo" tab will bring up the native camera interface. Taking a picture will return to the app and display the returned image on an HTML Canvas. The screen will also have a) A text input maxlength 30, b) a pair of radio buttons to let the user pick top or bottom placement for the text, c) a button to set the text on the image, d) a button to save the full-sized image and a thumbnail version of the image to the remote server. Each time you tap on the Take Photo tab it will call on the native camera interface and replace whatever image is on the Canvas. ALL LARGE IMAGES SHOULD BE LANDSCAPE ORIENTATION.

All the thumbnails and images will be saved on the server. The four php pages will talk to the same database table for every device. Everyone in the class will be sharing the same database table. If you take a picture on the device, everyone else who uses that device will see the picture.

Each pair will have their own app installed on the tablet. It is possible to have several apps on the same tablet. Each app will show the same images because they have the same device id and the talk to the same database.

AJAX calls to the four PHP pages are how we pass the data back and forth between the app and the database.

All the images are passed back and forth between the app and the database as base-64 encoded strings.

Each time you go to the list page you need to fetch the latest list from db via AJAX.

finalapp's People

Watchers

James Cloos avatar Vlad Tonkonogov avatar

Forkers

benn0039

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.