Showing posts from November, 2013

Prevent localization warning on a string in Android

Lint might warn you that some resources are not localized. Sometimes you need to put a string in a resource so that it can be referenced from another xml and read from code without duplicating the string value (error prone). You want also to make sure that this string will not be localized. An example I use sometimes is to put dummy key string in a preference activity

A good reference is here:
According to the doc, this is all you need:

<string name="app_homeurl" translatable="false">http://my/app/home.html</string>
According to Android translation service there is also a way to mark a whole string or a part of a string not translatable (

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <!-- Example placeholder for a for a URL --> <string name="app_homeurl">   Visit <xl…

Install Maven 3.1.1 on Ubuntu 13.10

AppEngine requires Maven 3.1 while ubuntu 13.10 is stuck at 3.0.4

$ mvn -v Apache Maven 3.0.4 Maven home: /usr/share/maven
'which mvn' gives '/usr/bin/mvn'
Fortunately /usr/local/bin is before in the path variable and this is where I put all the symlink I need

Download the latest maven from installed it here /opt/apps/apache-maven-3.1.1/binAdd a symlink sudo ln -s '/mnt/ssd/apps/apache-maven-3.1.1/bin/mvn' /usr/local/bin/mvnI add to start a new console to check mvn version on the command line$ mvn -v Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 17:22:22+0200) Maven home: /opt/apps/apache-maven-3.1.1

Epson Aculaser 1750 on Windows 8

Epson does not provide driver for Windows 8.x 64bits.
As I did for Ubuntu (, the Xerox Phaser 6000B has similar characteristics. So I managed to find a proper driver here:

direct download

Once I installed the driver, I force to select manually the driver for the printer, choosing Xerox Phaser 6000B and then renaming the printer to Aculaser 1750N for convenience