Archiv der Kategorie ‘Android’

Howto: Android Unit Test Bootstrapping in Eclipse

Today we run in some trouble, while trying to “run” our test suites against our android code. So here is a short howto run your tests in eclipse. As example we are going to use the APIDemo tests…

1. Import API Demos to eclipse:
New -> AndroidProject -> Create Project from existing source -> Location: <android-sdk>/platforms/android-1.5/samples/ApiDemos/

2. Test code in APIDemo project:
Take a look at the tests folder in APIDemos android project. The whole test code for APIDemos is located in there.

Baksmali/Smali (Dissassembler/Reassembler) Android Tutorial

Zunächst müssen die .jar Dateien von der Projektseite geladen und entpackt werden:
Download von http://code.google.com/p/smali/

  • baksmali-0.93.jar  ist der Disassembler
  • smali-0.92.jar ist der Reassembler

Nachdem die Dateien herunterladen wurden einfach in einen Ordner Eurer Wahl kopieren. Nun können wir auch schon mit dem Dis-/Reassemblieren beginnen.

Disassemblieren:

  • Gewünschte .apk Datei in einen leeren Ordner kopieren
  • Datei dort entpacken (in Ubuntu entweder per Doppelklick auf die .apk oder via Konsole:

mkdir <yourApp>
cd <yourApp>
adb pull /system/app/<yourApp>.apk ./
unzip <yourApp>.apk

“My Name Is”, eine der ersten Paid Apps aus Deutschland im Android Market

Nachdem wir heute morgen voller Freude die Rundmail des Google Android Market Support gelesen haben, in der es heisst:

… We have also added seller support for developers from Germany, France,
Spain, the Netherlands, and Austria. Developers from these countries can
now go to the publisher website to publish their priced applications…

haben wir gerade als eine der ersten deutschen Firmen unsere Android App “My Name Is” für (unschlagbare) 0.99 € in den Android Market eingestellt.

A donation-based application framework for android

Imagine you have just written your new ground breaking android application. It took you weeks developing it because you have to go to work and can just code after quitting time or at the weekends. You finally finished it up and the application works great and it’s roll out time baby.
But should you make it a free or paid app? If you make it a paid app users won’t have the opportunity to review your application before buying it. As a consequence less people will download it (we where analysing this by browsing through the market, listing the download counts of all paid apps…), and advertising also doesn’t make much sense, because the application mainly runs as background service and uses the notification system to interact with the user. But all you know is, that your little application could be very useful to a lot off people and therefore there is no doubt to make it a free app.

Apps im Android Market mit QR-Code verlinken

Eine einfache Methode um virales Marketing für seine Android Market Applikationen zu betreiben stellt das erzeugen eines QR-Codes dar, welchen Nutzer dann z.B. von Ihrem Bildschirm abscannen können. Durch das Abscannen landen die Nutzer direkt im Market und können die Applikation dort herunterladen und installieren.
Das Abscannen setzt allerdings einen QR-Reader, wie z.B. den Barcodescanner von Google voraus, welcher aber bei den meisten Nutzer installiert sein dürfte.

Aber wie geht das Ganze nun?