“Stardate” Version Numbering621 (6/7/2011 11:59:50 AM) comp.lang.java.programmer The following one-liner sets the versionName attribute in AndroidManifest.xml to a number based on the number of days (accurate to 0.1 day) since the *nix epoch. This is what I’ve been using for a version numbe... Lawrence
Managed-Code Bloat4135 (6/6/2011 6:47:30 AM) comp.lang.java.programmer Came across this item about how Evernote for Windows abandoned WPF and Dotnet when moving from version 3.5 to 4.0, with the result that On our test hardware, Evernote 4 starts five times faster, and uses ... Lawrence
=?UTF-8?B?QW5kcm9pZOKAlFdoeQ==?= Dalvik?19042 (5/29/2011 12:48:48 AM) comp.lang.java.programmer The Android Builders Summit had some interesting presentations, in particular Karim Yaghmour’s delving into the internals of Android, and Aleksander Gargenta’s “A Walk Through The Android Stack”. From 48:00... Lawrence
git-describe824 (5/25/2011 10:14:29 AM) comp.lang.java.programmer Discovered yet another nifty Git feature while looking through the docs. Build scripts often try to automatically determine some kind of revision number to include with the version info when building a piece ... Lawrence
Android ClipboardManager & API Versions030 (5/13/2011 12:02:39 PM) comp.lang.java.programmer Notice that everything on this page is marked as “Since API Level 11” (Android 3.0). It lies. The “deprecated” functionality (i.e. not using the ClipData type) is available right back to API level 7, proba... Lawrence
Building The Android Options Menu040 (5/13/2011 10:52:23 AM) comp.lang.java.programmer Handling the menu that an activity pops up when the user presses the Menu button normally requires two stages: 1) put all the items into the menu 2) respond to a menu selection and invoke the appropriate action... Lawrence
Android WebView Widget Limitations040 (5/10/2011 12:37:53 PM) comp.lang.java.programmer Android’s WebView widget is an easy way to display text with a useful degree of formatting within an app. I wouldn’t expect it to have all the capabilities of a Web browser, but I was disappointed to see it d... Lawrence
RGB vs HSV629 (5/9/2011 1:58:31 AM) comp.lang.java.programmer Most graphics APIs seem to want colours specified in RGB space. But RGB is a poor choice for doing colour manipulations; for example, if you want a lighter or darker version of a given colour, naive manipulat... Lawrence
Java generics and type erasure3037 (5/23/2011 8:18:41 PM) comp.lang.java.programmer Hi! Some time ago I've encountered stange behaviour while using generics, small example is provided in gist: https://gist.github.com/977599 Anybody could explain me why in second example (line commended with... m.pietraszek(2)
git-describe824 (5/25/2011 10:14:29 AM) comp.lang.java.programmer Discovered yet another nifty Git feature while looking through the docs. Build scripts often try to automatically determine some kind of revision number to include with the version info when building a piece ... ldo(2144)
Inq: Language and Reified Execution Environment539 (5/25/2011 12:18:50 PM) comp.lang.java.programmer Posted in comp.lang.misc but I've put it here too on the basis that Inq is written in Java, so might be of interest.... There are a large number of applications whose purpose is to accept data, transform it, m... tom400f(22)
The CERT Oracle Secure Coding Standard for Java1227 (5/27/2011 5:44:25 PM) comp.lang.java.programmer The CERT Oracle Secure Coding Standard for Java has been completed and is now ready for https://www.securecoding.cert.org/confluence/display/java/The+CERT+Oracle+Secure+Coding+Standard+for+Java. The CERT Oracl... rcs4646(32)
=?UTF-8?B?QW5kcm9pZOKAlFdoeQ==?= Dalvik?19042 (5/29/2011 12:48:48 AM) comp.lang.java.programmer The Android Builders Summit had some interesting presentations, in particular Karim Yaghmour’s delving into the internals of Android, and Aleksander Gargenta’s “A Walk Through The Android Stack”. From 48:00... ldo(2144)
Managed-Code Bloat4135 (6/6/2011 6:47:30 AM) comp.lang.java.programmer Came across this item about how Evernote for Windows abandoned WPF and Dotnet when moving from version 3.5 to 4.0, with the result that On our test hardware, Evernote 4 starts five times faster, and uses ... ldo(2144)
“Stardate” Version Numbering621 (6/7/2011 11:59:50 AM) comp.lang.java.programmer The following one-liner sets the versionName attribute in AndroidManifest.xml to a number based on the number of days (accurate to 0.1 day) since the *nix epoch. This is what I’ve been using for a version numbe... ldo(2144)