1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-13 21:15:08 -05:00
k-9/plugins/ckChangeLog
Joe Steele c40dd196a6 Simplify Eclipse setup.
Create .project files for all the Ecplipse projects
so they will all have project names and can
all be brought into Ecplipse together with a single
'File -> Import -> Android ->
Existing Android Code Into Workspace'.

(Not bothering to remove the .project exclusion from
all .gitignore files.  Once the .project files are
checked in, they will no longer be ignored.)

Modify the top .project file so that Eclipse knows
k9mail's dependence on it plugins, and thus will
build everything in the correct order.

With the latest Android SDK Rev. 22, the top .classpath file
needs modification or else K9 will not run (see parent commit 53fcdd1).
But the initial import of k9mail into Eclipse works more cleanly if the
.classpath file doesn't exist on import, in which case Eclipse creates it
automatically.  So rather than modify the .classpath file, remove it
from git and leave it untracked.

(For an existing Eclipse project, this commit will remove the file from
the working directory.  A corrected version can be restored with:
git checkout 53fcdd1 .classpath
git rm --cached .classpath)

Add .classpath to the top .gitignore, now that no
.classpath files are being tracked (with one exception,
see below).

Create a tests/.classpath so that Java can find the k9mail
project in order to build the k9mail-tests project.
2013-05-31 18:00:45 -04:00
..
library Simplify Eclipse setup. 2013-05-31 18:00:45 -04:00
LICENSE Add ckChangeLog to display a change log after an app upgrade 2013-01-08 09:17:35 +01:00
README.md Add ckChangeLog to display a change log after an app upgrade 2013-01-08 09:17:35 +01:00
screenshot_1.png Add ckChangeLog to display a change log after an app upgrade 2013-01-08 09:17:35 +01:00
screenshot_2.png Add ckChangeLog to display a change log after an app upgrade 2013-01-08 09:17:35 +01:00

ckChangeLog - An Android Library to display a Change Log

Screenshot Screenshot

This library provides an easy way to display a change log in your app.

Features

  • Uses a simple XML file as source
  • Supports partial translations

Repository at https://github.com/cketti/ckChangeLog.

Usage

  1. Create the master change log in res/raw/changelog.xml. Formatted like this:

     <?xml version="1.0" encoding="utf-8"?>
     <changelog>
         <release version="1.1" versioncode="11" >
             <change>Totally new and shiny version</change>
         </release>
         <release version="1.0" versioncode="10" >
             <change>Fixed: A bug fix</change>
             <change>Some other changes I can't quite remember</change>
         </release>
         <release version="0.1" versioncode="1">
             <change>First release</change>
         </release>
     </changelog>
    
  2. Create translations of this file under language-specific versions of res/xml, e.g. res/xml-de.

  3. Display the change log dialog by putting the following code in your activity's onCreate() method:

     ChangeLog cl = new ChangeLog(this);
     if (cl.isFirstRun()) {
         cl.getLogDialog().show();
     }
    

Changelog

Version 0.1

  • Initial release

Acknowledgments

This library is based on:

Other contributors:

  • You? Pull requests welcome!

License

Copyright (C) 2012 Christian Ketterer (cketti)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.