Android Open Source - haavi Podcast






From Project

Back to project page haavi.

License

The source code is released under:

MIT License

If you think the Android project haavi 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

package com.ilkkalaukkanen.haavi.model;
/*from w  w  w. j a  v  a 2  s .  c om*/
import org.joda.time.DateTime;

public class Podcast {
    private final String   title;
    private final String   description;
    private final DateTime pubDate;
    private final String   url;
    private final long     length;
    private final String   type;
    private final String   guid;
    private int duration;

    public Podcast(final String title,
                   final String description,
                   final DateTime pubDate,
                   final String url,
                   final String length,
                   final String type,
                   final String guid) {
        this.title = title;
        this.description = description;
        this.pubDate = pubDate;
        this.url = url;
        this.length = Long.parseLong(length, 10);
        this.type = type;
        this.guid = guid;
    }

    public String getTitle() {
        return title;
    }

    public String getDescription() {
        return description;
    }

    public DateTime getPubDate() {
        return pubDate;
    }

    public String getUrl() {
        return url;
    }

    public String getGuid() {
        return guid;
    }

    public long getSizeInBytes() {
        return length;
    }

    public String getType() {
        return type;
    }
}




Java Source Code List

com.ilkkalaukkanen.haavi.EpisodeDetailActivity.java
com.ilkkalaukkanen.haavi.EpisodeDetailFragment.java
com.ilkkalaukkanen.haavi.EpisodeListActivity.java
com.ilkkalaukkanen.haavi.EpisodeListFragment.java
com.ilkkalaukkanen.haavi.FeedDownloader.java
com.ilkkalaukkanen.haavi.PlaybackControlFragment.java
com.ilkkalaukkanen.haavi.PlayerService.java
com.ilkkalaukkanen.haavi.http.HttpClientProvider.java
com.ilkkalaukkanen.haavi.http.HttpModule.java
com.ilkkalaukkanen.haavi.model.Podcast.java
rx.android.Events.java
rx.android.Properties.java