Posts tagged: app inventor

How To: Google App Inventor in Ubuntu 10.04

I was recently given access to Google’s App Inventor. You know, that ‘building-block’ development environment that’s supposed to make application development on Android handsets easy and fun?

If you’re like me, you followed the setup procedures provided by Google. And then you eagerly created a new project and tried to start the “Blocks Editor”, as per the next set of instructions provided by Google. And then things broke.

The Blocks Editor requires super user permissions to run, otherwise the web start crashes. Here’s how to easily launch the Blocks Editor.

From the command line, create a file

touch javaWebStart.sh

and make it executable

chmod +x javaWebStart.sh

and open it in your favorite editor.

Paste the following into the file

#!/bin/sh
gksudo /usr/bin/javaws $1

and save it!

Now when you click “Open the Blocks Editor” and it asks you what program you want to open it with, point it to that script. It will ask for your root password (the gksudo part does that) and Blocks Editor has everything it needs to set itself up. No more crash!

Staypressed theme by Themocracy