Skip to content

farxinu/yrtoolkit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yrtoolkit

Updated 2/26/18

This toolkit was developed as part of the Youth Radio "Youth Mobile Power" grant. As such, much of this documentation refers to the toolkit as the "yrtoolkit" - however, this can (and is used) in many non-Youth Radio App Inventor implementations. Depending on your implementation, some of the commands may have slightly different names.



Why is it the “yrtoolkit”?

Youth Radio Toolkit, which is how this tutorial toolkit was started.

Youth Radio Interactive is the technical branch of Youth Radio. They are exploring alternate ways of telling their stories, such as through mobile apps. You may see “Youth Mobile Power” thrown around, as well.

Our contacts are Lissa Soep and Asha Richardson. Paul Medlock-Walton was the MIT person running point on this until he went to Thunkable. Now the point person is Farzeen Harunani.



Where do the tutorials live?

Technically, here: http://appinventor.mit.edu/yrtoolkit/

Or, on github, mit-cml/yrtoolkit



Specifying the TutorialURL Property

So you want to add a tutorial URL to your project? For security reasons, you can only use a tutorial with an App Inventor URL. This means that technically, any App Inventor URL will work. That doesn’t mean every website looks good in a little sidebar.

If you want one of the toolkit tutorials, specify the URL such as: http://appinventor.mit.edu/yrtoolkit/yr/tutorials/snapRemix.html.

Because this is a full html page this will look correct. If you put in something like the Hello Codi tutorial (yrtoolkit/tutorials/hello_codi.html), it won’t look correct, as this was not meant to stand by itself.



Running a Local Copy of the Toolkit

Run “python -m SimpleHTTPServer” to start the yrtoolkit on port 8000

If you want to view your local copy of your tutorials while testing, change Ode.java in your local copy of App Inventor to allow any URL in the TutorialURL property.



So you want to add a new tutorial?

Easy. Add your html page in the tutorials folder, images to a new folder under images/ and your starter aia under aiaFiles. Use the convert asc python script to convert your aia to an asc ("python convertToAsc.py FileToConvert") and keep that .asc in the folder as well. Finally, add it to tutorials/tutorials.html. Done!

However, if this is a tutorial you want to function as a standalone (such as a full-blown youth radio tutorial), add it under the yr folder (images, html, aia, asc as necessary). Modify your html file to be full-blown/standalone, with the headers/footers. Make sure the TutorialURL property is filled in correctly in your .aia!

In order to have an .asc file that will open up to an App Inventor project with the appropriate tutorial, the link will be as such: http://ai2.appinventor.mit.edu/?locale=en&repo=http://appinventor.mit.edu/yrtoolkit/path/to/file.asc



Pushing to the Real World

Update master branch! A git hook will do the work of putting it on the site for you.



Creating GIFs

We have a pro Screencastify account you can use. More info: https://help.screencastify.com/article/151-export-your-recording.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 49.8%
  • HTML 25.0%
  • JavaScript 20.5%
  • CSS 4.6%
  • Python 0.1%