CMU-CREATE-Lab / preK-emotions-app

Other
1 stars 2 forks source link

allow videos outside of resources #94

Open tasota opened 4 years ago

tasota commented 4 years ago

Right now the code only handles videos by importing them to the project as resources. This means that paths for the resources must be hardcoded into the application instead of just being defined inside the database/JSON file (for example, the jumping jacks video is retrieved with the call return "android.resource://" + getPackageName() + "/" + R.raw.jumpingjacks;).

In the future, videos will need to also be taken from storage for student/classroom customization.