In some cases you would like to get a list of languages which user is able to select on his/her Android phone. For example I have the following languages on my device: You would expect this from Locale.getAvailableLocales(). But it returns the full list of locales supported by Android platform:[bg, bg_BG, ca, ca_ES, cs, cs_CZ, da, da_DK, de, de_AT, de_BE, de_CH, de_DE, de_LI, de_LU, el, el_GR, en, en_AU, en_BE, en_BW, en_BZ, en_CA, en_GB, en_HK, en_IE, en_IN, en_JM, en_MH, en_MT, en_NA,…
Getting INSTALL_PARSE_FAILED_NO_CERTIFICATES when installing Android application compiled with JDK 7
You might get INSTALL_PARSE_FAILED_NO_CERTIFICATES error when installing Android application compiled with JDK 7. You can use the following small tip to get it fixed: Open your <ANDROID-SDK>/tools/ant/build.xml file Find the task named -release-sign Add the following two attributes into signjar tag: sigalg=”MD5withRSA” digestalg=”SHA1″ You can read more details in the Android issue tracker: issue 19567
If you have some web server where you deploy the web application in the exploded form and your source code is placed in another place for example in the local SVN copy – you have several options: Configure your IDE to deploy web application directly into your web server. Change your files in IDE and manually copy them into your exploded web application. Change your files in the exploded web application and manually copy them into your local SVN copy….
Sometimes you need some resolution to check the design of the website. And VirtualBox Video adapter provides only a small set of the predefined resolutions. This can easily be fixed by using the following shell command: VBoxManage controlvm XP setvideomodehint 1280 800 24This command will set the 24-bit colors, 1280×800 resolution for the XP virtual machine.