author profile image

Matt Reid

Solo Entrepreneur | Lead Software Architect

If you have a listview and the elements get a black background when scrolling, cachecolorhint  is your saviour. Just add the following to the listview xml file android:cacheColorHint="#00000000" Here is an explanation. Matt  

I have changed my post editor to use CLEditorrather than WMeditor which had some problems when editing a post. One feature which is obviosuly really important to me is to be able to include code in pre blocks. Luckily I found this plugin at github which makes it easy to include this...

I have been working on a Spring MVC web app that needed to accept a multi-part file upload (an excel file in this case). There are plenty of examples of handling file uploads with Spring but I couldn’t find a concrete example for a web app that was using a...

I recently found myself needing to embed a velocity template in a project that was being bundled with the web app that I was developing, this meant that the template file would only be accessible from inside a jar file. I found this blog Apache Velocity - How to load...

I am working on my latest codefish android app which utilises Jsch to send files over SFTP. I couldn’t find a complete example of creating an SFTP connection using a password so I thought I’d post one. Here is the code: ``` {.js name=”code”} import java.io.File; import java.util.Properties; import java.util.Vector;...