Wednesday, December 31, 2014 and the Twitterverse!

UPDATE (2014.1231): 
AppInventor has moved to AppInventor was a participant in the #HourOfCode this year and last. Also, my ILearnedToProgram permacode is here. AppInventor, now hosted by MIT instead of Google, is still a great way to code Droid Apps even for the Google Play Store! You owe it to yourself to try out the new tutorials using you own Droid CellPhone to test out your Blocky/Scratch code! BTW, I know it's New Year's Eve, but I saw someone reading this old post and just had to update it. I'm trying this new incarnation of AppInventor with my Computing Independent Study aka CIS(theta) students!

ORIGINAL POST (2011.0521):
My AP Computer Science students finally got tired of playing bzflag, starcraft1, tremulous, openarena and glest after their AP exam during AP week. So, they wrangled me into starting a final project based on programming apps for the Droid OS! Here's what we've accomplished so far:

 does! Starting final project for my  class running   using   

Actually, we started all this at the site which has the link listed above. Also, as you can see, I started tweeting about this project too. On a recent post I wrote "I became a Twit on Twitter so I can Tweet!" Well, now that I'm a veteran on Twitter, I see that they don't call themselves Twits, they call themselves Tweeps. So, I should have said "I became a Tweep on Twitter so I can Tweet!" In anycase, I turned to my fellow Tweeps for help! BTW, I'm not on Facebook much anymore, but I set up an app that posts my tweets simultaneously on both Twitter and Facebook as a new status!

 does! Step 1: dl  to run   on our 32bit   10.10. We have  installed and hope we don't need 
This step was not entirely necessary, but my class wanted to try out Google Chrome. It was an easy download from all we had to do was click on the *.deb 32bit package and the Ubuntu installer popped right up!

This step also boiled down to a debian app downloaded from and installed via the Ubuntu Software Center. BTW, I suspect the installer is just a GUI frontend for dpkg.

 does! Step 3: Trying helloPurr tutorial today but can't get   in  working???  file will not run!

Now we ran into one heck of a SNAFU! So, I asked the fellow appinventor tweeps from the twitterverse for advice:

 hi! I see you are using . I can't get jpnl file to run when I start blocks editor. How did u get past this?
 did you try opening the downloaded jpnl file directly? I opened the downloaded file and it works, takes some time to open though.
 I tried in Ubuntu on both Firefox and Chrome and have the same problem!

 hi! I see u r using . I am having trouble running blocks editor, how did you run it? The jpnl file just downloads!
 you need to double-click the downloaded file and follow the prompts. It links to your appinventor session. Really enjoying it!
 How do you open that file? I double clicked it and it didn't run, it just started up Firefox again and tried to download itself???
 Almost there! Download the JDK and open the jpnl file with the included javaws app. Now getting err re. setup commands.
 We have Sun JRE which does not include javaws. Google specifically says not to use openJDK?
 The JDK was the one I installed to get to javaws. With the .deb pckg things seemed to work. Let me know how you get on. Cheers.
 Thanx for ur help. I think u r right. I have to install JDK to have javaws available. So, I will try to do that on Monday.

So, I suppose Sun (Oracle actually) JDK will need to be installed on every Linux box after all. The main difference between my Student Stations and my Servers is that the server has JDK but not JRE installed and the Student stations have the JRE and no JDK. I did this on purpose as my AP Computer Science students need the JDK to do their work, so they simply ssh into the server. Its convenient to have JDK on one server so I need maintain it on only one box and the students can also use it from home! The JRE is on the Student Stations for SAGE to do 3D graphs. BTW, I have the JRE on the Teacher Station for the same reason, but I also need it for

Well, stay tuned for updates on this project. Wish us luck! I hope you found this post informative. BTW, if you're wondering what the YouTube above has to do with anything on this post, its a video I got by following the NASA tweep tweeting yesterday on twitter about the USS Endeavour's final mission!

UPDATE (2011.0530):
If you use a network proxy to get internet access, make sure that both JRE and JDK are configured to use it. For the JRE, goto "System/Preferences/Network Proxy." For JDK, goto "Applications/Accessories/Terminal" and fire up javaws -viewer. At my school, I had to use my network login credentials on each station to get *.jnlp files to run correctly!

HTH, good luck with your droid apps!

No comments:

Post a Comment