Archive for March, 2009

Prototyping in mobile processing

Monday, March 30th, 2009

This was a nice experience. Actually I reused something I created a while back, the embryo for this application. I no longer own a J2ME phone so it will be a bit hard to test, but I can probably borrow my wife’s phone.

Well it only took me the a few hours to do the embryo, and a little while to get a ball bouncing left and right  in speed of the metronome. It does need some designer love though.

A few drawbacks though, no debugging on device. Not that much in form of API’s. No animated gif loading. I dont really trust the threading to be exact, and there are a lot of devices to test on. which I wont do, of course.

But my stomache hurts and I’m tired.

http://mobile.processing.org/

Finding a vibrate function in the documentation.

Saturday, March 28th, 2009

First I need to se if there is the possibility to access the vibrator, so I look in the documentation of the 3 development environments.

Mobile Processing, easey as pie,  documentation is really easy to navigate. Could be there arent much to document. The Emulator does not show vibration though.

iPhone, pretty easy, searching for vibrate gave the information that led me to finding what I needed. The Emulator does not show vibration either.

Android, why does eclipse take so long to start? It’s stupid. Did not find any link to the documentation, and it was a bit to hard to search in the html-documentation that I donwloaded. Google to the rescue. took a little longer to get it up and running then the other two, but the API-call seems to be able to do more. I had to add stuff in a manifest file to be allowed to use the vibrator. The program would crahs otherwise. Emulator does not show vibration either.

Installing and or updating

Saturday, March 28th, 2009

So first steps are to get the SDK’s up and running.

Since I already have Xcode I had to update that, pretty easy, download from apple’s developer pages, and install the update. A pretty hefty download, but the process from there was smooth as silk.

Mobile processing for J2ME, I know this is a little like cheating but I want to go into coding as fast as possible and that is exactly what all the processing derivatives are for. Ease as pie, download, unzip and you’re up and running. You need to download and install a WTK as well, that also was painless.

Eclipse and the Android SDK then, well, it was a hefty download, and a few manual steps to reinstall. Honestly, what would be so wrong with making a proper installer?

Winner: iPhone SDK and Mobile Processing. Looser: Android SDK and Eclipse.

The mission

Friday, March 27th, 2009

I’m going to code and distributing a vibronome application on iPhone, Android and J2ME and document my learning experience for all aspect’s I’m going to hit. Like installation of enviroments, testing, distributing and if the revenue streams are the same.

So to the MasterBeater 2000, yes it’s a corny name, but a friend suggested it and it kind of stuck. I want it to be able to vibrate on every beat, like a metronome but without sound and instead vibrations.  I shall be possible to play/pause and change BPM. A visual representation prefferably in the shape of a ball smashed against sides.

That’s it for now. Next I’m going to install the SDK’s and document the differences.