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

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 latest articles
Browse All 20 View Live




Latest Images