Android Open Source - XkcdViewer Xkcd Viewer Activity






From Project

Back to project page XkcdViewer.

License

The source code is released under:

GNU General Public License

If you think the Android project XkcdViewer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*
 *  xkcdViewer - Android app to view xkcd comics with hover text
 *  Copyright (C) 2009-2014 Tom Coxon, Tyler Breisacher, David McCullough,
 *      Kristian Lundkvist, Ivan Vasiljevi?.
 *  /*from ww  w.j  a va2s  .  co m*/
 *  xkcd is Copyright (C) Randall Munroe.
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License along
 *  with this program; if not, write to the Free Software Foundation, Inc.,
 *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
package net.bytten.xkcdviewer;

import net.bytten.comicviewer.ArchiveActivity;
import net.bytten.comicviewer.ComicViewerActivity;
import net.bytten.comicviewer.IComicDefinition;

public class XkcdViewerActivity extends ComicViewerActivity {

    @Override
    protected IComicDefinition makeComicDef() {
        return new XkcdComicDefinition();
    }

    @Override
    protected Class<? extends ArchiveActivity> getArchiveActivityClass() {
        return XkcdArchiveActivity.class;
    }

    @Override
    protected String getStringAboutText() {
        return getResources().getString(R.string.aboutText);
    }

    @Override
    protected String getStringAppName() {
        return getResources().getString(R.string.app_name);
    }

}




Java Source Code List

net.bytten.xkcdviewer.XkcdArchiveActivity.java
net.bytten.xkcdviewer.XkcdComicDefinition.java
net.bytten.xkcdviewer.XkcdComicInfo.java
net.bytten.xkcdviewer.XkcdComicProvider.java
net.bytten.xkcdviewer.XkcdViewerActivity.java