Author: Dawid

MVVM with Android - this is exciting!

This is one of the best things I've seen on Android in a long time: MVVM architecture. Of course, Android platform doesn't support it, but there is hope! RoboBinding. OK, the spec perhaps isn't the best, but the idea is great! Finally This is how simple it is with Android Studio:

Activity code:

Continue Reading

Using ng-class with Select

Today, I wanted to bind value from a select to a span. Depending on the value selected the colour of the label was supposed to be different. Using AngularJS, I introduced ng-class="". It allows you to change classes conditionally. This is an example:

Continue Reading

Opening Binary File from the Server using jQuery

Reading binary files in jQuery isn't particulary hard. There are two things really that we have to do. The first one is change the dataType to binary and the second one is setting the processsData to false.

Continue Reading

What's the difference between col-md-x, col-xs-x, col-sm-x, col-lg-x?

Getting your head around the grid structure for Bootstrap can be challenging at times. But not to worry! We shall prevail! The grid in Bootstrap is divided into 12 chunks. In short, I'd like to think about this as a how big the column is depending on the screen size: col-xs-x - phone col-sm-x -

Continue Reading

Why SEO Matters?

We are frequently asked why SEO matter and why is it such a big deal. The anwser is simple: no SEO no visitors. I am not kidding now. This is really the hard truth. Over the past 25 years, internet became increadibly big. There are hundreds and hundreds of websites being created every day. How

Continue Reading

Publishing WCF Web Service on IIS

Today, I will show you how to to publish WCF Web Service on IIS. I assume your have a working version of your WCF on IIS Express and you want to "publish" it. Step 1 - Install IIS Go to: Control Panel Programs and Features Turn Windows Features On and Off There are 4 things

Continue Reading

Defining your actions in XML makes your code that much cleaner

This is a nice hack when developing apps in Android (similar to JavaFX) - define the on click events in XML:

In the Activity, we can specify the method:

This is much cleaner than:

Continue Reading

Logging information in Android Apps

Being a bit of a reliability freak, I really enjoy knowing what's going on in my app. How it moves from one line of code to the next. Verbose The word "verbose" literally means more words than necessary. This mode usually show how the program's flow control.

Debug Debugging has the next level in

Continue Reading

Adding Info Dialog to Android App

This is how simple adding a dialogue is to Android:

Continue Reading

Image FadeOut Animation

Today, I decided to play around with WPF a little bit. I created a simple App for animating a logo

Continue Reading