Giter VIP home page Giter VIP logo

cognizance's People

Contributors

jaykrz avatar joshi1983 avatar

Watchers

 avatar  avatar  avatar  avatar

cognizance's Issues

Make production APK available for download from website

This should be downloadable either from the index page or on a page that explains how to install the APK on an Android device.

This will include:

  • Create an Android Studio project for Cognizance.
  • Add a WebView that fills the full screen.
  • Point the WebView at http://polla.bhstudents.net/cognizance/.
  • Make debug and production apk files using Android Studio
  • Create a web page for instructions on installing the application or new issue.
  • Include a link to the apk file
  • Regenerate the signed APK with the new logo.
  • Test release APK file in an Android device

Create report for showing summary of test results

This will include:

  • make welcome form save to PHP session
  • make sign up form save to database
  • add unique constraint on username field of the users database table.
  • test signup with an existing username. make sure a proper validation message appears.
  • Get other shapes to randomly appear in test 2.
  • Prompt user to say how many times other shapes appeared in test 2.
  • Create mock screen for results without having it work yet.
  • Create an API to collect results from test 2.
  • Save results in MySQL database.
  • make sign in check authentication credentials before signing in
  • Track mouse or touch points in test 2.
  • Use mockups provided by Phil and Brianna to make a report that looks similar.
  • make sign up form hash passwords for security reasons
  • add sign out feature

Create static screen for Test 4

Brianna wants a screen for Test 4. This issue doesn't ask that it works beyond giving a rough idea of what to expect if/when it does work.

This is the breathalyzer test.

Create prototype with tilt and motion inputs in JavaScript

Ultimately, we want to implement Test 1 which requires measuring the motion of a phone. We also would prefer an implementation that can be used in both iPhone and Android. If JavaScript can do the job, we want to use it instead of potentially rewriting the sensor code in native app code.

This can be broken into the following subtasks:

  • Implement a simple web page that includes some JavaScript to process motion-related input events
  • Test on a mobile phone. This might involve uploading to Blue Host or any other site.
  • Share the prototype. This could involve attaching a zip file to a comment on this issue or making a pull request to include the files in this repository.

Some starting points are mentioned here:
https://stackoverflow.com/questions/4378435/how-to-access-accelerometer-gyroscope-data-from-javascript

Create static screen for Test 1

Brianna wants a screen for Test 1. This issue doesn't ask that it works beyond giving a rough idea of what to expect if/when it does work.

Create static screen for Test 3

Brianna wants a screen for Test 2. This issue doesn't ask that it works beyond giving a rough idea of what to expect if/when it does work.

Create report on competing websites and mobile applications

The essence of Cognizance is giving people ways to put their brain function to a test.

Whether or not things are exactly the same, it would be very helpful to be aware of 10-20 apps that have some resemblance to Cognizance. Even jokes could be useful to know about.

Look for things like:

  • IOS apps that test if you're sober, drunk, or high on any drugs or medication
  • Android apps on Google Play that do similar

For each app, consider the strong points and what we can learn from it.

The list should help us learn how to avoid as direct a competition with them by being different. We may also borrow some great ideas that we haven't thought of.

Here are a few examples I found quickly:

Relay blink and eye movement information to Cognizance website

Find a way to relay messages from Pupil Labs eye tracking software to the Cognizance website for storage in the MySQL database.

Over the past few weeks, I've been experimenting with an eye tracking device from Pupil Labs. Phil lent the device to me to learn about it and get data out of it. I installed the software and was able to record video and analyse the video in realtime to find pupil positions and accurately outline the iris.

The people at https://pupil-labs.com/chat were very helpful with any questions about the device. For this issue, they said,

I would recommend to use our zmq network API. See this example python script:
https://github.com/pupil-labs/pupil-helpers/blob/master/python/filter_messages.py

Fix Test 2's scrolling bugs in iPhone devices

Ideally, test 2 will let the user touch and drag the position indicator around the screen while everything else stays still. There is a bug that leads the touch and drag events to scroll the page up and down.

This bug reveals itself in the following places:

  • Mobile Web browsers when the address bar appears at the top of the screen
  • iPhone devices like Sam's even when running the PWA(Home screen) app from home screen

This bug has not revealed itself while:

  • using the PWA version of the app on my(Josh's) Android phone
  • using a web browser on a laptop with touch screen

Create page for explaining how to install the Android app

Amazon has a page here that explains how to install their Android app without using Google Play. We want to use the same format:
https://www.amazon.ca/gp/feature.html?ie=UTF8&docId=1001119741

This task would break down to the following:

  • Create a new file named something like android-install.php.
  • Use the header footer PHP functions like other pages.
  • Include a link to 'downloads/app-release.apk' like the index.php has.
  • Add instructions for adding the app to a mobile device's desktop
  • Test for various viewport widths and heights that mobile devices would typically use and optimize
    multiple layouts for them.
  • Update index.php to link to the new android-install.php instead of directly to the apk file.
  • Detect if using Android device and show a warning message if the user is of an IOS device

Create logo for Cognizance

The logo being should have a circle around the silhouette of the profile of a head.

One image Phil liked included a source image that was too restricted by copyright so I made the following image from my head that can be used instead:
josh_head.zip

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.