Skip to main content

Posts

Showing posts from October, 2013

Automatically scale image to fit all Android screen types

If you're new to Android development, you will learn that, for each image resource you want to use (for a button for example), you need to provide it scaled to fit all screen resolution. A little bit complicated in fact.

So, take this online tool. It will ask your to which screen your image fits and then adapt it to all other.

http://android-ui-utils.googlecode.com/hg/asset-studio/dist/nine-patches.html

I hope Google with simplify the process and let the IDE do that behind the scene.

Manual installation of SVN connector with Subversive for Eclipse and SpringSource Tools Suite

In the last installation of STS I made, when I had the support of SVN by installing Subversive (from Menu > Help > Install New Software), Eclipse (Kepler) didn't ask me for the SVN connector I wanted to use. In this kind of situation, I discovered that it's possible to install it from an update site provided by Polarion.

So, go to to Polarion, and check out the url from the Download section. Here is the one I used :

http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/

Then you can install your SVN connector (for me, it's always SVNKit which is a pure Java implementation connector).