Social Icons

App Inventor Code Snippet Cards

Anshul Bhagi, as part of his thesis, created this deck of 20 cards, each containing a bite-sized snippet of blocks code to help students learn programming concepts through App Inventor.

See Also: App Inventor Concept Cards

The topics of the Code Snippet Cards are:

  • Defining and Using Variables
  • Properties, Functions, and Events
  • Moving Sprites with Button Clicks
  • Defining and Calling Procedures
  • Implementing Jumping and Gravity
  • Moving Sprites with Clocks
  • Using AnimatedSprite Component
  • Moving Sprites with Accelerometer
  • Detecting if Phone is Close to Objects
  • Touch Events on Canvas and Sprites
  • Playing Sounds in your App
  • Detecting Fling Gestures
  • Layouts and Centering Components
  • Generating Random Numbers
  • Collision Detection
  • Detecting if Phone is Shaking
  • Creating your own Colors
  • Speech Recognition
  • Drawing on the Canvas
  • Working with Lists of Components

Grade Level: 

  • 6-8
  • 9-12
  • Undergraduate

Difficulty Level: 

  • Basic

Subject: 

  • Math
  • Science
  • Computer Science

Resource Type: 

  • Curriculum