Sharing data and customizing dialogs in Android

A while ago, I was asked to take over an Android project that was outsourced by an indie freelancer. Despite me having no previous experience with Android programming, I was quite shocked when I received the source code. It’s probably the most unorganized and unstructured piece of code I have ever seen. The whole structure ...

Object Oriented Programming In PHP Part Three – Constructor & Destructor

PHP offers many “special” methods called magic methods. Today I will write about two of them. This is the third part of the Object Oriented Programming in PHP series and, if you haven’t already, I suggest you first read part one and two. The methods we will take a look at today are called constructor ...

Yet another custom Google Picasa API gallery 1

As thousands of other people, I store my photos on the Picasa Web Albums from Google. Why did I choose Google in the first place? Well, the Picasa Web Albums had this easy way to upload pictures via Picasa application, and the first versions of the albums were just complex enough to sort pictures and ...

Drawing chart dynamically with Python and Matplotlib 7

Drawing chart dynamically with Python and Matplotlib
A while back my friend asked me if I could make him a dynamic chart for his thesis presentation. At first I didn’t know which tool I should use, but then a classmate suggested me to try matplot lib. As it turned out, it is quite easy to draw fancy dynamic chart with it … ...

Object Oriented Programming In PHP Part Two – Methods And Visibility 2

In part one of Object Oriented Programming in PHP series I introduced fundamental terms of OOP (class, object and property). Today I will continue with explaining visibility keywords and methods.

My Top 10 Favorite Eclipse Shortcuts

When I first started programming I didn’t realize how important role a good IDE plays. Initially, I just used notepad for a while. Although, I did write only few lines long scripts. After a while I switched to “professional” IDE, but I never tried to explore all of the options it was offering. I was ...

Android class not found exception

Android class not found exception
Currently I am working on some Android project at work. Because the application we are developing communicates with server, we decided to pack common entities in .jar. That way our projects (server and android client) can share it and we avoid unnecessary code duplication. It is much easier to make changes as well as we ...

Object Oriented Programming In PHP Part One – Basics 2

Usually, when people visit some website, they quickly form an opinion about it. They either like it, or they don’t. They find it well structured/organized, neat … or give up in search for a contact form … But nobody knows how good is the code, that is running the site …

Closing the browser window from Wicket

On the project I was working on I stumbled upon a problem that when a user makes a certain action, the browser window needs to close. The internet is full of solutions for closing the browser window via JavaScript. This StackOverflow topic offers a great script example how to achieve the closing of the browser ...