Powered By:
Android Advice
 

Archive for October, 2010

Cant Create Handler Inside Thread That Has Not Called Looper Prepare in Android

October 30, 2010

Problem: Android raises an exception which reads “Can’t create handler inside thread that has not called Looper prepare in Android”, when trying to initialise an object that accepts a Listner as one of the parameters (The Listner is the “handler” referred to in the exception). This usually occurs in a Thread which is not the [...]

Tags: , , , , , ,
Posted in Android, Problem-Cause-Solution, Programming 12 Comments »

Best Free Windows Multi Desktop Application

October 29, 2010

I have tried many multi-desktop applications for windows but none have come close to this one. It uses under 2mb of memory (has no memory leaks!) and is as responsive as the linux versions. It does not have 3D cube-like support but if you looking at using this for productivity and not novelty reasons, it [...]

Tags: , , , ,
Posted in Worthy Links No Comments »

How to Hit a Url with Python in One Line and Read the Response

October 28, 2010

What I love about the Python programming language (see http://www.python.org) is how minimalistic it is. Below is an example of how to hit a URL and read the response (i.e. the html code that makes up the page) into a variable, in one line (two if you include the import line): import urllib2 response = [...]

Tags: , ,
Posted in Programming, Python 3 Comments »