How To Create Custom Dialog In Android With Validation


Let’s learn how to create custom dialog in android and while we are at it, let us also do simple validation of the data the user entered before clicking the OK button! What is an alert dialog in android? It is a small window that asks a user to make a decision or enter more information in an app. You have probably seen a lot of them if you have used android apps in your smartphone. Anyway, the reason why I am showing you how to create custom dialog is because sometimes you may wish to have a different looking dialog box than what comes with your sdk and more importantly, you may wish to validate the data – without using your own custom dialog, it can be tricky …but not anymore! Let us take a look!

How To Communicate Between Fragments and Activities in Android


Welcome to: how to communicate between fragments and activities in your android applications. If you have not done so already, please check out my previous post on dynamic layout design using weights and fragments that I wrote yesterday! In the above linked post, I briefly talk about how to solve the problem of dealing with different device sizes by letting the android system adjust accordingly! In today’s post, we are going to take a quick look at how fragments can communicate back to the activity – basically how they can call back and forth to pass information when needed. Also, if you ever use fragments, you should always avoid trying to let fragments communicate with one another – it is a bad idea (will explain this later).

How To Use Android Fragments And Weights To Create Dynamic Layouts


Let’s learn how to use android fragments and weights in this post – which is part of a series am doing!  If you have done anything in android development, you must have certainly run into a situation where you have to deal with different size devices and trust me, it is a piece of work. Just getting all the images to look right is a pain if you don’t have the right tools. With that being said, today I would like to share with you some of the tips I have learned over the months that I have been doing android development. Let us get to it!

What Is The Secret of Happiness And Success In Life?


What is the secret of happiness and life? Is it having the coolest friends in the world? Is it living in a beautiful home or focusing on being healthy? You probably know that there is more to it than what I just listed above.

Sometimes I ask myself endless questions like; why do I get up and drive to work everyday? Why do I get so annoyed by careless drivers every time they cut me in traffic? Why do I feel like I don’t make enough money? Why am I driving an old Honda when everyone else on the right, left, front and behind me on the highway seems to be driving brand new cars? Here is the thing, I don’t feel like that anymore and I have discovered the secret to happiness and I am going to share with you today!

ADB Not Responding Wait or Kill Server Manually – The Solution


“Adb not responding. you can wait more or kill adb process manually and click ‘restart’” - this is the error message I got after installing Intellij 13 and a clean Ubuntu 13 on my machine. I used to run Windows 8 but I decided to switch everything to Linux. I looked everywhere – and saying I was annoyed is an understatement. To worsen things, I am a little under the weather today (sick). Anyway, I eventually was able to fix this problem after hours and hours of trying. This is how I felt when I couldn’t find the solution:

And The Android Tablet Winner Is ……..(Announced Today)


I have been planning to announce the winner of the Free Android Tablet I announced two weeks or so ago in a previous post. The good news is that I will do so today in this post and it could be you! It took me a while to decide on who the winner was, not because it was necessarily hard but because of time – working Monday – Friday every week leaves me with weekends to do other stuff (like writing blog posts and projects). Anyway, here we are and it is time to see who the winner is.

winandroidtablet And The Android Tablet Winner Is ........(Announced Today)

How To Design Android Apps – a Simple Example


Let’s Learn how to design android apps in this post. Before we go any farther, I would like to warn you that I am not a designer by trade but I am learning these skills each day. In fact, I will admit that am terrible with colors (don’t expect over the top results from me as far as colors are concerned). Anyway, I like showing people what the final product looks like before I explain how to create it – this is because it helps those learning to have the picture in their memory and of course it is exciting that way. Let us get to it.

How To Fix ‘The System Running In Low Graphics Mode’ Error (Linux)


“Your System running in low graphics mode.” Yeah, you have been served son! Today was one of those dark days for me. I was feeling tired after a few hours on the computer configuring some stuff – particularly LAMP (Linux, Apache, MySQL and Perl) tools. I did this because I am planning to create some APIs for a project! So, I just let my laptop go to sleep and when I came back it was OFF. What the heck? I asked myself and tried turning it ON to the shock of my eyes. This is what surprised me;

Win a Free Android Tablet For Testing Your Apps


Win a FREE android 7 inch tablet and use it to test your android applications before publishing them! Yeah, I am not kidding here pal, you could be a winner of a new android tablet. Everything is on me. It comes with a charger and a USB cord for debugging your badass applications.  Here is the tablet am talking about!

winandroidtablet Win a Free Android Tablet For Testing Your Apps

How To Win a Free Android Tablet

You are probably asking; what are the rules here mr grasshopper? Nothing much really. Just to keep this fair and civil, here are the contest rules:

How To Build Android Apps Using Google Maps API


You wanna build an android app using Android Google Maps API? If you answered yes, stick around. I have something good for you. At the end of this post, you can checkout my repository for the source code for this simple android app unnecessarily named “KENYAPP”. Well, it is an app about Kenya. You can change the name to what you want. Also change the coordinates to your own country.

Android Google Maps API Demo App End Product

homepage How To Build Android Apps Using Google Maps API

As you can see, on the left of the top part is  a list of Provinces and on the right hand side is a map with a marker on it. Below the map are several things;