Posts

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:  http://tools.android.com/recent/non-translatablestrings 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 ( http://developer.android.com/distribute/googleplay/publish/localizing.html ) <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <!-- Example placeholder for a for a URL --> <string name="app_homeurl">

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  http://maven.apache.org/download.cgi I installed it here /opt/apps/apache-maven-3.1.1/bin Add a symlink  sudo ln -s '/mnt/ssd/apps/apache-maven-3.1.1/bin/mvn' /usr/local/bin/mvn I 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 ( http://doc.ubuntu-fr.org/epson_c1750 ), the Xerox Phaser 6000B has similar characteristics. So I managed to find a proper driver here: http://www.support.xerox.com/support/phaser-6000/downloads/engb.html?operatingSystem=win8x64&fileLanguage=en_GB direct download http://download.support.xerox.com/pub/drivers/6000/drivers/win8x64/en/Phaser_6000_Win8_v2.6.6.0_GDI_x64_English.exe 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