Tutorial: PIN input view in Android

Hi, guys!

Today’s post will be about PIN-like view in Android. I’m sure that many Android developers would like to have it by default, me included. And so I wanted to show you how I handled the problem caused by lack of such view. But first, how should it look like? Well, it should like an input field where every character has it’s own box and while typing, characters should automatically populate those boxes. Sounds pretty easy, isn’t it? But later, when you think about all of the aspects, you will realize it’s not that simple at all…

First, I wanted to mention that this particular example is for text passwords (or text pin). The code for just numerical PIN view would be much easier. But it wasn’t the case with the app I was writing and I definitely needed the default keyboard. Because I could change my soft keyboard from text to numerical at any point of typing, I couldn’t have a collection of EditTexts because switching from one to another would have changed a keyboard either to text or numerical and I didn’t want that.
Continue reading Tutorial: PIN input view in Android

Android Color Picker library

Hi, everybody!

Today I wanted to share a very good news with you. I have finally finished implementing changes to my fork of android-color-picker library. It is on github already, so feel free to Watch & Star 😉

Color Picker screenshotAs written in README, this is just a small library for very intuitive and interactive color picking. Why should you use my fork and not the original library? Well, with Android 3+ came the era of fragments and you should use fragments for better UX and device compatibility.
Continue reading Android Color Picker library

Making AndroidAnnotations work in IntelliJ IDEA 12

Hi, everybody!

Today I gonna write a tutorial on how to add the AndroidAnnotations library to your project in IntelliJ IDEA 12 (more specifically in IntelliJ IDEA 12.1.3).

Actually I was struggling a few hours before I made it work for the first time. And although there are quite a few posts about AndroidAnnotations + Intellij integration, still not all things were covered in those posts and so I felt a need to share my knowledge. I really hope it will help somebody 😉

OK, let’s get started! I presume you already have Intellij IDEA installed. If not, get it done!
We will need an Android project to test the annotations, so you need to create one. It can be a Hello world! or something like that 😉
Continue reading Making AndroidAnnotations work in IntelliJ IDEA 12

try jQuery course!

Hi, everybody!

I wanted to share an amazing web page with you! It is actually a whole course which learns the basics of jQuery. You learn by watching videos and then doing interactive exercises. I must say that this course if for absolute beginners in jQuery though you must know HTML and CSS at least a bit.

This is the address of this course – http://try.jquery.com/

The starting page looks like this:

try jQuery course

Your progress is 0 and you haven’t earned any badges yet but hey, they are easy to earn! 😉 Even if you’ve lost there will be hints available!

Continue reading try jQuery course!