Monthly Archives: August 2011

Cant download large apps from Android Market

If you are running a rooted Android phone and have problems with downloading large apps from the Android market, one fix can be to move the market download folder over to the SD-card, install a terminal emulator and perform the … Continue reading

Posted in Mobile & Gadgets | Tagged , | 3 Comments

Java: Converting long to double

While Integers has to be parsed from a String, doubles can simply be casted: String bar = "9.99"; Double foo = (double)bar;

Posted in Development, Java | Tagged , | Leave a comment

EXT GWT: Adding onClick to Labels

I had a issue where i needed to add a click handler for labels in EXT GWT, the solution i came up with was as follows theLabel.addListener(Events.OnClick, new Listener() { @Override public void handleEvent(BaseEvent be) { // TODO Auto-generated method … Continue reading

Posted in Java | Tagged , , , | Leave a comment

Guice: java.lang.IllegalStateException: No SessionHandler or SessionManager

One reason for this error would be that you should inject the session object directly, not via constructor: So instead of: @Singleton public class Foo {   @Inject public Foo(HttpServletSession s) { this.session = s  } } do this: @Singleton … Continue reading

Posted in Java | Tagged , | 1 Comment

Expanding a kVM disk image

Had to expand a KVM virtual machine today. Luckily, that`s pretty straight forward. You simply create a new disk image with the extra size needed, merge it into the original disk and voila. Then you just need to partition in … Continue reading

Posted in Hardware, Linux, Software | Tagged , , , | Leave a comment

Cannot open exchanger control device ([2] The system cannot find the file specified)

You will receive this error from (among others) Data Protector if the D2D/Tape unit has gone offline, or is not reachable from the machine controlling it. Normally the Data Protector cell manager. In Windows 2008 server you can make sure that Windows is … Continue reading

Posted in Hardware | Tagged , , , | Leave a comment