I would like to use TIME and DATE macros in Java, as well as in C. However, I know that they do not exist. I looked at various sites and saw offers such as http://www.rgagnon.com/javadetails/java-0532.html . I understand that this can be accomplished by creating a custom build.xml file, but I'm reluctant to tear this far from the Android toolchain.
Eclipse Builder may have been a viable solution, but modifying files outside of Eclipse seems unreasonable.
Does anyone have a suggestion to access the build date / time from their Android app without a special build.xml file? Can I use the build.properties file, Eclipse Builder, or something else?
source
share