Programme your own app!

Together, we’ll develop an app for Android smartphones. No programming skills are required – an interest in programming is all it takes! By the end of the workshop, you’ll have your very own app that you can install on your smartphone. A creative workshop for anyone who wants to find out what goes on behind the scenes of mobile apps!

Angela Moldenhauer, Computer Science for Business

Our tools

AppInventor

  • free software
  • enables you to create Android apps and test them on smartphones
  • and even to install and share them

Development environment (requires Google login)

AppInventor without registration

MIT AI2 Companion

For this test, we won’t be using the emulator; it’s better to test directly on a smartphone (Android or iOS). To do this, install the ‘MIT AI2 Companion’ app, select ‘Connect/AI Companion’ from the menu, and scan the QR code.

  • MIT AI2 Companion
  • Download from the relevant App Store

Your first apps

Dogs and cats – photos and sounds

Whilst creating your first app, you’ll get to know the tools. You’ll design the app and then add functionality – what should happen when you press the button? Test it on your smartphones to see if everything works as you expect.

The Crystal Ball – Random Answers and Text-to-Speech

In the second app, you’ll build on what you’ve learnt and get the app to select an answer to a question. In the advanced version, it will even speak to you. Here, you’ll also learn how to work with variables.

A game – Games are the most popular category in the App Store

Take your first steps in this area with your third app. You’re sure to come up with plenty of ways to expand on the original idea.

Installation on a smartphone

In most cases, apps are installed via an app store; for Android, this is Google Play. An *.apk file is downloaded and installed from there, which is very convenient for the user.

However, you can also share the installation file directly without using a store, or install it on your smartphone:

  • Creating it in AppInventor: –Menu / Build / Android App(.apk)

  • Once downloaded, the file can be transferred to the device, for example via the cloud or by email

  • To install it on your smartphone, you’ll need to allow the installation of apps from unknown sources

    • (Settings / Apps / Special access / Install unknown apps)

 

What happens next?

Get creative yourselves or have a look at a few more examples:

 

For advanced users: The Mole Game

The most popular category in the App Store is games, so here’s another game featuring a number of programming refinements – and I’m sure you’ll be able to think of plenty more possibilities here too.