A Picture on Android Fragmentation

Freitag, 18. Juni 2010

After “a Word” now “a Picture” on Android Fragmentation ;-)

android-fragmentation

Roidizer App – what to expect

Mittwoch, 9. Juni 2010

Hi all,

seems like many People also like the concept of my roidizer App. Ok I’m just a copycat, the app is obviously strongly inspired by the Polarize iPhone App but in my Opinion such an App was missing on the Android Market. Den ganzen Beitrag lesen »

A Word on Android Fragmentation

Mittwoch, 9. Juni 2010

As you might noticed I wrote a small App which makes Polaroid Style Photos. The plan was easy:

  • take a pictue (oh yeah there should be an Intent for that)
  • do some image magic
  • store the image to the gallery (there should also be an Intent for that?)

Sounds really easy does it? Ok well…

The first problem I stumbled upon was that the default capture Intent only delivers very small images, on the Milestone even much smaller than the actual screen resolution. Yeah frack that … so I tried to implement my own Capture Activity. The preview video stream showed up nicely on the screen, at least if you hold your phone straight in Landscape. Because if you turn it a bit around the image perspective was distorted. Ok back to the Intent and deal with the resolution Issue later. To use the Intent you have to supply a uri where the captured image is stored, guess that’s ok because I can delete it afterwards. OHAI, I’m the Motorola Milestone and I’m storing also a higher resolution Image to the Media Store but don’t respond within the code with any Information about that. OHAI I’m the HTC Hero and I’m not storing the image to the supplied uri, except I’m putting it in the Media Store and return the Content URI for that. Now thats what I call FRACKmentation!

Ok second Step, image magic, well I’m not that experienced with advanced image processing, so I guess to put a full resolution camera image as a Bitmap in the memory is [OutOfMemoryException]

Okay at least there’s a simple Method for inserting an image into the Media Gallery… oh the date is not set okay then .. yeah … oh .. uhm. Okay put all this stuff in some ContentValues, obtain a uri via the Ressources and store the image via streams bla bla OHAI I’m the HTC sense and don’t show any frackin images you put into the Media Store. But if you just trigger the Media Store Scanner with some wired code theres no problem. Luckily Vodafone had some devices around on the Droidcon so I could do a bit bugfixing there.

To be honest I don’t own an Android Phone, sadly I missed the Developer Labs in Berlin and also couldn’t attend the DLD. It seems to me that Google is handing out Devices to everyone except Developers. Well ok that’s fine I just borrow sometimes a G1 or a Milestone from the Office and test my Apps on them.

From the Emails I get there are Issues with the “Droid Eris” / “HTC Eris” and the “SonyEricssonE10i”. Sadly I can’t test my App on every device because I can’t afford to buy them to test a small free app.

So Google please admit that there’s an Fragmentation Problem and then frackin DO something about it.

Droidcon Interview

Mittwoch, 2. Juni 2010

Vergangene Woche war ich auf der Droidcon in Berlin, und wurde von whatsupandroid.com zu meiner Schedule Bot App Interviewt. Ja was soll ich sagen irgendwie ist mein Bart etwas schief und ich hab nen ziemlich starken Aktzent ;) Video nach dem Klick:
Den ganzen Beitrag lesen »

Moments to Love

Freitag, 26. Februar 2010

Skyline über BerlinSitze im Büro, schaue kurz zum Fenster raus sehe die Skyline und mir fallen folgende Worte ein:

And I’m looking to the sky to save me Looking for a sign of life Looking for something to help me burn out bright

Na aus welchem Song sind die?

Da ich nach dem posten des Bildes das Lied hören wollte es aber nicht im original auf Youtube fand bin ich aber zufälligerweise über eine wie ich finde sehr schöne Coverversion gestolpert: http://www.youtube.com/watch?v=kPcRLfaurI0

enjoy :-)

WGET ersatz Script für MacOS

Dienstag, 9. Februar 2010

Vielleicht vermisst der ein oder andere auch wget auf seinem Mac wenn man schnell mal was auf der Konsole runterladen muss. Die installation für MacOS find ich etwas umständlich daher kann man einfach curl benutzen was aber ein bisschen anders funktioniert:

curl {url} -o {dateiname}

deswegen einfach eine Datei unter /usr/local/bin anlegen und folgendes Script reinkopieren:

#!/bin/sh
OUTFILE=${1##*/}
curl $1 -o "$OUTFILE"

(ich hab meines einfach ‘g’ genannt) dann noch chmod 755 drauf und absofort kann man mit

g {url}

die entsprechende Datei runterladen (als Dateiname wird dann das verwendet was nach dem letzten / kommt)