finally read APG version dynamicly, so the version name doesn't have to be changed anywhere but the manifest

This commit is contained in:
Thialfihar
2010-06-08 13:46:21 +00:00
parent ce1120b66e
commit 315093c5bc
4 changed files with 39 additions and 7 deletions

View File

@@ -183,7 +183,7 @@ public class MainActivity extends BaseActivity {
case Id.dialog.change_log: {
AlertDialog.Builder alert = new AlertDialog.Builder(this);
alert.setTitle("Changes " + Apg.FULL_VERSION);
alert.setTitle("Changes " + Apg.getFullVersion(this));
LayoutInflater inflater =
(LayoutInflater) this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View layout = inflater.inflate(R.layout.info, null);