A quick one today.
Does a shell started from an application have the same permissions as a shell started via
adb? What a good question!
When using Gradle I always forget where to look to make sure I’m taking advantage of the latest core and android plugin versions for my project.
An abstract application stack for Android
TL;DR When bitshifting a
byte use a
& 0xFF mask
Dynamo has been superseded by Pilot
How do the MV* ways of thinking relate to Android? Why is this now such a popular way of thinking about Android architecture?
Do you have a go-to approach when writing automated tests on Android?
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 is all he has been trained to do and has a catchy slogan of “need to protect a key, its what I was born to do!”. You install an extra lock on your front door as you feel the bodyguard isn’t enough, this is a rough area anyway and who’s going to make sure no-ones about to break in and steal all your crap. You return to your key guard only to be informed he has thrown the key away. You shout and scream at him but he just blankly says “I don’t have it anymore, I didn’t think it was important”. You can’t contain your anger “What the hell, your a jerk! You had one thing to do and you failed, this causes me a lot of problems, why didn’t you tell me you might do this?! What do I do now?!”
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
What is Robospice?
Edit: This blog post is now deprecated. It was a bit of a brain dump which prompted me to write up my approach starting here
I am writing this post as I am looking into learning a cross-platform mobile game framework. I went to a talk by a Corona guy recently which made me interested in this again so here goes. The more I look into this the more options there seem to be!
Here is a small snippit of how I handle Connectivity within some the applications I work on. A lot of apps dont seem to handle loss of connection correctly IMHO by either not showing a relevant error message or informing the user that there is an issue. Depending on the type of application, especially one that is meant to have a persistant network connection it can be useful to show some form of visual feedback when this is not the case.
I had not heard of John Whitney until a couple of years ago when I was looking around the net for some insiprational old school animations. I didnt think anyone would have been creating these in the 1960’s so was shocked when I came along this. Its very abstract but I find ideas poping into my head when I watch it. Its appearently created using a self-constucted analogue computer which makes use of an WWII anti-aircraft gun site. Enjoy!
My first blog post, exciting times! Maybe a warning is in order - this may be a bit of a ramble but I need to get the ball rolling somehow. I wanted to explain why I chose to call a blog by an Android developer something weird like ‘The Divine Move’. In a nutshell, I find playing Go and writing code put me into the same mind set unlike any other activities (apart from maybe university level Mathematics). I wanted to just briefly explore why this may be and steal a cool Go term in the process (im not the only one).