Archive

Posts Tagged ‘development’

Android AIRMail – Development stopped

February 22nd, 2010

Hi guys,

due to the lack of time, I will not be able to continue the development of Android AIRMail anymore.

A new project at work, that I am working on at the moment, takes way too much time, so I won’t be able to support this application anymore. And as you may imagine – this project that I’m working on is actually something that I can make money with, so I had to make a decision. It really makes me sad, because I really loved this app and I put a lot of energy and brain power into it. Due to the fact O2Online does not provide any public API (e.g. a REST Service interface or something like), I will not be able to update the application as soon as the website design changes.

But Android AIRMail will not just go down the drain:

I will donate the code to Felix Bechstein, who is the developer of WebSMS (http://code.google.com/p/websmsdroid). He will use this code to implement all features that are not available at the moment. So almost nothing will change for you – but the application name. You just need to install WebSMS. The big advantage of WebSMS is the fact that you can send sms messages via other providers, too. I will ask Felix if it is possible to disable the ads for everyone that has donated money to Android AIRMail.

Android AIRMail will soon disappear from the Android Market (probably in the next 2-3 weeks). But before that, a new update will inform everyone about this big change.

Sorry for the inconvenience, but there was no other way out.

Regards,

Sascha

P.S.: I might probably come up with another application some time… but first of all I need to put all my brain power and time into work related projects.

Android, Cell phones, Software Development , , , , , , , ,

[UPDATE] Android AIRMail v0.67 released (Merry Christmas)

December 22nd, 2009
Download

Download Android Airmail

As this is an application for German O2 customers, I will post this entry in German only.

Pünktlich zur Weihnachtszeit wurde die neue Version von Android AIRMail im Google Android Market veröffentlicht. Bevor wir zu den Features kommen würde ich gerne ein paar Statistiken zeigen, bei denen es sich lohnt diese zu euch zu präsentieren. Android AIRMail wurde bis jetzt ca. 900 Mal heruntergeladen (Stand Dezember 2009) und von 72 Usern mit 4.87/5 Punkten bewertet. AndroLib berechnet hierraus verschiedene Statistiken, die als Basis die Nutzerbewertungen heranzieht. Auch die Bewertungen sind dort nachzulesen, ein Feature was der Android Market im Web leider nicht bietet – Richtig: Ich kann als Entwickler im Android Market nicht sehen, welche Bewertungen abgegeben wurden, ich sehe nur die Anzahl und die “Sterne”. Durch die Bewertungen ergibt sich jedenfalls folgende Zufriedenheitsstatistik (auf AndroLib können natürlich auch noch weitere Statistiken eingesehen werden – leider sind die Daten nicht immer aktuell):

Satisfaction Level Android AIRMAIL

Satisfaction Level Android AIRMAIL

Nach den ganzen Lorbeeren kommen wir mal zu den Neuigkeiten, die Android AIRMail in v.064 bietet – denn es kam sehr viel Neues dazu. Ich werde die zwei größten Änderungen zuerst separat aufführen.

O2 AIRMail heißt jetzt Android AIRMAIL: Der Grund hierfür ist ganz einfach, denn bezog sich das O2 im Applikationsnamen zwar nur auf die chemische Summenformel O2 (Oxygenium – Sauerstoff), könnte sich O2 (Mobilfunkprovider) jedoch hier gestört fühlen, da hier unter Umständen ein Bezug auf das Unternehmen hergestellt werden könnte – was ja auch verständlich ist. Um hier auf Nummer Sicher zu gehen und abzugrenzen, dass diese Applikation nicht von O2 kommt und auch damit nichts zu tun hat, habe ich mich entschieden den Namen der Applikation zu ändern.

Android AIRMail ist keine Open Source Software mehr: Wie viele von euch wissen, wurde diese Applikation früher unter der GPL V3 Lizenz veröffentlicht. Nach langen Diskussionen bezüglich eines Approvals von unseren Intellectual Property Attorneys bei meinem Arbeitgeber, haben wir uns auf verschiedene Richtlinien geeinigt, damit ich diese Applikation weiter entwickeln darf. Eine der Regulierungen war das Umstellen auf eine Closed Source Applikation. Das heißt natürlich nicht, dass Android AIRMail in Zukunft Geld kosten wird – Nein, sie wird weiterhin kostenlos bleiben – nur der Source Code wird nicht mehr öffentlich zur Verfügung gestellt. Ich hatte leider keine andere Möglichkeit und einstellen wollte ich das Projekt nicht.

Weitere neue Features von Android AIRMail v0.64:

SMS werden nun im Hintergrund versendet: Dieses Feature wird viele Nutzer freuen, die oft mit GPRS/EDGE unterwegs sind. Durch dieses Feature bleibt Android AIRMail auch während des Sendens einer SMS (egal wie lange das auch dauert) komplett nutzbar. Die App kann sogar in den Hintergrund geschoben werden – die SMS werden trotzdem versendet.

Auto Login hinzugefügt: Das Auto Login Feature richtet sich auch an die GPRS/EDGE Nutzer, denn dieses spart enorm viel Zeit beim Versenden einer SMS und kommt gleich mit zwei schönen Vorteilen. Zum Einen kann nun eingestellt werden, dass sich O2 Airmail beim Start automatisch im Hintergrund einlogged (Einstellungsmenü). Dieses Feature erlaubt es demnach, dass der Login-Vorgang bereits schon während dem Tippen der SMS im Hintergrund stattfindet. Zum Anderen logged sich Android AIRMail nun nur einmal pro Session ein. Dies bedeutet deutlich weniger genutze Bandbreite – im Vergleich zur Version v0.54 – hier fand der Login beim Senden jeder SMS statt.

Informationen werden nun über Notifications angezeigt: Da sich nun viel in den Hintergrund verlagert hat, wird nun das Notification Framework von Android benutzt. Hier werden alle Informationen rund um Android AIRMail angezeigt (Login, Fehler, Versendete SMS). Hier kann nun im Einstellungsmenü eingestellt werden, ob sich die Nachrichten dort sammeln sollen, oder ob eine neue Nachricht die andere ersetzen soll. Bei einem Klick auf die Notification öffnet sich nun Android AIRMail und zeigt die Information an.

SMS direkt aus dem Android Telefonbuch versenden: Android AIRMail bietet nun die Möglichkeit, dass man direkt über das Telefonbuch eine SMS senden kann. Dies sollte nicht mit dem Telefonbuch Feature der vorigen Versionen verwechselt werden, denn nun geht man einfach in die Android Kontakteapplikation und klickt auf einen Kontakt. Dort besteht nun die Möglichkeit eine SMS über Android AIRMail zu versenden. Die Nummer wird dann bei Android AIRMail automatisch in das Rufnummernfeld eingetragen.

Smilies in die SMS-Nachricht einfügen: Mit Android AIRMail v0.64 wurden nun auch neue Schaltflächen eingeführt. Eine davon ist der Smilies-Button. Dieser erlaubt es aus einer Liste Smilies auszuwählen und diese in das Textfeld einzufügen. Dies passiert genau an der Stelle, an der der Cursor steht. Dieses Feature macht dann sehr viel Sinn, wenn man eine Hardware-Tastatur hat, so kann man schnell einen neuen Smiley hinzufügen ohne ihn über die Tastatur eingeben zu müssen.

SMS können nun geplant werden: Dies ist nun der letzte verbleibende Service von O2. Nachrichten können nun geplant werden, in dem man das Datum und die Uhrzeit wann die SMS gesendet werden soll angibt. Dies ist zum Beispiel nicht schlecht, wenn man Geburtstage leicht vergisst. So kann man vorab schonmal gratulieren. Die SMS wird automatisch bei O2 gespeichert und dann rechtzeitig versendet. Android AIRMail teilt dies mit, in dem es beim Status zwischen Versenden und Planen unterscheidet.

Das Android AIRMail Icon hat sich geändert: Da Android 2.1 in aller Munde ist und sich seit Android 2.0 auch die Icons der Platform geändert haben (vorher eher im 3D-Stil – jetzt eher flach), habe ich auch das Icon von Android AIRMail geändert, so dass dies besser ins Menü passt.

Rufnummernfilter zeigt nun nur noch Handynummern: Vorher war es immer recht anstrengend die korrekte Rufnummer im Telefonbuch zu finden, wenn man mehrere Kontakte mit mehreren Rufnummern hatte. Nun kann man über das Einstellungsmenü einen Rufnummernfilter aktivieren, der nur die Mobilnummern anzeigen lässt.

Weitere kleine Änderungen: Die Applikation wurde erfolgreich auf dem Android Emulator mit Android 2.0 getestet, d.h. auch höhere Auflösungen (wie zum Beispiel das Motorola Droid es momentan hat), werden unterstützt. Der About Screen (Menü – Informationen) wurde auch aufgewertet und bietet nun auch die Möglichkeit für die Applikation zu spenden. Durch die vielen neuen Funktionen wurde auch das Hilfe-Menü erweitert und die einzelnen Funktionen erklärt. Neben den verschiedenen neuen Möglichkeiten, die Android AIRMail nun bietet, gab es natürlich auch viele Fehler, die behoben wurden.

UPDATE: Bugfixes seit v0.64 (aktuell: v0.67):

* T9 funktioniert auf dem Hero wieder
* Session Timeout Bug gelöst, bei dem SMS nicht versendet werden
* Auto-Login checkt nun, ob Session noch besteht oder nicht und logged sich dann automatisch wieder ein
* Neue Sektion im Hilfe Dialog -> Zeigt nun die Änderungen in den Versionen an
* Telefonnummer die mit “0049″ beginnen werden nun richtig zusammengebaut und demnach auch korrekt versendet.

Dieses Projekt verschlingt sehr viel Zeit und Geld (Server hosting, Android Market Gebühr & Freizeit), weshalb ich nochmal auf das Spendenformular hinweisen möchte:


Android AIRMail ist ab sofort im Android Market zu finden. Des Weiteren kann es hier auf der Webseite heruntergeladen werden.

Um nicht nur von der App zu erzählen, sondern um euch diese auch mal zu zeigen – hier ein paar Screenshots:

Frohe Weihnachten und viel Spaß damit!

Android, Cell phones, Software Development , , , , , , , , ,

How to install a “real” firmware on your emulator (incl. Android Market)

December 2nd, 2009
Android Market on the Emulator

Android Market on the Emulator

Yesterday, I’ve tried to find a way to install a firmware with closed source apps on my Android 1.6 emulator. And let me explain why I did it and of course how.

I wanted to have a look at the Android Speech Recognizer API (RecognizerIntent) and was really impressed by the fact that there are only a few lines of code needed to use this feature. But after some digging, I found out that you would need an application on your device to take care of the speech analysis. Only with this app, you’ll be able to use this feature – and yes – there’s no app packaged with the emulator to provide that. The only application I knew was Google Voice… but: Google Voice is closed source and therefore not installed on the emulator. I had to find a way to get it somehow… Android Market? No, closed source -> not available.

So I made up my mind and remembered that someone told me once that the firmware images on the phone and on the emulator are pretty much the same. I’ve checked the AVD (Emulator = AVD = Android Virtual Device) folder to see how it stores its files… and yes, there were *.img files. If you don’t have such a directory, you need to create an Android 1.6 AVD first (you can use eclipse or command line) – I’ve created an AVD with a 1024MB sized SDCard.

You will find this directory in your home folder (e.g. on Linux/Mac):

~/.android/avd/MastiX_Donut.avd/

On HTC’s developer website they offer the Android Dev Phone Firmware (ADP1) to download… So I’ve downloaded the following file:

signed-dream_devphone_userdebug-img-14721.zip

I’ve tried the ION firmware (signed-google_ion-img-14721.zip) as well, but I was not able to get an internet connection. Link seems not work with Firefox (Ubuntu) and Chrome (Mac). But I can download it successfully using Safari 4 on my Macbook. Please try this. The problem is that you have to accept a license agreement, which is why I don’t want to/can’t provide that file. Maybe you need to install Safari 4 to download the files… could someone tell me if it worked with Safari 4 on Windows?

Edit: I’ve found a link that should work – BUT PLEASE READ THE LICENSE AGREEMENT ON HTC’s DEVELOPER SITE BEFORE DOWNLOADING THIS FILE.

http://dl.dropbox.com/u/1676562/signed-dream_devphone_userdebug-img-14721.zip
Also Gmail, Google Talk, etc. are available

Also Gmail, Google Talk, etc. are available

Ok, let’s continue… After extracting the downloaded file I was able to see that there’s a system.img file in there. This system.img did not exist in my current AVD folder, but I could see that it existed in the SDK folder:

./Development/android-sdk-linux_x86-1.6_r1/platforms/android-1.6/images/system.img

Fortunately the AVD itself supersedes this AVD-wide SDK setting as soon as it includes its own system.img file. The trick is to just copy the system.img file into the MastiX_Donut.avd folder. After that I’ve (of course) tried to run the emulator with the new firmware, but unfortunately it failed with the following exception:

emulator: ERROR: system image file too large for device's hardware configuration (78MB > 72MB)

This error is pretty easy to fix, you just need to put the following line into the AVD config file (.android/avd/MastiX_Donut.avd/config.ini):

disk.systemPartition.size=96MB

That’s it! I’ve started the emulator and after a quick boot sequence it forced me to enter my Google account credentials… (you need to switch to landscape mode to enter them – on a Macbook it would be Fn + Ctrl + F12!).

Now I was able to download Google Voice from the market and tested the speech stuff without any problems. :) It also synced my Google contacts to my emulator. Of course, I deleted the firmware after my test phase and returned to the standard emulator ROM!

Happy emulating,

Sascha

Android, Cell phones, Software Development , , , , , , , , , ,