Profile

Cover photo
Dorian Cussen
Attended University of Sussex
Lives in Cardiff, United Kingdom
96 followers|92,276 views
AboutPostsPhotosYouTubeReviews

Stream

Dorian Cussen

Shared publicly  - 
 
Android Architecture: Introducing Dynamo #android #androiddev
Welcome, welcome. Come in, it looks mighty cold out there. The code is laying heavy across the hills, disorder rules the day and the nights are long. We yearn for a day where the suns shines forth once more.
1
Add a comment...

Dorian Cussen

Shared publicly  - 
 
Android Testing: A Rough Guide
Do you have a go-to approach when writing automated tests on Android? Every project I work on has a different testing strategy, and each time I learn something new along the way. This post is a rough outline of my approaches to automated testing on Android ...
Do you have a go-to approach when writing automated tests on Android? Every project I work on has a different testing strategy, and each time I learn something new along the way. This post is a rough outline of my approaches ...
1
Add a comment...

Dorian Cussen

Shared publicly  - 
 
This is a quick little note as I forget how to easily setup an enviroment which allows me to use Retrofit to interface with a remote API and easily swap out the API implementation when testing to swap in canned responses from...
1
Add a comment...

Dorian Cussen

Shared publicly  - 
 
Android App Architecture: Lifecycle Events and Asynchronicity
Right, I have been developing Android apps for a long time now, 5 years ago this month in fact, and one thing has always bugged me; how to make the Android lifecycle play nice with the inherent asyncrhonicity that comes with the average mobile app. Asynchro...
Right, I have been developing Android apps for a long time now, 5 years ago this month in fact, and one thing has always bugged me; how to make the Android lifecycle play nice with the inherent asyncrhonicity that comes with ...
4
Add a comment...

Dorian Cussen

Shared publicly  - 
An Overview to sizing in Points TL;DR The ‘Point’ unit of measurement has more than one value. Apple use their own point unit terminology. Android has a more complicated and powerful concept of density-independence. If using ...
1
Add a comment...

Dorian Cussen

Shared publicly  - 
 
 
Vault: an advanced Storage Access Framework example

Recently, I’ve been working on the new Android Storage Access Framework which introduces an abstraction layer between apps that work with files and apps that can store those files. This is powerful because apps like QuickOffice can now use simple intents to open and save documents using any storage app that implements a DocumentsProvider.  The DocumentsProvider API is designed to support a wide range of storage types, including cloud storage, physical media, etc.

https://developer.android.com/guide/topics/providers/document-provider.html

As an advanced DocumentsProvider example, I wrote “Vault” which encrypts all files that a user saves inside.  It keeps data encrypted with AES-128 while at rest, and uses Unix pipes to encrypt/decrypt data on the fly.  It protects the encryption key by wrapping it using a hardware-backed KeyStore, if available.  It also uses a new feature of ParcelFileDescriptor to detect when a remote process has encountered an error or crashed, indicating that any partially written data should be ignored and rolled back.

https://android.googlesource.com/platform/development/+/master/samples/Vault/

Hopefully this advanced example is helpful as you look at implementing your own DocumentsProvider.  :)
6 comments on original post
1
Add a comment...

Dorian Cussen

Shared publicly  - 
 
 
The correct way to read "Java: Concurrency In Practice."
27 comments on original post
1
Add a comment...
Have him in circles
96 people
Beautiful Horses's profile photo
Joe Ryan's profile photo
Ollie Cornes's profile photo
Jonathan Attree's profile photo
Video Game Fest's profile photo
Andy Barber's profile photo
George Medve's profile photo
Rich Hodgkins's profile photo
Leonard Da Costa's profile photo

Dorian Cussen

Shared publicly  - 
 
This blog is deprecated
I have migrated this blog to github, please check it out at doridori.github.io and feel free to update your RSS :)
I have migrated this blog to github, please check it out at doridori.github.io and feel free to update your RSS :)
1
Add a comment...

Dorian Cussen

Shared publicly  - 
 
Android Security: The Forgetful Keystore
You’ve just moved in to a new house and have been given the master key for the front door. You only have one of these so you know you need to keep it safe. Your really paranoid so you hire an armed guard, whose sole job is to protect this key, in fact, this...
You’ve just moved in to a new house and have been given the master key for the front door. You only have one of these so you know you need to keep it safe. Your really paranoid so you hire an armed guard, whose sole job is to...
2
Add a comment...

Dorian Cussen

Shared publicly  - 
 
Android Testing with Dagger, Retrofit & MockWebServer
This is a quick little note as I forget how to easily setup an enviroment which allows me the use Retrofit to interface with a remote API and easily swap out the API implementation when testing to swap in canned responses from MockWebServer or Mockito I ima...
This is a quick little note as I forget how to easily setup an enviroment which allows me the use Retrofit to interface with a remote API and easily swap out the API implementation when testing to swap in canned responses fro...
1
Add a comment...

Dorian Cussen

Shared publicly  - 
 
**
Using Robospice and OkHttp on Android What is Robospice Taken from the projects Github RoboSpice is a modular android library that makes writing asynchronous long running tasks easy. It is specialized in network requests, supports caching and offers REST re...
Using Robospice and OkHttp on Android What is Robospice Taken from the projects Github RoboSpice is a modular android library that makes writing asynchronous long running tasks easy. It is specialized in network requests, s...
1
Add a comment...

Dorian Cussen

Shared publicly  - 
 
 
A guide to understanding us engineers.

[edit: I forgot to add an important one:
Working as intended = Reality is wrong, and has to be fixed to match the output of the code]
93 comments on original post
1
1
Kieran Moore's profile photo
Add a comment...
People
Have him in circles
96 people
Beautiful Horses's profile photo
Joe Ryan's profile photo
Ollie Cornes's profile photo
Jonathan Attree's profile photo
Video Game Fest's profile photo
Andy Barber's profile photo
George Medve's profile photo
Rich Hodgkins's profile photo
Leonard Da Costa's profile photo
Work
Occupation
Android dev
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Cardiff, United Kingdom
Links
Contributor to
Story
Tagline
Android developer living in Cardiff
Introduction
Im an Android dev living in Cardiff - the capital of fantastic Wales!!!!
Education
  • University of Sussex
    Computer Science & Music
Basic Information
Gender
Male
Apps with Google+ Sign-in
Fantastic, lovely people and instant service! 5 stars isnt enough
Public - 2 months ago
reviewed 2 months ago
Nice! Most places closed in Feb along the seafront so wondered in here. Lovely food and chilled out, nice relaxing music. ++
Public - a year ago
reviewed a year ago
Sat outside in the back beer garden and had amazing food (and great dessert!). More than standard pub food. Great view from the raised tables out the back. Food better that most pubs anywhere. You wouldn't be able to tell from looking at the front that the food would be so good! Nice friendly staff as well :)
Public - a year ago
reviewed a year ago
Really friendly staff and very nice haddock finger sandwich! Very nice inside.
Food: ExcellentDecor: ExcellentService: Excellent
Public - a year ago
reviewed a year ago
13 reviews
Map
Map
Map
We also drive from Cardiff and he is a natural with the animals :)
Public - a year ago
reviewed a year ago
Stayed in B&B - Excellent - very friendly - great breakfast - clean quiet room - very comfy bed!! Great as right next to Port Eynon and Horton for surfing also and not far from Llangennith! Will stay again
Public - a year ago
reviewed a year ago
Have always been very friendly and helpful - used when relocating to london. We had issues with our landlord and they sorted out quickly - much better than others (ie. foxtons!)
Public - a year ago
reviewed a year ago