curiouslearning / Norad-Eduapp4syria

Eduapp4syria - https://www.norad.no/eduapp4syria
BSD 2-Clause "Simplified" License
5 stars 3 forks source link

Feed the Monster build instructions? #52

Open nya-elimu opened 4 years ago

nya-elimu commented 4 years ago

Are instructions on how to compile the code and assets for Feed the Monster into an Android APK available anywhere?

burrage commented 4 years ago

Hello Elimu! I should be able to dig something up for you-- we're a bit slammed at the moment so please excuse the slow turnaround time.

Would this be for including Feed The Monster in Elimu? Thanks!

burrage commented 4 years ago

Also if you are looking for pre-compiled APKs of any of the languages for Feed The Monster, we have those readily available for most of the languages.

Just fill out the following form to let us know a little more about what languages you would want, how many people you anticipate reaching, etc.:

https://docs.google.com/forms/d/e/1FAIpQLSdE7z21eymhHZ26sfT91OHzVLrjxUfAf-pSpkhHWOw8BwtvvA/viewform

nya-elimu commented 4 years ago

@burrage I'm intending to add usage event tracking code before compiling the app into an APK.

For example, by adding an Android broadcast Intent for every word learning event:

// Report WordLearningEvent to the Analytics application
Intent broadcastIntent = new Intent();
broadcastIntent.setPackage(BuildConfig.ANALYTICS_APPLICATION_ID);
broadcastIntent.setAction("ai.elimu.intent.action.WORD_LEARNING_EVENT");
broadcastIntent.putExtra("packageName", BuildConfig.APPLICATION_ID);
broadcastIntent.putExtra("wordText", wordText);
broadcastIntent.putExtra("learningEventType", "WORD_PRESSED");
sendBroadcast(broadcastIntent);

[

Software Architecture

](https://github.com/elimu-ai/wiki/blob/master/SOFTWARE_ARCHITECTURE.md)

And I didn't find any build instructions at all in the original parent Norad-Eduapp4syria repository in GitHub, so I wanted to check with you if you have documented the steps anywhere, and if you would be willing to share them. Thanks.