droidcon – App Agentur creative workline GmbH http://www.creativeworkline.com Agentur für Android App Entwicklung und iPhone App Programmierung in Berlin und Wien Wed, 30 Sep 2020 10:36:11 +0000 de-DE hourly 1 https://wordpress.org/?v=4.9.18 droidcon 2014 Berlin / 2 http://www.creativeworkline.com/2014/05/droidcon-2014-berlin-android-2/ http://www.creativeworkline.com/2014/05/droidcon-2014-berlin-android-2/#comments Thu, 15 May 2014 16:41:45 +0000 http://www.creativeworkline.com/?p=5566 Auch dieses Jahr war die droidcon Android Konferenz ein Berlin wieder ein Fixpunkt für uns als App Entwickler. Die Artikel von 2012 und 2013 können Sie übrigens hier und hier nachlesen. Dieser Artikel gibt einen Überblick über ausgewählte Vorträge am Freitag dem 09.05., dem zweiten Konferenztag.

droidcon_2014

Begonnen hat Tag mit einer Keynote von Sony, in der es vor allem darum ging, mit welchem Produkten wir uns zukünftig in den nächsten Monaten und Jahren als User aber auch als Entwickler beschäftigen werden. Das Jahr 2014 steht bei Sony im Zeichen von SmartWear Experience sowie Premium Smartphones und Tablets, hier will sich der Hersteller positionieren. Wir können uns schon mal auf interessante neue Smart Watches freuen, aber auch SmartEyeglasses wird zukünftig ein wichtiges Thema sein. Natürlich bietet Sony auch entsprechende Programme für Entwickler.

Weiter ging es mit einer Session von Juhani Lehtimäki von Snapp Solutions, zum Thema Android UI Design Patterns. Er stellte dabei klar, dass die User einer App diese nicht nur „verwenden“ wollen, sondern sie wollen mit der App etwas erreichen – es sollte also keine App zum reinen Selbstzweck entwickelt werden. Der Vortragende ging auch stark auf wichtige UI Komponenten wie die ActionBar oder den relativ neuen NavigationDrawer ein. Bei einem Punkt lobte er Apple und kritisierte Google: Der „Aufwärts“ bzw. „Zurück“ Button ist auf iOS gut umgesetzt und auf Android schlecht, hier forderte er von Google eine bessere Lösung. Juhani ermutigte die App Entwickler, Gesten einzusetzen und auch mal die Regeln zu brechen.

Ein ähnliches Thema behandelte auch André Schmidt von Enough Software, der über Timing in User Interfaces sprach. Er teilte Zeitspannen grob in drei Klassen ein: Instantly (< 100ms), now (0,1 sec – 5 sec) und later (5 sec – x). Je nach Klasse müssen App Entwickler unterschiedliche Richtlinien einhalten. Z.B. erwartet der User bei einem Button-Press ein sofortiges Feedback (Instantly), App Designer vergessen allerdings gerne mal auf den Pressed State eines Buttons in ihren Designs.

In der Keynote „Android beyond Snowden“ wurde das sehr weitreichende Thema Sicherheit auf Android behandelt. Das ging von Baseband Security und Hardware, über das Betriebssystem und Permissions hin zu Cloud Services und Mail Apps. Wer soll da in Zeiten von NSA nicht paranoid werden? Android bietet dem User und Entwickler sehr viele Freiheiten, was natürlich Vor- und Nachteile hat. Die Vortragenden rieten u.a. dazu, ein alternatives ROM wie CyanogenMod zu installieren, die vorinstallierten Google Apps durch Alternativen zu ersetzen, und Encryption zu verwenden.

Es gab auch einen (mehr oder weniger) Workshop auf der droidcon 2014: In „Every App needs a Backend“ stelle Microsoft seine Azure Plattform als Basis für App Backends vor. Dazu gibt es die speziellen „Azure Mobile Services“ als PaaS (Platform as a Service) Angebot – und man muss sagen, damit ist es wirklich einfach ein Backend für Apps auf allen möglichen Plattformen (Android, iOS, Windows Phone, …) zu entwickeln. Microsoft setzt – wie das sehr ähnliche Service von Parse.com – auf Node.js zur Entwicklung, und lässt im Hintergrund aber einen MS SQL Server arbeiten (wer hätte das gedacht?).

droidcon_2014

Tim Messerschmidt von Paypal beschwörte in seiner Keynote den „Tod der Passwörter„. In dem Vortrag ging es um Authentication, vor allem im Hinblick auf mobile Devices. Hier kommen Technologien und Konzepte wie Two-Factor-Authentication, oAuth 2 und Social Sign-in ins Spiel.

In seiner Session „Froyo to KitKat: Two Years Developing & Maintaining DeliRadio“ ging Andrew Dyer von ChaiOne auf den Entwicklungsprozess einer Radio-App für Android ein. Themen wie Testen auf vielen Devices, unterschiedliche Android Versionen oder iOS Design vs. Android Design kennen wir als App Entwicklungs Agentur selbst nur allzu gut.

Den sehr interessanten Konferenztag beendete Kai Jäger von Microsoft Ventures mit dem Vortrag „5 Things you should do as an App Startup„. Als Vorlage bzw. Inspiration dient ihm dabei das Lean Startup Paradigma.

  1. Schränke deine Zielgruppe ein! Wenn man nicht weiß, wie man seine Zielgruppe ansprechen soll, ist das Marketing für eine App viel schwieriger.
  2. Validiere deine Annahmen! Hier geht es darum, kontinuierlich Kundenfeedback einzuholen.
  3. Mache eine fundierte Platform-Entscheidung! Hier geht es um das Thema Installed-Base vs. Market Share, und die Entscheidung Android vs. iOS vs. Cross Platform (Cordova, Appcelerator, Xamarin, Adobe Air, …)
  4. Bekomme großartige Reviews! Die Top 100 Apps im Play Store haben ein durchschnittliches Rating von 4.1
  5. Analysiere und Verbessere! Verwende Services wie Google Analytics oder Flurry um deine App laufend zu verbessern.
  6. Sei überall! Verwende jede Gelegenheit, um dein Produkt zu „missionieren“ und vertraue auf echte Experten im Bereich Marketing.

Den 6. Ratschlag gab es als Bonus oben drauf.

Vom ersten Tag der droidcon sind noch folgende zwei Vorträge zu erwähnenswert:

Andreas Vourkos stellte Pollfish vor, eine neue Art Apps zu monetarisieren. Als Alternative zu klassischen Werbebannern oder Interstitials (z.B. von Google AdMob) bietet Pollfish Entwicklern eine Möglichkeit, unaufdringliche Umfragen in Apps einzubauen. Davon profitiert sowohl der User einer App, weil er meistens etwas gewinnen kann, als auch der Entwickler/Publisher durch – angeblich – höhere Einnahmen.

Generate revenues with your Android App on the BlackBerry 10 Platform“ war der Titel des Vortrags von Kámel Lajili. Seine Firma BlackBerry fokussiert inzwischen wieder auf den „Prosumer“ und Geschäftskunden-Markt, nachdem der kurze Ausflug in den Consumer-Market nicht sehr erfolgreich war. Er zeigte, wie einfach es ist, eine bestehende Android App auf BlackBerry 10 zu portieren. Je nach Features der App ist es oft sogar ohne Anpassung möglich, eine Android App auf BlackBerry auszuführen und in die App World zu stellen.

Es gibt auch einen ersten Teil im Blog zur droidcon, und zwar hier.

]]>
http://www.creativeworkline.com/2014/05/droidcon-2014-berlin-android-2/feed/ 1
droidcon 2014 Berlin / 1 http://www.creativeworkline.com/2014/05/droidcon-2014-berlin-android-1/ http://www.creativeworkline.com/2014/05/droidcon-2014-berlin-android-1/#comments Wed, 14 May 2014 15:36:54 +0000 http://www.creativeworkline.com/?p=5581 Letzte Woche war es endlich wieder so weit. Die droidcon 2014 stand vor der Tür und fand vom 08. Mai – 10. Mai 2014 statt. Menschen aus ganz Europa reisten an um auf dem Themengebiet Android auf dem neuesten Stand zu sein. Dieser Artikel soll sich vor allem an App Entwickler richten, da auch die Keynotes der Messe meist entwicklungsorientiert waren. Im Folgenden werden einige der Vorträge vom 8. Mai 2014 zusammengefasst. Neben der droidcon fand übrigens auf dem selben Gelände auch der LinuxTag statt.

1_droidcon_560px

Android Programming – Pushing the Limits

Senior Android Developer Erik Hellman von Spotify eröffnete die droidcon indem er sein Buch „Android Programming – Pushing the Limits“ vorstellte. Es ist an bereits erfahrende Android Entwickler gerichtet und beschäftigt sich vor allem damit, wie das System Android am effektivsten genutzt werden kann. Komponenten wie Services, Broadcasts, Memory Management sind nur einige Themen welche detailliert behandelt werden.

Nützliche Tipps aus dem Vortrag:

  • Wichtige Daten sollten besser in der onPause anstatt der onSaveInstanceState gespeichert werden
  • Wo immer es möglich ist sollten Pools von Objekten genutzt werden um Speicher zu sparen
  • Anstatt Fragments sollten SupportFragments eingesetzt werden da diese Implementierung stetig von Google aktuell gehalten wird
  • Wo immer es möglich ist sollten Handler in Kombination mit Messages eingesetzt werden, da diese speziell für das Android Betriebssystem optimiert wurden
  • Netzwerk Events sollten mit den Broadcasts CONNECTIVITY_CHANGE, CONNECTION_CHANGE und WIFI_AP_STATE_CHANGED sinnvoll behandelt werden

Das Buch behandelt auch Themen wie zum Beispiel die Einbindung von nativem C/C++ Code. Lektüre die nicht an jeder Ecke zu finden ist.

Image Handling on Android

Facebook

Die nächste Keynote wurde von Tyrone Nicholas (Facebook) gehalten. In dieser ging es um den effektiven Umgang mit Bitmaps um vor allem OutOfMemoryErrors zu umgehen. Gerade die Facebook App ist sehr speicherhungrig. Schließlich besteht sie im Grundlegenden aus einer Liste von Einträgen, wobei nahezu jeder zweite Eintrag ein Bild oder Video beinhaltet. Für Facebook war es laut Tyrone keine Option die Bilder von den Benutzern herunter zu skalieren. Neben einer Reihe von möglichen Lösungsvorschlägen, welche alle wegen größerer Schwachstellen verworfen wurden, gab es am Ende doch ein paar interessante Tipps. Zum Beispiel den RecycleListener einer ListView und die Methode onMovedToScrampHeap(). Durch die Implementierung dieser Methode können Bitmaps frühzeitig recycled werden ohne den Speicher zum Überlaufen zu bringen. Facebook arbeitet aktuell immer noch an weiteren Lösungen um auch ältere Geräte möglichst gut zu unterstützen. Tyrone ließ durchblicken, dass der einzige wirklich richtige Weg nur über nativen C/C++ Code zu erreichen ist.

Video playing on Android

Der nächste Vortrag widmete sich dem Abspielen bzw. Streamen von Videos auf Android Geräten. Nach einer kurzen Vorstellung einiger gängiger Protokolle zum Streamen von Videos (HLS, HDS, MPEG-DASH, RTSP) wurde genauer auf die Implementierung auf Client Seite eingegangen. Hierbei wurden zwei mögliche Implementierungen gegenübergestellt. Zum Einen die SurfaceView und zum Anderen die TextureView. Der Vorteil der SurfaceView besteht darin, dass sie relativ leicht zu implementieren ist und auch von den meisten Apps eingesetzt wird. Nachteilig ergibt sich bei der Nutzung dieser Variante, dass durch die SurfaceView ein separates Window erzeugt wird, der Benutzer also augenscheinlich die ursprüngliche App verlässt. Diese Umstände lassen sich mit der TextureView umgehen. Die TextureView verhält sich wie eine reguläre View und kann bewegt, transformiert oder animiert werden. Die Youtube-App nutzt zum Beispiel diese Variante zum Abspielen von Videos. Neben der View wird zur Anzeige auch noch das Android MediaPlayer Objekt benötigt. Abgeschlossen wurde die Keynote mit den Worten, dass vor allem Video-Streaming auf möglichst vielen unterschiedlichen Geräten getestet werden sollte, da das Verhalten des MediaPlayers sehr unterschiedlich ausfallen kann.

Wer an den Geschehnissen vom zweiten Tag der droidcon interessiert ist, der kann hier weiterlesen.

]]>
http://www.creativeworkline.com/2014/05/droidcon-2014-berlin-android-1/feed/ 1
droidcon Berlin 2013 – Android on the Fast Lane http://www.creativeworkline.com/2013/04/droidcon-berlin-2013-android/ http://www.creativeworkline.com/2013/04/droidcon-berlin-2013-android/#comments Wed, 17 Apr 2013 09:14:17 +0000 http://www.creativeworkline.com/?p=3335 Last week Berlin was the place to be for Android developers, experts, and enthusiasts from all over Europe. The droidcon 2013 took place from April 7th to 10th in Berlin. We were part of it and sum up the most relevant topics from the two conference days in this article. What has changed from last year’s conference is that Android is now the clear leader on the mobile operating system and smartphones market as far as device sales are concerned. Overtaking Apple’s iOS in market share, the mobile OS by Google can now be found on entry level to high end phones, tablets, TVs, game consoles, watches, etc.

droidcon 2013 Android Konferenz Berlin

Apart from the huge success with devices sold the conference kicked of with the statement that iOS is still ahead in terms of commercial success. There are several factors for that: People are spending more money on iPhone apps because they want to impress, Apple has become the synonym for apps („there’s an app for that“), and iPhone users are rather early adopters. Also purchasing is fully integrated on iOS and the payment information has to be provided once you set up an iTunes account. On the other hand transparency and privacy could become a competitive advantage for Android. Especially app developers have to keep that in mind and enhance user trust and be transparent.

If you are interested in a smartphone that puts social values first, you should definitely check out FairPhone. It’s still a concept and under development but we think it’s definitely time to have more ethically sourced and manufactured devices!

When it comes to the Do’s and Dont’s for Android UI you should have a look at Android UI Patterns. Probably the best advice for every Android UX engineer is „Don’t use designs from other platforms“. The time when just imitating the iOS user interface on Android was state-of-the-art is definitely long over. „Make you layout scalable and don’t build an extra app for tablets“ is another very important guideline – here re-usable Fragments are the way to go.

On a rather technical level there were a lot of interesting talks as well. Anders Göransson of Jayway talked about efficient threading on Android. When scheduling processes on Android you have to consider the four different levels: 1. Foreground, 2. Visible, 3. Service, 4. Background. It’s important to know that background threads get only 10% of execution time. The garbage collector (GC) runs after the onDestroy() method of an Activity, so having background threads that reference Activities is in all likelihood a source for a memory leak. You can read more about this topic at the official developer guide.

Markus Junginger of greenrobot from Munich talked about the lessons learned with Prime Guide, their Android TV guide app for the German market. Apart from the daily struggles of an Android developer he argued about the pros and cons of using Google App Engine (GAE) as the backend of the app. A technology which we are using for our products as well. It might not be the cheapest solution and has it’s weak points, but on the other hand GAE helps them to have high availability with close to zero maintenance effort, easy version control and – most imporant – getting them through usage peaks easily.

Another central theme throughout the conference was how to build high quality apps and what tools and techniques can be used for quality assurance. Just to mention a few:

  • Jenkins: for continuous integration (CI), automated build and device tests
  • Robolectric: a unit test framework
  • Mockito: a mocking framework that can be used for unit tests
  • Calabash: write automated functional and acceptance test with Cucumber
  • Robotium: test automation framwork
  • Sonar: manage code quality (code coverage, source analysis, …)

Testing is very important but quality should start at an earlier stage when developing, so dependency injection (DI) is an important concept to keep the code clean, managable and readable. On Android, RoboGuice – the Android variant of Google’s Guice framework – comes in handy. If you are developing serious Android apps you should definitely use the well known obfuscator and code shrinker ProGuard to reduce application size, increase performance and battery life. Hint: You need to enable it, by default it’s commented out in the project.properties file.

droidcon 2013

Some other interesting topics: Philipp Kandal of skobbler talked about the „Top Ten Monetization hacks on Android“, and Facebook introduced their brand new Android SDK version 3.0.1. Mozilla showcased their new operating system Firefox OS to the crowd – the OS itself is based on the Android kernel but everything is written in HTML5/CSS/JavaScript. Mozilla promotes open standards and a web ecosystem opposed to the „silos“ of Google, Apple and Microsoft.

Another talk was about the disillusion of building HTML5 apps on Android. Javascript frameworks like Sencha Touch and JQuery Mobile in combination with Cordova/PhoneGap promise to let you develop cross platform web apps with less effort, but in reality this often turns out as wishful thinking. Of course there is a place and a use case for mobile web-apps, but the customer as well as the developer have to know the limitations well. There seems to be a bright spot in the future for HTML5 apps, as performance and CPU power continues to increase on mobile devices, but as of today hybrid apps combining native and web seem to be a more realistic path to success.

We are definitely keen on using our Android know-how and skills in customer projects and will be happy to help you realize your Android app. We are looking forward to seeing new developments in the Android and mobile sphere in 2013!

]]>
http://www.creativeworkline.com/2013/04/droidcon-berlin-2013-android/feed/ 3
droidcon Berlin 2012 http://www.creativeworkline.com/2012/03/insights-from-the-android-conference-droidcon-berlin-2012/ http://www.creativeworkline.com/2012/03/insights-from-the-android-conference-droidcon-berlin-2012/#comments Wed, 14 Mar 2012 20:02:14 +0000 http://www.creativeworkline.com/?p=2169 Android conference in BerlinToday we‚ve checked out new developments in the Android world and beyond at the the german Android conference droidcon Berlin 2012. It is the Android conference for the German speaking world. A lot of attendees came from Austria, Switzerland and other countries as well. Compared to last year the conference has gotten bigger – but not necessarily better. Sadly, a lot of talks were aimed to market/sell a product or framework. We would have preferred if there where more dedicated technical talks. Anyway, a conference is always a good way to get a compact impression of the current trends and a great way to network and meet interesting likeminded people.

Here is what we’ve found interesting:

PhoneGap, the famous HTML5 WebApp framework is now owned by Adobe and renamed to Cordova. Phonegap/Cordova 1.5 is now also an Apache Incubator project and you can use it free of charge under the Apache License. This framework is the way to go if you want to build HTML5 apps. Whatever IDE you’d like best, there is support for Eclipse or MS Visual Studio. When building a WebApp with Phonegap, the core www folder of the project that contains the app logic will always remain the same.

The guys from Telecom Labs (T-Labs) presented Magitact, a cool new way to interact with your smartphone without even touching the screen. Magnetic gestures do the trick. Though still in beta, very impressive app showcases (play guitar strings, drum apps).

LG presented their Real3D SDK, which enables developers to build real 3D screen content (cool for games, we think). Of course you need special smartphone hardware to display the 3D: we saw the 3D content on the LG Optimus 3D Max Android smartphone. BTW, LG clearly favours Android (around 10 Android smartphones, 1 Windows Mobile smartphone out there).

Christian Kurzke from Google pointed out, that GoogleTV needs a very different UX/UI design compared to smartphone or Tablet apps, in oder to be useable on TV sets. Just think about it, there is NO touchscreen and so no swiping or tapping gestures like one is used to on a tablet can be used. The interaction is done with a remote control, which is a really different use case. So if you want to build an Android app that runs on smartphones, tables and also TV sets, you really need to reconsider the layout 3 times and pay your UX designers 3 times. A good codebase will use Android Fragments right from the start (in contrast to using Activities). That way, you will be able to rearrange UI elements (Fragments) on every platform for the users‘ needs.

We also attended an interesting talk about Vodafone’s implementation of the new RCS-e/joyn standard, which will enable smartphone users to use file sharing, video sharing, real time chat, Voice over IP and peer 2 peer networks „right from the start without registration across all operator networks“. This can be achived b/c the IMSI number from the smartphone is used as an ID whereas the complete service is run in the backend of the network operator. The new service of Vodafone will be opened to developers via an API called JIBE, is still in closed beta. Besides the best end-user marketing video on the droidcon the guys from Vodafone showcased a very interesting real time multiplayer game that uses joyn. Really responsive and fast! Once this is out of beta, it could be a really interesting new operator service to use for your own apps. We’ll definitely keep an eye on joyn!

Interesting to hear, that both Telecom Labs (Magitact) and Vodafone (RCS-e/joyn) plan to establish revenue share business models for their provided services. We will see, if and how this will work out in the end…

The droidcon 2012 closed with an Apple bashing talk of Sasha Pallenberg, a (tablet) hardware guru living in the androidified Taiwan, who stated that „Android tablets will outsell iPad by the end of 2012„. According to Pallenberg, Alibaba.com shows that there are more than 200.000 android tablets out there! These impressive numbers must come from the huge low-cost Android Tablet market in Asia.

]]>
http://www.creativeworkline.com/2012/03/insights-from-the-android-conference-droidcon-berlin-2012/feed/ 1