A project that helps setting up the mobile AAT
Project description
mobile AAT setup
How to use?
Setup Firebase
Before using this package, you need to setup a firebase project. If you already have Firebase set up, skip to step 4.
- Open http://firebase.google.com, log in with your google account and
create a new project.
- The name here does not matter, you don’t need google analytics
- In your project create a database (this is where the data AATs be
stored)
- click on Realtime Database (on the left)
- click Create Database
- choose Belgium for Database location
- choose start in locked mode
- ones the database is created click on Rules (on the top) and change the two “false” to “true”
- Publish
- Create Firebase storage (this is where you can upload experiments)
- click on Storage (on the left)
- click on Get started
- Start in production mode
- Set location to Europe west
- click on Rules and change the “false” to “true”
- Add the app
- Click on the cog, next to Project Overview (upper left)
- Click on Project settings
- Click on the Android logo (bottom)
- Under Android package name, fill in com.yourname.picturegame, where you replace yourname with your name or your lab’s name.
- Download google-services.json
Install the mobile aat setup package
pip install mobile_aat_setup
Setup the app
setup_aat
downloads the newest version of the mobile AAT app, changes the app’s
package ID (so you can upload your own version of the app to the
Playstore) and links the app to your google Firebase account.
from mobile_aat_setup.setup import setup_aat
PATH_TO_WHERE_YOU_WANT_TO_STORE_THE_APP = '/Users/hilmarzech/Desktop/mobileaat'
PATH_TO_GOOGLE_SERVICES_JSON = '/Users/hilmarzech/Desktop/google-services.json'
setup_aat(PATH_TO_WHERE_YOU_WANT_TO_STORE_THE_APP, PATH_TO_GOOGLE_SERVICES_JSON)
Download Android Studio and open the created app folder
You should now be able to run the app on your device.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mobile_aat_setup-0.0.3.tar.gz
.
File metadata
- Download URL: mobile_aat_setup-0.0.3.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3a9135ec95c8178cf80cfcfa56485ba09c3917d3d68ac15635def90c6897150 |
|
MD5 | ff6113572de205155d1b1561bc03d271 |
|
BLAKE2b-256 | 15f08ddc57071cb313efae143c669f1ad3064879430ac98979f298d13fdc6fea |
File details
Details for the file mobile_aat_setup-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: mobile_aat_setup-0.0.3-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1280d21d4b74e3dfb4e4cef195012e09df1d0317b8d74a37dbf38c63652e269 |
|
MD5 | 3785c8c7f90f0ab42480945e9f3db399 |
|
BLAKE2b-256 | 7b399154eddfd5072576c36e1d60be88c7713436c17534cb3a765686fd618264 |