Notification implementation for Android

Implementing notifications in Android is simple enough to do. Notifications give your app more richness and you can display messages or other information, even a couple tasks/buttons. Here’s a very simple notification implementation that consists of simple text and an icon. You can also add action buttons to your notifications, see here: http://www.vogella.com/tutorials/AndroidNotifications/article.html#example-notificationmanager

Some popular programming questions for technical interviews

I realize that many including myself constantly practice programming questions and algorithms for technical interviews. There’s lots of ways to practice, but one book in particular has helped a lot. I will share some popular technical interview questions from “Cracking The Coding Interview“. Jump to section: Data Structures     Concepts and Algorithms    …

Why Is Python Slow?

Originally posted on PERPETUAL ENIGMA:
When people talk about speed in the world of programming languages, they usually center the discussion around compiled vs interpreted languages. In this post, we will discuss two of the most famous languages on this planet, Python and C. I was recently playing around with this and I made a…

Functors In C++

Originally posted on PERPETUAL ENIGMA:
When you look at the word “functor”, the first thing that comes to mind is that it looks very similar to “function”. The word actually comes from a field called category theory, which is an abstract branch of mathematics. A category basically consists of objects that are linked to each…

How to obtain current location with Android (Java)

Suppose in your app you would like to obtain the current location of the device. In other words, obtaining stuff like latitude, longitude, and city. Its very simple to do so with Android. You’ll first need to import… To obtain the latitude and longitude To obtain the city Lastly, if you wanted to be even…