Just recently I’ve been to a few talks about Kotlin and been reading up about Android Architectural Components. I’ve also had an idea for a really basic app playing around in my mind for a while, so it seems a perfect opportunity to kill two birds with one stone. I’ve already had a play with LiveData / ViewModel, updating the Big Nerd Ranch Quiz, which went really well. For this project, I’m also going to . . .
On iOS devices within accessibility section of general settings you can change the text size, making it (much) larger or smaller. I hadn’t come across this before, but to get your application to work with the user’s settings you use ‘Dynamic Type’. These are “UIFontTextStyle” elements which will automatically size around the user’s text size setting. The settings available and their relative sizes are: Large Title – 44pt Title 1 – 38pt Title 2 – . . .
We recently encountered a bug when migrating an android application from Eclipse to Android Studio. As a part of this migration, the reference to SQLCipher version was updated from a really old (several years old) version to 3.5.4. After the migration, for existing users, the application was falling over and using the log (below) we identified it was failing when trying to use the new version of SQLCipher to open a database that had been . . .
I’m definitely getting back into Android development, I’m remembering that feeling of ‘Surely this should be easier than this!’. All I wanted to do was to schedule a local notification which behaved similarly to a push notification pop-up. That is, as well as showing the small icon in the status bar I wanted it to pop up on screen to notify the end-user. All seems fairly easily, I found this code for how to schedule . . .
A recent discussion at work made me realise that over the past few years learning Android development I’ve managed to build a short but very useful list of links for starting out. Not a really detailed post this time around, but hopefully these links help at least one person, let me know! Development environment: We started out using Eclipse, but now feel that there is only one IDE to learn, Android Studio 2.x How to . . .
Today we were updating our Apple push notification certificate as it was due to expire (why do they only last a year). We’ve done this many times before and know the process well; but for some reason, today after deploying the updated certificate every call to create the PushSharp instance returned the following error: The specified network password is not correct We went through the standard process of repeating the creation/deployment of the certificate, then . . .
After learning both iOS and Android development about 18 months ago we’ve not really had many enhancements needed in our mobile applications, with any changes just needing our existing knowledge. In reality, this has probably meant my knowledge has actually decayed; which is a shame given the challenge of initially learning mobile development we went through. To try and remedy this; as a side project, I’m looking to rebuild our existing application from scratch with . . .
I’ve had this happen a couple of times now and the first time was a little worrying that I’d bricked my iPhone. Basically I was running an application on my phone via XCode and when rebuilding an updated version it failed with a “busy” error message. Stopping XCode and un-connecting my phone had no effect, the phone was stuck displaying the loading screen of the application and wouldn’t respond to any key commands. To fix . . .