Trifork Blog

Posts Tagged ‘Android’

GOTO Amsterdam: The disruption track

May 20th, 2015 by
(http://blog.trifork.com/2015/05/20/goto-amsterdam-the-disruption-track/)

Goto Amsterdam

 

It must have been somewhere in 2004 when I listened to a single podcast every day for more than a week. Each day when commuting to work and back it was the podcast called “Capturing the Upside” by Clayton Christensen. I was so impressed by the amount of insights and knowledge shared in this podcast that I bought his first two books immediately. It was Clayton Christensen who coined the theory of Disruptive innovation.  When you read Eric Ries his book on Lean Startup you can recognize this movement leverages the Disruptive Innovation theory: e.g. initial “crappy” products(mvp) enter a small part of the incumbents market and not considered/recognized a threat.

Read the rest of this entry »

Linking apps together with App Links

June 3rd, 2014 by
(http://blog.trifork.com/2014/06/03/linking-apps-together-with-app-links/)

When developing apps for mobile phones you want to offer your users the best user experience. Sometimes this includes showing information outside of your app, in another app. Up until recently, there was no real good way to do this. Luckily, now there is a new initiative App Links that provides an open source and cross-platform solution for app-to-app linking. The initiative is supported by many mobile app developers, like Dropbox, Facebook, Spotify and Pinterest. In this post I will show you an example how to link between two Android applications using the open source implementation for Android Bolts. However, the same principles apply when you want to link between two iOS applications.

Read the rest of this entry »

Cordova from the Trenches: Write Once, Run & Debug Everywhere!

November 20th, 2013 by
(http://blog.trifork.com/2013/11/20/cordova-from-the-trenches-write-once-run-debug-everywhere/)

Co-written by Gian Luca Ortelli and Ashkan Roshanayi.

CrisisAppTrifork was asked to develop a mobile app for crisis management in a “GRIP 1” crisis situation for Dutch municipalities.The users of the app are municipal employees involved during a crisis situation. The app was designed in co-creation with the involved municipal employees. But what is a crisis?

Read the rest of this entry »

Using Android Preferences in a background service

August 12th, 2011 by
(http://blog.trifork.com/2011/08/12/using-android-preferences-in-a-background-service/)

In this post I will explain how I have used the Android Preferences in a background service. The preference is used as an interval for updating a listview with some simple text items.
Read the rest of this entry »

Android basics – Applying some UI patterns

May 6th, 2011 by
(http://blog.trifork.com/2011/05/06/android-basics-applying-some-ui-patterns/)

When I started with my Android application, I had the idea to create a home screen and an action bar just like one of the Android developers described in a blog item. I was really helped by the source code of the Google I/O Schedule app. In this post I will explain how I used several layouts to create my app.

Read the rest of this entry »

Creating an Android app for your website with Spring Android and REST

February 7th, 2011 by
(http://blog.trifork.com/2011/02/07/creating-an-android-app-for-your-website-with-spring-android-and-rest/)

As Android is really hot at the moment (and I have an Android phone), I wanted to create an Android app for my website. In this blog post I will explain the changes I had to make on the part of my web application and how I used Spring Android to interact from Android to my web application.

Read the rest of this entry »

Creating an Android app with Google App Inventor

October 27th, 2010 by
(http://blog.trifork.com/2010/10/27/creating-an-android-app-with-google-app-inventor/)

After a few times filling in the registration form and weeks from waiting, I finally got an invite for Google App Inventor. In this post I will explain how I have tried to rebuild an app that I created before with “normal” programming.

Read the rest of this entry »

Top Free Android Applications

May 19th, 2010 by
(http://blog.trifork.com/2010/05/19/top-free-android-applications/)

Since a week I have the latest Android phone of Sony Ericsson, the X10. As it is my first Android phone, the first thing I did was searching the Android Market for great apps to get the maximum out of my Android system.

In this post I will show you my selection of apps that I found useful, interesting or just fun to have.

Read the rest of this entry »

Exploring the world of Android :: Part 3

October 8th, 2009 by
(http://blog.trifork.com/2009/10/08/exploring-the-world-of-android-part-3/)

In my travels through the world of Android I faced a lot of challenges. Brave as I am, *cough* I conquered each one of them. A few of the challenges include saving activity state, asynchronous tasks, pagination, error handling, context/option menu’s and even drawing custom application/tab icons in Photoshop! Some challenges I already shared with you guys, but there is one challenge in particular I would like to elaborate on this time.

The app I am currently building is getting larger every day, and so is the main Activity class! Because my main activity contains a TabHost with a bunch of tabs, it also contains references to all individual view components contained in those tabs. All kinds of listeners are registered on those components so the activity contains some inner and anonymous classes as well. So you could say that this activity now has way too much responsibility! What I was looking for, is a way to separate the main activity into multiple parts, each with its own clear responsibility.

As it turns out, you can create custom components for a single piece of functionality within an Activity. Exactly what I was looking for!
Read the rest of this entry »

Exploring the world of Android :: Part 2

September 17th, 2009 by
(http://blog.trifork.com/2009/09/17/exploring-the-world-of-android-part-2/)

And I’m back! Reporting live on the glorious adventures in the exciting world of Android. This blog post is the second one in the Android series. This time with code samples! Yeah!

In my first blog post about Android I talked about setting up a project using Android. This time I want to discuss a more “advanced” topic: ListView performance. A ListView is a view component which allows you to display and scroll through a list of items. It can display simple text in each row, but is also able to display a more complicated structure. In the latter case you will need to make sure your ListView still performs well (read: renders fast and scrolls smoothly). I am going to provide solutions to a few different performance problems when using a ListView
Read the rest of this entry »