Aikataulu – Mobiilituotekehitys bus4tn008-6 – syksyllä 2016

Keksi ja koodaa oma Android-ohjelma. JavaScriptilla. Julkaise Google Playssa. Aiemmilla kursseilla menestyivät Cordovalla toteutetut Laurin Times Table Grid Game (yli 50 000 asennusta), Villen Hirsipuu Suomi (yli 10 000 asennusta)  ja Elmon SuomiSanakirja (yli 10 000 asennusta). Jos voitat Laurin … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

GPS GeoLocation in Cordova and Android – add permissions to Android manifest

Where in the world is your cell phone? With Cordova, you can write your app in JavaScript, build an Android apk and sell it on Google Play. This article shows you how to use GeoLocation (GPS) from Javascript. We show … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , | Leave a comment

Hello Cordova – Develop Android Apps on Ubuntu Linux

Write Android Apps in HTML5 and JavaScript. Cordova allows access to hardware (GPS, accelerometer…) and packaging for Google Play.

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | 6 Comments

Javascript Basics – variable function loop if-then-else print

Learn the very basics of Javascript: variables, functions, loops, if-then-else and printing. Run the short example in your browser, then view the source. Knowing the basics will make it more fun to jQuery/PhoneGap/Cordova/ProcessingJs.

Posted in Uncategorized | Tagged , , , , , , , , , , , , , | Leave a comment

Processing.js Graphics in PhoneGap/Cordova – Example for Android

Create simple graphics and animations with Processing.js. You can publish your games and graphics as Android Apps with Cordova. Cordova (aka PhoneGap) allows you to write Android and IOS apps with HTML5 and Javascript.

Posted in Uncategorized | Tagged , , , , , , , , , | Leave a comment

Memory Game in Whole Helsinki

Play memory game – using the whole Helsinki as a map! My students Panu Koskela and Henry Kokko submitted their game to Apps4Finland. Competition entry on Apps4Finland Youtube video Free Android Download on Google Play

Posted in Uncategorized | Tagged , , , , , , , , , , , , | Leave a comment

Hello PhoneGap – from xUbuntu 12.04 Live CD

Install PhoneGap development environment and emulator from scratch. Start writing Android applications with Javascript and HTML. Guru version Hello Android $ sudo apt-get -y install ia32-libs eclipse Eclipse: Help: Install New Software. https://dl-ssl.google.com/android/eclipse/. Install Android 2.2. New Android Virtual Device? … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , | 2 Comments

Teaching PhoneGap – Write Apps in Javascript and HTML5

I’ll teach the next mobile development course in PhoneGap. The Haaga-Helia course Mobiilituotekehitys bus4tn008-2 will be in Finnish. The course seems to be fully booked already, but you can get a place if someone cancels. I’ll teach the course with … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , | 2 Comments

Drawing to Canvas on Android – Code Example

Draw full screen on your Android phone This is just example code. For a throughout explanation, see Make Arduino Bots and Gadgets: Boxing Clock. package com.botbook.drawingoncanvas; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Paint.Align; import android.os.Bundle; … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Android Cheatsheet for Beginners

Also check out Boxing Clock for Android (and MABG), search Stack Overflow, read Android Developers Guide and Reference. Toast private void tToast(String s) { Context context = getApplicationContext(); int duration = Toast.LENGTH_SHORT; Toast toast = Toast.makeText(context, s, duration); toast.show(); } … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment