Qt C++ QTranslator tutorial

qtlanguistIn this (video) tutorial I go through the steps and tools involved in the process of writing international applications with the Qt toolkit.By the end ,you will be able to effectively use lupdate ,lrelease and Qt Languist to write an app that runs in english ,french and chinese!The video can be accessed through the links below: (Youtube and Youku).Continue reading

Android Health App Design : Saving Data in SQLite Database

android_sqliteThe last tutorial left our health android app ,Imirire usable by the user for the first time .Users could select foods , input gram counts and have the total calorie count displayed right away.Did we mention that it was more pleasing to the eye? 😉 ,In this tutorial we are going to improve the model of our application and let it save its data in an SQLite database.Along the way ,we ll discuss some practical tips to go by when debugging database applications on the android platform.Continue reading

Android Health App : Handling User Input

android_imirire_user_input_events_menu_displayedThe last turorial in this series left us with a pretty user interface that is dumb in one way : it didn’t handle user input ,in other words we want the calorie total count to be constantly updated as users input grams in EditTexts for chosen foods.We are going to change that in this tutorial.We will also look at how ridiculously easy it is to add menus to your apps so the user can perfrom other stuff on your app.Let’s get our hands dirty making our app better.Continue reading

Android Health App Design : User Interface Made Beautiful

android_imirire_add_foodsThe previous tutorial of our series left imirire list view showing up nice and clean but it is no secret it looks awful .In this article we are going to fix that.In that regard ,we modify the text display to resemble a calculator display screen ,change the lists items so they fill up the width of the screen and fill our model with more realistic data the user can work with.Lets just jump right in.Continue reading

Android ,Working with Fragments.

android_proud_iconIf you know what an activity is in android ,then you have probably crossed paths with the Fragment concept.The android documentation defines it as a behavior or a portion of user interface in an Activity .It is a stripped down version of an activity that can handle its own lifecycle events but that still needs an activity to host it.I have found a lot of examples that explain how to use fragments but none was focused enough to cover the features I need the most like static fragmentsContinue reading

Android health app Design , building the ListView with Model View Controller Pattern

MVCIn a previous tutorial ,we created the Android Studio project for our app but we really didn’t do anything fun and interesting.This is where the fun begins as they say.We are going to add a list view to our app ,following the Model View Controller Design Pattern ,we are going to wire the list view to our internal model so our app is flexible from the developer’s perspective,in this regard Adapters and ViewHolders are introduced.Along the way we will discuss some design choices we make to make our app the best Calorie Counter app the earth has ever seen… 😉 ,lets get going.Continue reading

Android health App Design ,First Steps.

android_studioIn a previous tutorial ,we laid out the design goals for our health android app called RyaNeza.Some people suggested that the name looks ugly on their android screens so I changed the name to Imirire( a noun meaning approximately the act of eating in Kinyarwanda) .This tutorial is about action .We are going to create the project ,get a feel of what is available in Android Studio and explore the optionsContinue reading

How to install ejabberd with os specific package(.deb)

ejabberd-xmpp-logoIn a previous tutorial we showed how to install ejabberd from source code wich is rather involved process but also flexible.In this tutorial we show a less complicated way to get your ejabberd instance up and running.

This will work for you only if processOne or someone has already provided packages for the operating system flavour you are using.The ProcessOne installation page states that they provide both RPM and DEB packages respectively for RedHat and Debian based systems.Continue reading

How to Install ejabberd from source code on linux ubuntu

ejabberd-xmpp-logoejabberd is an XMPP application server powering a good number of instant messaging applications out there.In this post we are going to learn how to install it on a unix based operating system.I will cover ubuntu14.04,but the steps should work on all systems with little or no modifications.

While installing any piece of software ,it is always a good idea to check what the official documentation has to say ,processOne has a good page covering how to install ejabberd.In this tutorial we are going to install from the source code as I find this option most flexible(it is also the most complicated).Continue reading

How to Build Software from the sources

Building software form sources is the process of compiling the source code so you can get the final executable file your users can run and enjoy .In this series of tutorials we attempt to cover how it is done form a practical point of view .Along the way we show the tools ,tips and tricks one uses to get the job done.Also we make sure that the code you compile works both on Linux and Windows.Continue reading