Quick Summary

So there are quite a few things revolving right now. Tomorrow and on Friday our center will be reviewed by a number of experts so everyone is reading up on old reports and future plans. Last week we prepared a whole bunch of spreads for a forthcoming book on the topic of “Playfulness”. Last week […]

Quick Summary Läs mer »

Bamberg LIREC Meeting

Last week we spent some time in Bamberg – Germany for yet another LIREC meeting. I haven’t been to the last couple of meetings because of the parental leave, but the progress since last time certainly is very substantial. For instance I got acquainted with FoAM’s new software agent project GerminationX. Lovely project which reminds

Bamberg LIREC Meeting Läs mer »

Eco-Friends

Coming back from parental leave, I suddenly found myself deeply involved in a new project called Eco-Friends. The goal is to make a demonstrator application for people to reflect upon their grocery shopping habits, and in particular products related to seasons. In our vision we will present a socially constructed framing of seasons or what

Eco-Friends Läs mer »

Buttons

Creating a button is similar to text except that it also uses a Listener callback function that is called as soon as the button is pressed. menuButton = (Button) findViewById(R.id.menubutton);menuButton.setOnClickListener(new OnClickListener() {    //@Override    public void onClick(View v) {  // onClick Method                //Do something when clicked     }});   

Buttons Läs mer »

Exploring Interaction

We now have a continuous readout from the magnetometer sensor. Next step is to play with magnets nearby the sensor to see how the values are changing. One thing we could do is to create a sort of distance measure. myAzimuth = Math.round(event.values[0]); myPitch = Math.round(event.values[1]); myRoll = Math.round(event.values[2]); abssum = Math.abs(myAzimuth) + Math.abs(myPitch) +

Exploring Interaction Läs mer »

Sensor Hacking

So let us dig into the juicy bits! A google search on “android sensor orientation” turned up a promising result from ibm. At a glance it has some code that looks simple enough to explore. We wanna keep our package declaration and MainActivity class so we copy-paste from implements SensorListener { and onwards. With a

Sensor Hacking Läs mer »

Creating a New Android Project

Create a new Android Project (File->New->Android Project). Give it a project name e.g. “helloandroid”, select a build target (I would recommend API level 4 and Android 1.6), name the application e.g. “Hello Android”, type in a package name e.g. “my.android.packages”, type in the Main Activity name e.g. “MainActivity” (The default entry point in our program

Creating a New Android Project Läs mer »