This is the main smart primer application. It is developed as a web application and deployed to tablets using Cordova.
Master - the one merged with the bookbuddy automatic chatbot. Deprecated now. Please use the bookbuddy repo instead.
Cordova - the candy man story with the woz interface.
Homescreen - the old "add to homescreen" web page. Decrecated.
https://github.com/smartprimer/smartprimer-webapp/wiki
The web app is hosted at http://smartprimer.org/ (contact Sherry for server username and password if you want to access the server)
Open the website above (http://smartprimer.org/) from the Chrome browser on a Android tablet. Click the setting button in the browser and choose "Add to Homescreen". This will automactially turn the website to an application on your Android desktop. You can start to play with the application! Make sure to turn on the volume.
Make sure you have all the requirements satisfied. Connect your tablet with your computer. Go to the cordova folder and run cordova run android -device
. To build it, run cordova build android -device
-
Install
npm
if you don’t have it. The recommended way is to download Node.js (9.6.1 current). -
Follow the instructions to install
Cordova
. (Stop when you successfully install Cordova. You don’t need to create a new cordova repository.) -
Install
Android SDK
. The recommended way is to install Android Studio -
Check your
JDK
version by typingjava -version
. If it’s not 1.8, uninstall it (uninstallation instructions for JAVA and JDK) and install JDK 1.8. -
Enable the developer mode for your android device.
-
Go to the project folder and run
cordova run android -device
. Install corresponding missing packages if you encounter any error messages. -
(Optional) If you want to run an emulator on your computer. You need to create one using AVD Manager. Instructions are here.
-
(Optional) If it's the first time you install Android Studio on your computer, you might encounter an error message
Failed to find build tools revision 26.0.2
. See solutions here.