Quantcast
Channel: Carl-Emil Kjellstrand – blog.
Browsing all 20 articles
Browse latest View live

Volley, networking for android.

This post is outdated and I urge you to go have a look at the official google training material instead. Most projects I have worked on needed some sort of network engine, and in most cases we […]

View Article


Debugging a sqlite database on you android device.

I found this tool, aSqliteManager. It’s not the only tool/app of it’s kind, there are a few similar looking tools. It’s basically a database browser that runs on you android device. So what use is...

View Article


Image caching with volley

This post is outdated and I urge you to go have a look at the official google training material instead. When using Volley you will run into the common problem of trying to cache images pretty soon, or...

View Article

ViewHolder vs HolderView

Adapters and recycling The reason for having a ViewHolder or HolderView is to improve performance of AdapterViews. Adapters used by AdapterViews recycles the views that the AdapterView is using to...

View Article

Renderscript on Android – basics

With Renderscript for Android there are three parts, two that you need to implement yourself, one in Java and one in c99, and then there is a generated api that binds the other two […]

View Article


Android and Renderscript intrinsics

Intrinsics are renderscripts shipped with the platform, designed for some common image processing tasks. I will use an example from a real application where we wanted a few different things to happen...

View Article

Pros and Cons of some Android frameworks

This post is a summary of first impressions of a few android related frameworks that we (the Android team at Jayway) tried out during a competences session recently. Spring for Android “Spring for...

View Article

RecyclerView and Databinding

The new DataBinding api is pretty easy to use for most simple bindings. When binding to a view that lives in a RecyclerView or other Adapter dependent View you need to stop and think […] The post...

View Article


RxJava and Android examples

Some simple examples of what you can do with RxJava in Android. We will assume that our examples lives in the onCreate method of an Activity in a Android app for now. We will […] The post RxJava and...

View Article


RxJava, Retrofit and Databindings on Android

In this post I will showcase how you can combine RxJava, Retrofit and Android Databindings to do a simple lookup of country from a country code. The goal here is to avoid the very […] The post RxJava,...

View Article

Renderscript on Android – basics

With Renderscript for Android there are three parts, two that you need to implement yourself, one in Java and one in c99, and then there is a generated api that binds the other two parts togeather. The...

View Article

Android and Renderscript intrinsics

Intrinsics are renderscripts shipped with the platform, designed for some common image processing tasks. I will use an example from a real application where we wanted a few different things to happen...

View Article

Pros and Cons of some Android frameworks

This post is a summary of first impressions of a few android related frameworks that we (the Android team at Jayway) tried out during a competences session recently. Spring for Android “Spring for...

View Article


RecyclerView and Databinding

The new DataBinding api is pretty easy to use for most simple bindings. When binding to a view that lives in a RecyclerView or other Adapter dependent View you need to stop and think a bit to get it...

View Article

RxJava and Android examples

Some simple examples of what you can do with RxJava in Android. We will assume that our examples lives in the onCreate method of an Activity in a Android app for now. We will also assume there is a...

View Article


RxJava, Retrofit and Databindings on Android

In this post I will showcase how you can combine RxJava, Retrofit and Android Databindings to do a simple lookup of country from a country code. The goal here is to avoid the very bloated...

View Article

Droidcon 2016 in London

Bringing in names like Noah Falstein, Chet Haase and Nick Butcher I knew I was in for a treat going to Droidcon in London. Just a week before going to London I bought “Day of the Tentacle Remastered”...

View Article


Input validation in Android

I was trying to enforce a input format and then validate the input data before submitting it in a post to our api. In the code samples below I’m using a Rx Observer “idValidObs” that observes a...

View Article

Retrofit and auto relogin on a 401 response

One day while sitting at my desk minding my own code I suddenly found myself under siege by a evil api that only allowed my Set-Cookie header to live for 5 minutes. Since I consider myself to be a...

View Article

A picture on the wall

When I decided to leave jayway I wanted to leave something behind, I opted for a picture on the wall of some of my colleagues. Unfortunately I didn’t manage to get everyone in the picture, due to...

View Article
Browsing all 20 articles
Browse latest View live