embed version details in android APK
问题 My code is stored in SVN version control. I use Eclipse to build my Android application. In my application, I have an about-box. I want to show the correct source control revision/tag/whatever in this. Is there a way of automating this so that my version string in the about-box is always right, or is this something I have to hand-edit each time I commit? Thx for the early answers about $keywords$. Setting the SVN property svn:keywords to Rev does expand a private String m_svn_rev = "$Rev:$"