Hi! I'm a passionate software engineer from South Africa. I've been developing software professionally for over 5 years, focusing mainly on the Java language. Join me on my quest to learn new things in a fun way.
Android
Get link
Facebook
X
Pinterest
Email
Other Apps
I like to dabble in android development from time to time. I've got a few applications published on the Play Store. Please check it out if you have a few minutes :)
As a developer, one is used to seeing code snippets formatted in a specific way. Eg: public class FormatCodeClass{ { public void showFormattedMethod() { System.out.println("Yay"); } } Fortunately, most websites that support these snippets use some kind of library that can be used to render this easily. The one that I use on my blog is called Google Pretty Print. I'll be explaining how to integrate this into your website/Blogger. Step 1) Add the library to your HTML above the <body> tag Click on Themes, then on Edit HTML. Search for the <body> tag and copy <script src='https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js'/> above it. Step 2) Add in your preferred CSS above the </head> tag <!--Desert theme--> <style type='text/css'>pre .atn,pre .kwd,pre .tag{font-weight:700}pre.prettyprint{display:block;background-color:#333}pre .nocode{background-color:none;color:...
Multi-tasking is something that is part of our daily lives. We watch TV while we eat. We converse while making food. We listen to the radio while driving. Harmless enough right? Then why is multi-tasking at work such a productivity killer? Context switching is form of multi-tasking where you'll stop working on a task in lieu of another. This is most commonly due to external factors which can vary from a simple phone call or email all the way to changing of requirement priorities. The thing that we usually don't realize is how much time is actually wasted when jumping from task to task. Ever have the thought "now where was I again?" after finishing a conversation or an email reply?. This is the silent killer that I'm talking about. There is usually an amount of time lost trying to get back into the mindset or rhythm of the previous task. The place where I've noticed that is most heavily affected by context switching is the Support Desk. The pro...
Hello there travellers. It's been quite a while since my last post (and update to my app!). Looking back these last 5 months, I feel like what I've been doing can be summarized into 2 things. Minecraft and K-Drama's! I couldn't get enough of both of them, which put my android learning experience on a bit of a hiatus unfortunately. But, no more! My hunger to dabble in Android development has resurfaced. And to satiate that hunger, I decided to push out new update to my Would You Rather Kids android app. The goal I set for this update is to allow users to choose their own theme. In order to render my theme selection activity, I used a combination of GridLayout, CardView and ImageView (along with a ScrollView of course). The structure looked as follows: <ScrollView> <android.support.v7.widget.GridLayout> <android.support.v7.widget.CardView> <ImageView/> </android.support.v7.widget.CardView> <android.support.v7.widge...
Comments
Post a Comment