Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement a changelog in android?

for my app i want to implement a changelog, but dont know how (which concept).

I want, that the changelog pops up once a time after new version of my app installed. Sounds easy, but i have no clue. :/

Dialog to show my Changelog exists already, i just wanna know how to show it one after an update.

Thanks for your hints.

Prexx

like image 385
Prexx Avatar asked Jan 24 '12 14:01

Prexx


2 Answers

one option is to use Android Change Log.

With Android Change Log you can easily create, show and maintain an Android change log dialog.

Features

  • display only what's new or show the whole change log
  • display on first start of newly installed app or on new app version
  • write the change log in a simplified language but also use HTML and CSS if needed
like image 63
Vamsi Krishna B Avatar answered Sep 20 '22 17:09

Vamsi Krishna B


You can store a value in SharedPreferences which version you showed the changelog last time.

E.g.: 'lastChangelogVersion' : '1.1.0'

When your MainActivity starts it compares this value with the current version of your software and if it differs the changelog popup appears (and sets the new value).

This value will not be overridden when a new version of your application is being installed.

UPDATE:

Also, you might encounter that the user cleared your application's data. In this case you can't decide whether the changelog was displayed before or not so you can show it again. Android Market works the same way: if you clear it's app data you will be facing with the Licence Agreement again when launching Market.

like image 34
papaiatis Avatar answered Sep 20 '22 17:09

papaiatis