The Architecture of Open Source Applications
Great book about Open Source Applications architecture and performance
Great book about Open Source Applications architecture and performance
Google Translator Toolkit has launched support for four new translation-related file formats: Android Resource (.xml) Application Resource Bundle (.arb) Chrome Extension (.json) GNU gettext-based (.po) Now you could localize your Android App easily. Source: http://googledevelopers.blogspot.com.br/2012/03/localize-your-apps-and-content-more.html
Taking a screen shot of your Android app with Eclipse is very easy, in Devices view, select the Screen Capture tool from the toolbar with an Android device or emulator selected. After that you could: Refresh to update the view, Rotate, Save the screen shot or Copy the image to the clipboard. If you don’t have the Device view opened, you could open it from Window > Show View > Other ....
When versioning your application, you use the AndroidManifest.xml to specify the versionCode and versionName. You can read your application’s versionCode and versionName from you activity using the following code: PackageInfo packageInfo = getPackageManager().getPackageInfo(getPackageName(), 0); int versionNumber = packageInfo.versionCode; String versionName = packageInfo.versionName; To know more about versioning your app read de documentation.
The string format, when added to string.xml resource, has a differente syntax, for exemple: Hello, %s! You have %d new messages. Becomes: Hello, %1$s! You have %2$d new messages. The syntax is: *%<position>$<type>*. where <position> starts at 1 and type is the Java String format like d, s, f. Source: String Resources
This code snippet shows how to get a reference to a preference in PreferenceActivity. With this reference, you could update the UI without reloading the PreferenceActivity. Source: Update preference value without reloading PreferenceActivity