Renamed package and application
This commit is contained in:
parent
1ae00a0f25
commit
ba2d2afbbc
2
.project
2
.project
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<projectDescription>
|
<projectDescription>
|
||||||
<name>Podfetcher</name>
|
<name>Antennapod</name>
|
||||||
<comment></comment>
|
<comment></comment>
|
||||||
<projects>
|
<projects>
|
||||||
</projects>
|
</projects>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="de.podfetcher"
|
package="de.danoeh.antennapod"
|
||||||
android:versionCode="1"
|
android:versionCode="1"
|
||||||
android:versionName="1.0" >
|
android:versionName="1.0" >
|
||||||
|
|
||||||
|
@ -13,13 +13,13 @@
|
||||||
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
|
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:name="de.podfetcher.PodcastApp"
|
android:name="de.danoeh.antennapod.PodcastApp"
|
||||||
android:icon="@drawable/ic_launcher"
|
android:icon="@drawable/ic_launcher"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:logo="@drawable/ic_launcher"
|
android:logo="@drawable/ic_launcher"
|
||||||
android:theme="@style/Theme.Sherlock.Light.ForceOverflow" >
|
android:theme="@style/Theme.Sherlock.Light.ForceOverflow" >
|
||||||
<activity
|
<activity
|
||||||
android:name="de.podfetcher.activity.PodfetcherActivity"
|
android:name=".activity.MainActivity"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:theme="@style/StyledIndicators" >
|
android:theme="@style/StyledIndicators" >
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
@ -29,26 +29,26 @@
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name="de.podfetcher.activity.AddFeedActivity"
|
android:name="de.danoeh.antennapod.activity.AddFeedActivity"
|
||||||
android:label="@string/add_new_feed_label" />
|
android:label="@string/add_new_feed_label" />
|
||||||
<activity
|
<activity
|
||||||
android:name="de.podfetcher.activity.FeedItemlistActivity"
|
android:name="de.danoeh.antennapod.activity.FeedItemlistActivity"
|
||||||
android:configChanges="orientation|screenSize" />
|
android:configChanges="orientation|screenSize" />
|
||||||
<activity android:name="de.podfetcher.activity.ItemviewActivity" />
|
<activity android:name="de.danoeh.antennapod.activity.ItemviewActivity" />
|
||||||
<activity
|
<activity
|
||||||
android:name="de.podfetcher.activity.DownloadActivity"
|
android:name="de.danoeh.antennapod.activity.DownloadActivity"
|
||||||
android:label="@string/downloads_label" />
|
android:label="@string/downloads_label" />
|
||||||
<activity
|
<activity
|
||||||
android:name="de.podfetcher.activity.MediaplayerActivity"
|
android:name="de.danoeh.antennapod.activity.MediaplayerActivity"
|
||||||
android:configChanges="orientation"
|
android:configChanges="orientation"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:theme="@style/Theme.MediaPlayer" />
|
android:theme="@style/Theme.MediaPlayer" />
|
||||||
|
|
||||||
<service
|
<service
|
||||||
android:name="de.podfetcher.service.DownloadService"
|
android:name="de.danoeh.antennapod.service.DownloadService"
|
||||||
android:enabled="true" />
|
android:enabled="true" />
|
||||||
<service
|
<service
|
||||||
android:name="de.podfetcher.service.PlaybackService"
|
android:name="de.danoeh.antennapod.service.PlaybackService"
|
||||||
android:enabled="true" >
|
android:enabled="true" >
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
<action android:name="android.intent.action.MEDIA_BUTTON" />
|
<action android:name="android.intent.action.MEDIA_BUTTON" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="de.podfetcher.NOTIFY_BUTTON_RECEIVER" />
|
<action android:name="de.danoeh.antennapod.NOTIFY_BUTTON_RECEIVER" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="de.podfetcher.FORCE_WIDGET_UPDATE" />
|
<action android:name="de.danoeh.antennapod.FORCE_WIDGET_UPDATE" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
|
||||||
<meta-data
|
<meta-data
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
</receiver>
|
</receiver>
|
||||||
<receiver android:name=".receiver.FeedUpdateReceiver" >
|
<receiver android:name=".receiver.FeedUpdateReceiver" >
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="de.podfetcher.feedupdatereceiver.refreshFeeds" />
|
<action android:name="de.danoeh.antennapod.feedupdatereceiver.refreshFeeds" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res/de.podfetcher"
|
xmlns:app="http://schemas.android.com/apk/res/de.danoeh.antennapod"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<!-- Activitiy titles -->
|
<!-- Activitiy titles -->
|
||||||
<string name="app_name">Podfetcher</string>
|
<string name="app_name">Antennapod</string>
|
||||||
<string name="feeds_label">Feeds</string>
|
<string name="feeds_label">Feeds</string>
|
||||||
<string name="new_label">New</string>
|
<string name="new_label">New</string>
|
||||||
<string name="settings_label">Settings</string>
|
<string name="settings_label">Settings</string>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher;
|
package de.danoeh.antennapod;
|
||||||
|
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
|
@ -10,16 +10,16 @@ import android.content.Intent;
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
import android.preference.PreferenceManager;
|
import android.preference.PreferenceManager;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import de.podfetcher.asynctask.FeedImageLoader;
|
import de.danoeh.antennapod.asynctask.FeedImageLoader;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.receiver.FeedUpdateReceiver;
|
import de.danoeh.antennapod.receiver.FeedUpdateReceiver;
|
||||||
import de.podfetcher.util.StorageUtils;
|
import de.danoeh.antennapod.util.StorageUtils;
|
||||||
|
|
||||||
public class PodcastApp extends Application implements
|
public class PodcastApp extends Application implements
|
||||||
SharedPreferences.OnSharedPreferenceChangeListener {
|
SharedPreferences.OnSharedPreferenceChangeListener {
|
||||||
|
|
||||||
private static final String TAG = "PodcastApp";
|
private static final String TAG = "PodcastApp";
|
||||||
public static final String PREF_NAME = "PodfetcherPrefs";
|
public static final String PREF_NAME = "AntennapodPrefs";
|
||||||
|
|
||||||
public static final String PREF_PAUSE_ON_HEADSET_DISCONNECT = "prefPauseOnHeadsetDisconnect";
|
public static final String PREF_PAUSE_ON_HEADSET_DISCONNECT = "prefPauseOnHeadsetDisconnect";
|
||||||
public static final String PREF_FOLLOW_QUEUE = "prefFollowQueue";
|
public static final String PREF_FOLLOW_QUEUE = "prefFollowQueue";
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.activity;
|
package de.danoeh.antennapod.activity;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.widget.Button;
|
import android.widget.Button;
|
||||||
|
@ -12,18 +12,17 @@ import android.content.DialogInterface;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.IntentFilter;
|
import android.content.IntentFilter;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.R;
|
||||||
import de.podfetcher.asynctask.DownloadObserver;
|
import de.danoeh.antennapod.asynctask.DownloadObserver;
|
||||||
import de.podfetcher.asynctask.DownloadStatus;
|
import de.danoeh.antennapod.asynctask.DownloadStatus;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.storage.DownloadRequester;
|
import de.danoeh.antennapod.service.DownloadService;
|
||||||
import de.podfetcher.util.ConnectionTester;
|
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||||
import de.podfetcher.util.DownloadError;
|
import de.danoeh.antennapod.util.ConnectionTester;
|
||||||
import de.podfetcher.util.StorageUtils;
|
import de.danoeh.antennapod.util.DownloadError;
|
||||||
import de.podfetcher.util.URLChecker;
|
import de.danoeh.antennapod.util.StorageUtils;
|
||||||
import de.podfetcher.service.DownloadService;
|
import de.danoeh.antennapod.util.URLChecker;
|
||||||
|
|
||||||
import com.actionbarsherlock.app.SherlockActivity;
|
import com.actionbarsherlock.app.SherlockActivity;
|
||||||
import com.actionbarsherlock.view.Menu;
|
import com.actionbarsherlock.view.Menu;
|
||||||
import com.actionbarsherlock.view.MenuInflater;
|
import com.actionbarsherlock.view.MenuInflater;
|
|
@ -1,13 +1,13 @@
|
||||||
package de.podfetcher.activity;
|
package de.danoeh.antennapod.activity;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.adapter.DownloadlistAdapter;
|
||||||
import de.podfetcher.service.DownloadService;
|
import de.danoeh.antennapod.asynctask.DownloadObserver;
|
||||||
import de.podfetcher.storage.DownloadRequester;
|
import de.danoeh.antennapod.asynctask.DownloadStatus;
|
||||||
import de.podfetcher.adapter.DownloadlistAdapter;
|
import de.danoeh.antennapod.feed.FeedFile;
|
||||||
import de.podfetcher.asynctask.DownloadObserver;
|
import de.danoeh.antennapod.feed.FeedMedia;
|
||||||
import de.podfetcher.asynctask.DownloadStatus;
|
import de.danoeh.antennapod.service.DownloadService;
|
||||||
import de.podfetcher.feed.FeedMedia;
|
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||||
import de.podfetcher.feed.FeedFile;
|
import de.danoeh.antennapod.R;
|
||||||
import com.actionbarsherlock.app.SherlockListActivity;
|
import com.actionbarsherlock.app.SherlockListActivity;
|
||||||
import com.actionbarsherlock.view.ActionMode;
|
import com.actionbarsherlock.view.ActionMode;
|
||||||
import com.actionbarsherlock.view.Menu;
|
import com.actionbarsherlock.view.Menu;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.activity;
|
package de.danoeh.antennapod.activity;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@ import com.actionbarsherlock.app.SherlockListActivity;
|
||||||
import com.actionbarsherlock.view.Menu;
|
import com.actionbarsherlock.view.Menu;
|
||||||
import com.actionbarsherlock.view.MenuItem;
|
import com.actionbarsherlock.view.MenuItem;
|
||||||
|
|
||||||
import de.podfetcher.adapter.DownloadLogAdapter;
|
import de.danoeh.antennapod.adapter.DownloadLogAdapter;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
|
|
||||||
public class DownloadLogActivity extends SherlockListActivity {
|
public class DownloadLogActivity extends SherlockListActivity {
|
||||||
private static final String TAG = "DownloadLogActivity";
|
private static final String TAG = "DownloadLogActivity";
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.activity;
|
package de.danoeh.antennapod.activity;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
@ -9,16 +9,16 @@ import com.actionbarsherlock.app.SherlockActivity;
|
||||||
import com.actionbarsherlock.view.Menu;
|
import com.actionbarsherlock.view.Menu;
|
||||||
import com.actionbarsherlock.view.MenuItem;
|
import com.actionbarsherlock.view.MenuItem;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.asynctask.FeedImageLoader;
|
||||||
import de.podfetcher.asynctask.FeedImageLoader;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
/** Displays information about a feed. */
|
/** Displays information about a feed. */
|
||||||
public class FeedInfoActivity extends SherlockActivity {
|
public class FeedInfoActivity extends SherlockActivity {
|
||||||
private static final String TAG = "FeedInfoActivity";
|
private static final String TAG = "FeedInfoActivity";
|
||||||
|
|
||||||
public static final String EXTRA_FEED_ID = "de.podfetcher.extra.feedId";
|
public static final String EXTRA_FEED_ID = "de.danoeh.antennapod.extra.feedId";
|
||||||
|
|
||||||
private ImageView imgvCover;
|
private ImageView imgvCover;
|
||||||
private TextView txtvTitle;
|
private TextView txtvTitle;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.activity;
|
package de.danoeh.antennapod.activity;
|
||||||
|
|
||||||
import android.graphics.drawable.BitmapDrawable;
|
import android.graphics.drawable.BitmapDrawable;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -13,14 +13,14 @@ import com.actionbarsherlock.view.MenuInflater;
|
||||||
import com.actionbarsherlock.view.MenuItem;
|
import com.actionbarsherlock.view.MenuItem;
|
||||||
import com.actionbarsherlock.view.Window;
|
import com.actionbarsherlock.view.Window;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.asynctask.FeedRemover;
|
||||||
import de.podfetcher.asynctask.FeedRemover;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.fragment.FeedlistFragment;
|
||||||
import de.podfetcher.fragment.ItemlistFragment;
|
import de.danoeh.antennapod.fragment.ItemlistFragment;
|
||||||
import de.podfetcher.fragment.FeedlistFragment;
|
import de.danoeh.antennapod.util.FeedMenuHandler;
|
||||||
import de.podfetcher.util.FeedMenuHandler;
|
import de.danoeh.antennapod.util.StorageUtils;
|
||||||
import de.podfetcher.util.StorageUtils;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
/** Displays a List of FeedItems */
|
/** Displays a List of FeedItems */
|
||||||
public class FeedItemlistActivity extends SherlockFragmentActivity {
|
public class FeedItemlistActivity extends SherlockFragmentActivity {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.activity;
|
package de.danoeh.antennapod.activity;
|
||||||
|
|
||||||
import org.shredzone.flattr4j.exception.FlattrException;
|
import org.shredzone.flattr4j.exception.FlattrException;
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@ import com.actionbarsherlock.app.SherlockActivity;
|
||||||
import com.actionbarsherlock.view.Menu;
|
import com.actionbarsherlock.view.Menu;
|
||||||
import com.actionbarsherlock.view.MenuItem;
|
import com.actionbarsherlock.view.MenuItem;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.util.FlattrUtils;
|
||||||
import de.podfetcher.util.FlattrUtils;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
/** Guides the user through the authentication process */
|
/** Guides the user through the authentication process */
|
||||||
public class FlattrAuthActivity extends SherlockActivity {
|
public class FlattrAuthActivity extends SherlockActivity {
|
||||||
|
@ -40,7 +40,7 @@ public class FlattrAuthActivity extends SherlockActivity {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
startActivity(new Intent(FlattrAuthActivity.this,
|
startActivity(new Intent(FlattrAuthActivity.this,
|
||||||
PodfetcherActivity.class));
|
MainActivity.class));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.activity;
|
package de.danoeh.antennapod.activity;
|
||||||
|
|
||||||
import java.text.DateFormat;
|
import java.text.DateFormat;
|
||||||
|
|
||||||
|
@ -16,15 +16,15 @@ import com.actionbarsherlock.view.MenuInflater;
|
||||||
import com.actionbarsherlock.view.MenuItem;
|
import com.actionbarsherlock.view.MenuItem;
|
||||||
import com.actionbarsherlock.view.Window;
|
import com.actionbarsherlock.view.Window;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.fragment.FeedlistFragment;
|
||||||
import de.podfetcher.fragment.FeedlistFragment;
|
import de.danoeh.antennapod.fragment.ItemDescriptionFragment;
|
||||||
import de.podfetcher.fragment.ItemDescriptionFragment;
|
import de.danoeh.antennapod.fragment.ItemlistFragment;
|
||||||
import de.podfetcher.fragment.ItemlistFragment;
|
import de.danoeh.antennapod.util.FeedItemMenuHandler;
|
||||||
import de.podfetcher.util.FeedItemMenuHandler;
|
import de.danoeh.antennapod.util.StorageUtils;
|
||||||
import de.podfetcher.util.StorageUtils;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
/** Displays a single FeedItem and provides various actions */
|
/** Displays a single FeedItem and provides various actions */
|
||||||
public class ItemviewActivity extends SherlockFragmentActivity {
|
public class ItemviewActivity extends SherlockFragmentActivity {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.activity;
|
package de.danoeh.antennapod.activity;
|
||||||
|
|
||||||
import android.content.BroadcastReceiver;
|
import android.content.BroadcastReceiver;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -18,17 +18,17 @@ import com.actionbarsherlock.view.MenuItem;
|
||||||
import com.actionbarsherlock.view.Window;
|
import com.actionbarsherlock.view.Window;
|
||||||
import com.viewpagerindicator.TabPageIndicator;
|
import com.viewpagerindicator.TabPageIndicator;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.fragment.FeedlistFragment;
|
||||||
import de.podfetcher.fragment.FeedlistFragment;
|
import de.danoeh.antennapod.fragment.QueueFragment;
|
||||||
import de.podfetcher.fragment.QueueFragment;
|
import de.danoeh.antennapod.fragment.UnreadItemlistFragment;
|
||||||
import de.podfetcher.fragment.UnreadItemlistFragment;
|
import de.danoeh.antennapod.service.DownloadService;
|
||||||
import de.podfetcher.service.DownloadService;
|
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||||
import de.podfetcher.storage.DownloadRequester;
|
import de.danoeh.antennapod.util.StorageUtils;
|
||||||
import de.podfetcher.util.StorageUtils;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
public class PodfetcherActivity extends SherlockFragmentActivity {
|
public class MainActivity extends SherlockFragmentActivity {
|
||||||
private static final String TAG = "PodfetcherActivity";
|
private static final String TAG = "MainActivity";
|
||||||
|
|
||||||
private FeedManager manager;
|
private FeedManager manager;
|
||||||
private ViewPager viewpager;
|
private ViewPager viewpager;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.activity;
|
package de.danoeh.antennapod.activity;
|
||||||
|
|
||||||
import android.app.AlertDialog;
|
import android.app.AlertDialog;
|
||||||
import android.content.BroadcastReceiver;
|
import android.content.BroadcastReceiver;
|
||||||
|
@ -44,18 +44,18 @@ import com.actionbarsherlock.view.MenuItem;
|
||||||
import com.actionbarsherlock.view.Window;
|
import com.actionbarsherlock.view.Window;
|
||||||
import com.viewpagerindicator.TabPageIndicator;
|
import com.viewpagerindicator.TabPageIndicator;
|
||||||
|
|
||||||
import de.podfetcher.PodcastApp;
|
import de.danoeh.antennapod.PodcastApp;
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.feed.FeedMedia;
|
||||||
import de.podfetcher.feed.FeedMedia;
|
import de.danoeh.antennapod.fragment.CoverFragment;
|
||||||
import de.podfetcher.fragment.CoverFragment;
|
import de.danoeh.antennapod.fragment.ItemDescriptionFragment;
|
||||||
import de.podfetcher.fragment.ItemDescriptionFragment;
|
import de.danoeh.antennapod.service.PlaybackService;
|
||||||
import de.podfetcher.service.PlaybackService;
|
import de.danoeh.antennapod.service.PlayerStatus;
|
||||||
import de.podfetcher.service.PlayerStatus;
|
import de.danoeh.antennapod.util.Converter;
|
||||||
import de.podfetcher.util.Converter;
|
import de.danoeh.antennapod.util.DownloadError;
|
||||||
import de.podfetcher.util.DownloadError;
|
import de.danoeh.antennapod.util.MediaPlayerError;
|
||||||
import de.podfetcher.util.MediaPlayerError;
|
import de.danoeh.antennapod.util.StorageUtils;
|
||||||
import de.podfetcher.util.StorageUtils;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
public class MediaplayerActivity extends SherlockFragmentActivity implements
|
public class MediaplayerActivity extends SherlockFragmentActivity implements
|
||||||
SurfaceHolder.Callback {
|
SurfaceHolder.Callback {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.activity;
|
package de.danoeh.antennapod.activity;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.preference.Preference;
|
import android.preference.Preference;
|
||||||
|
@ -9,8 +9,8 @@ import com.actionbarsherlock.app.SherlockPreferenceActivity;
|
||||||
import com.actionbarsherlock.view.Menu;
|
import com.actionbarsherlock.view.Menu;
|
||||||
import com.actionbarsherlock.view.MenuItem;
|
import com.actionbarsherlock.view.MenuItem;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.util.FlattrUtils;
|
||||||
import de.podfetcher.util.FlattrUtils;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
public class PreferenceActivity extends SherlockPreferenceActivity {
|
public class PreferenceActivity extends SherlockPreferenceActivity {
|
||||||
private static final String TAG = "PreferenceActivity";
|
private static final String TAG = "PreferenceActivity";
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.activity;
|
package de.danoeh.antennapod.activity;
|
||||||
|
|
||||||
import android.content.BroadcastReceiver;
|
import android.content.BroadcastReceiver;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -9,8 +9,8 @@ import android.util.Log;
|
||||||
|
|
||||||
import com.actionbarsherlock.app.SherlockActivity;
|
import com.actionbarsherlock.app.SherlockActivity;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.util.StorageUtils;
|
||||||
import de.podfetcher.util.StorageUtils;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
public class StorageErrorActivity extends SherlockActivity {
|
public class StorageErrorActivity extends SherlockActivity {
|
||||||
private static final String TAG = "StorageErrorActivity";
|
private static final String TAG = "StorageErrorActivity";
|
||||||
|
@ -44,7 +44,7 @@ public class StorageErrorActivity extends SherlockActivity {
|
||||||
|
|
||||||
private void leaveErrorState() {
|
private void leaveErrorState() {
|
||||||
finish();
|
finish();
|
||||||
startActivity(new Intent(this, PodfetcherActivity.class));
|
startActivity(new Intent(this, MainActivity.class));
|
||||||
}
|
}
|
||||||
|
|
||||||
private BroadcastReceiver mediaUpdate = new BroadcastReceiver() {
|
private BroadcastReceiver mediaUpdate = new BroadcastReceiver() {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.adapter;
|
package de.danoeh.antennapod.adapter;
|
||||||
|
|
||||||
import java.text.DateFormat;
|
import java.text.DateFormat;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -11,13 +11,13 @@ import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.widget.ArrayAdapter;
|
import android.widget.ArrayAdapter;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.asynctask.DownloadStatus;
|
||||||
import de.podfetcher.asynctask.DownloadStatus;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.FeedFile;
|
||||||
import de.podfetcher.feed.FeedFile;
|
import de.danoeh.antennapod.feed.FeedImage;
|
||||||
import de.podfetcher.feed.FeedImage;
|
import de.danoeh.antennapod.feed.FeedMedia;
|
||||||
import de.podfetcher.feed.FeedMedia;
|
import de.danoeh.antennapod.util.DownloadError;
|
||||||
import de.podfetcher.util.DownloadError;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
/** Displays a list of DownloadStatus entries. */
|
/** Displays a list of DownloadStatus entries. */
|
||||||
public class DownloadLogAdapter extends ArrayAdapter<DownloadStatus> {
|
public class DownloadLogAdapter extends ArrayAdapter<DownloadStatus> {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.adapter;
|
package de.danoeh.antennapod.adapter;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -9,13 +9,13 @@ import android.view.ViewGroup;
|
||||||
import android.widget.ArrayAdapter;
|
import android.widget.ArrayAdapter;
|
||||||
import android.widget.ProgressBar;
|
import android.widget.ProgressBar;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.asynctask.DownloadStatus;
|
||||||
import de.podfetcher.asynctask.DownloadStatus;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.FeedFile;
|
||||||
import de.podfetcher.feed.FeedFile;
|
import de.danoeh.antennapod.feed.FeedImage;
|
||||||
import de.podfetcher.feed.FeedImage;
|
import de.danoeh.antennapod.feed.FeedMedia;
|
||||||
import de.podfetcher.feed.FeedMedia;
|
import de.danoeh.antennapod.util.Converter;
|
||||||
import de.podfetcher.util.Converter;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
public class DownloadlistAdapter extends ArrayAdapter<DownloadStatus> {
|
public class DownloadlistAdapter extends ArrayAdapter<DownloadStatus> {
|
||||||
private int selectedItemIndex;
|
private int selectedItemIndex;
|
|
@ -1,12 +1,12 @@
|
||||||
package de.podfetcher.adapter;
|
package de.danoeh.antennapod.adapter;
|
||||||
|
|
||||||
import java.text.DateFormat;
|
import java.text.DateFormat;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.util.Converter;
|
import de.danoeh.antennapod.util.Converter;
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.R;
|
||||||
import android.widget.ArrayAdapter;
|
import android.widget.ArrayAdapter;
|
||||||
import android.widget.Button;
|
import android.widget.Button;
|
||||||
import android.widget.ImageButton;
|
import android.widget.ImageButton;
|
|
@ -1,13 +1,13 @@
|
||||||
package de.podfetcher.adapter;
|
package de.danoeh.antennapod.adapter;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.text.DateFormat;
|
import java.text.DateFormat;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.asynctask.FeedImageLoader;
|
||||||
import de.podfetcher.asynctask.FeedImageLoader;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||||
import de.podfetcher.storage.DownloadRequester;
|
import de.danoeh.antennapod.R;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.text.format.DateUtils;
|
import android.text.format.DateUtils;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.asynctask;
|
package de.danoeh.antennapod.asynctask;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
@ -9,9 +9,9 @@ import android.content.Context;
|
||||||
import android.database.Cursor;
|
import android.database.Cursor;
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.feed.FeedFile;
|
||||||
import de.podfetcher.feed.FeedFile;
|
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||||
import de.podfetcher.storage.DownloadRequester;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
/** Observes the status of a specific Download */
|
/** Observes the status of a specific Download */
|
||||||
public class DownloadObserver extends AsyncTask<Void, Void, Void> {
|
public class DownloadObserver extends AsyncTask<Void, Void, Void> {
|
|
@ -1,8 +1,8 @@
|
||||||
package de.podfetcher.asynctask;
|
package de.danoeh.antennapod.asynctask;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
import de.podfetcher.feed.FeedFile;
|
import de.danoeh.antennapod.feed.FeedFile;
|
||||||
|
|
||||||
/** Contains status attributes for one download */
|
/** Contains status attributes for one download */
|
||||||
public class DownloadStatus {
|
public class DownloadStatus {
|
|
@ -1,12 +1,12 @@
|
||||||
package de.podfetcher.asynctask;
|
package de.danoeh.antennapod.asynctask;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
||||||
import de.podfetcher.PodcastApp;
|
import de.danoeh.antennapod.PodcastApp;
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.feed.FeedImage;
|
||||||
import de.podfetcher.feed.FeedImage;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||||
import de.podfetcher.storage.DownloadRequester;
|
import de.danoeh.antennapod.R;
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.app.ActivityManager;
|
import android.app.ActivityManager;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
|
@ -1,7 +1,7 @@
|
||||||
package de.podfetcher.asynctask;
|
package de.danoeh.antennapod.asynctask;
|
||||||
|
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import android.app.ProgressDialog;
|
import android.app.ProgressDialog;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.DialogInterface;
|
import android.content.DialogInterface;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.feed;
|
package de.danoeh.antennapod.feed;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.feed;
|
package de.danoeh.antennapod.feed;
|
||||||
|
|
||||||
public class FeedCategory extends FeedComponent{
|
public class FeedCategory extends FeedComponent{
|
||||||
protected String name;
|
protected String name;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.feed;
|
package de.danoeh.antennapod.feed;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents every possible component of a feed
|
* Represents every possible component of a feed
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.feed;
|
package de.danoeh.antennapod.feed;
|
||||||
|
|
||||||
/** Represents a component of a Feed that has to be downloaded*/
|
/** Represents a component of a Feed that has to be downloaded*/
|
||||||
public abstract class FeedFile extends FeedComponent {
|
public abstract class FeedFile extends FeedComponent {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.feed;
|
package de.danoeh.antennapod.feed;
|
||||||
|
|
||||||
|
|
||||||
public class FeedImage extends FeedFile {
|
public class FeedImage extends FeedFile {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.feed;
|
package de.danoeh.antennapod.feed;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
|
@ -1,16 +1,16 @@
|
||||||
package de.podfetcher.feed;
|
package de.danoeh.antennapod.feed;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
import de.podfetcher.activity.MediaplayerActivity;
|
import de.danoeh.antennapod.activity.MediaplayerActivity;
|
||||||
import de.podfetcher.asynctask.DownloadStatus;
|
import de.danoeh.antennapod.asynctask.DownloadStatus;
|
||||||
import de.podfetcher.service.PlaybackService;
|
import de.danoeh.antennapod.service.PlaybackService;
|
||||||
import de.podfetcher.storage.*;
|
import de.danoeh.antennapod.storage.*;
|
||||||
import de.podfetcher.util.FeedItemPubdateComparator;
|
import de.danoeh.antennapod.util.FeedItemPubdateComparator;
|
||||||
import de.podfetcher.util.FeedtitleComparator;
|
import de.danoeh.antennapod.util.FeedtitleComparator;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.database.Cursor;
|
import android.database.Cursor;
|
||||||
|
@ -25,10 +25,10 @@ import android.util.Log;
|
||||||
public class FeedManager {
|
public class FeedManager {
|
||||||
private static final String TAG = "FeedManager";
|
private static final String TAG = "FeedManager";
|
||||||
|
|
||||||
public static final String ACTION_UNREAD_ITEMS_UPDATE = "de.podfetcher.action.feed.unreadItemsUpdate";
|
public static final String ACTION_UNREAD_ITEMS_UPDATE = "de.danoeh.antennapod.action.feed.unreadItemsUpdate";
|
||||||
public static final String ACTION_QUEUE_UPDATE = "de.podfetcher.action.feed.queueUpdate";
|
public static final String ACTION_QUEUE_UPDATE = "de.danoeh.antennapod.action.feed.queueUpdate";
|
||||||
public static final String EXTRA_FEED_ITEM_ID = "de.podfetcher.extra.feed.feedItemId";
|
public static final String EXTRA_FEED_ITEM_ID = "de.danoeh.antennapod.extra.feed.feedItemId";
|
||||||
public static final String EXTRA_FEED_ID = "de.podfetcher.extra.feed.feedId";
|
public static final String EXTRA_FEED_ID = "de.danoeh.antennapod.extra.feed.feedId";
|
||||||
|
|
||||||
/** Number of completed Download status entries to store. */
|
/** Number of completed Download status entries to store. */
|
||||||
private static final int DOWNLOAD_LOG_SIZE = 25;
|
private static final int DOWNLOAD_LOG_SIZE = 25;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.feed;
|
package de.danoeh.antennapod.feed;
|
||||||
|
|
||||||
public class FeedMedia extends FeedFile{
|
public class FeedMedia extends FeedFile{
|
||||||
private int duration;
|
private int duration;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.feed;
|
package de.danoeh.antennapod.feed;
|
||||||
|
|
||||||
public class SimpleChapter extends FeedComponent {
|
public class SimpleChapter extends FeedComponent {
|
||||||
public long getStart() {
|
public long getStart() {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.fragment;
|
package de.danoeh.antennapod.fragment;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
@ -10,12 +10,12 @@ import android.widget.TextView;
|
||||||
|
|
||||||
import com.actionbarsherlock.app.SherlockFragment;
|
import com.actionbarsherlock.app.SherlockFragment;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.asynctask.FeedImageLoader;
|
||||||
import de.podfetcher.asynctask.FeedImageLoader;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.feed.FeedMedia;
|
||||||
import de.podfetcher.feed.FeedMedia;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
/** Displays the cover and the title of a FeedItem. */
|
/** Displays the cover and the title of a FeedItem. */
|
||||||
public class CoverFragment extends SherlockFragment {
|
public class CoverFragment extends SherlockFragment {
|
|
@ -1,13 +1,13 @@
|
||||||
package de.podfetcher.fragment;
|
package de.danoeh.antennapod.fragment;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.activity.*;
|
||||||
import de.podfetcher.feed.*;
|
import de.danoeh.antennapod.adapter.FeedlistAdapter;
|
||||||
import de.podfetcher.activity.*;
|
import de.danoeh.antennapod.asynctask.FeedRemover;
|
||||||
import de.podfetcher.adapter.FeedlistAdapter;
|
import de.danoeh.antennapod.feed.*;
|
||||||
import de.podfetcher.asynctask.FeedRemover;
|
import de.danoeh.antennapod.service.DownloadService;
|
||||||
import de.podfetcher.storage.DownloadRequester;
|
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||||
import de.podfetcher.service.DownloadService;
|
import de.danoeh.antennapod.util.FeedMenuHandler;
|
||||||
import de.podfetcher.util.FeedMenuHandler;
|
import de.danoeh.antennapod.R;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
@ -31,7 +31,7 @@ import android.util.Log;
|
||||||
public class FeedlistFragment extends SherlockListFragment implements
|
public class FeedlistFragment extends SherlockListFragment implements
|
||||||
ActionMode.Callback {
|
ActionMode.Callback {
|
||||||
private static final String TAG = "FeedlistFragment";
|
private static final String TAG = "FeedlistFragment";
|
||||||
public static final String EXTRA_SELECTED_FEED = "extra.de.podfetcher.activity.selected_feed";
|
public static final String EXTRA_SELECTED_FEED = "extra.de.danoeh.antennapod.activity.selected_feed";
|
||||||
|
|
||||||
private FeedManager manager;
|
private FeedManager manager;
|
||||||
private FeedlistAdapter fla;
|
private FeedlistAdapter fla;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.fragment;
|
package de.danoeh.antennapod.fragment;
|
||||||
|
|
||||||
import java.io.UnsupportedEncodingException;
|
import java.io.UnsupportedEncodingException;
|
||||||
import java.net.URLEncoder;
|
import java.net.URLEncoder;
|
||||||
|
@ -16,9 +16,9 @@ import android.webkit.WebView;
|
||||||
|
|
||||||
import com.actionbarsherlock.app.SherlockFragment;
|
import com.actionbarsherlock.app.SherlockFragment;
|
||||||
|
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
|
|
||||||
/** Displays the description of a FeedItem in a Webview. */
|
/** Displays the description of a FeedItem in a Webview. */
|
||||||
public class ItemDescriptionFragment extends SherlockFragment {
|
public class ItemDescriptionFragment extends SherlockFragment {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.fragment;
|
package de.danoeh.antennapod.fragment;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
@ -18,23 +18,23 @@ import com.actionbarsherlock.view.Menu;
|
||||||
import com.actionbarsherlock.view.MenuInflater;
|
import com.actionbarsherlock.view.MenuInflater;
|
||||||
import com.actionbarsherlock.view.MenuItem;
|
import com.actionbarsherlock.view.MenuItem;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.activity.ItemviewActivity;
|
||||||
import de.podfetcher.activity.ItemviewActivity;
|
import de.danoeh.antennapod.adapter.FeedItemlistAdapter;
|
||||||
import de.podfetcher.adapter.FeedItemlistAdapter;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.service.DownloadService;
|
||||||
import de.podfetcher.service.DownloadService;
|
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||||
import de.podfetcher.storage.DownloadRequester;
|
import de.danoeh.antennapod.util.FeedItemMenuHandler;
|
||||||
import de.podfetcher.util.FeedItemMenuHandler;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
/** Displays a list of FeedItems. */
|
/** Displays a list of FeedItems. */
|
||||||
public class ItemlistFragment extends SherlockListFragment implements
|
public class ItemlistFragment extends SherlockListFragment implements
|
||||||
ActionMode.Callback {
|
ActionMode.Callback {
|
||||||
|
|
||||||
private static final String TAG = "ItemlistFragment";
|
private static final String TAG = "ItemlistFragment";
|
||||||
public static final String EXTRA_SELECTED_FEEDITEM = "extra.de.podfetcher.activity.selected_feeditem";
|
public static final String EXTRA_SELECTED_FEEDITEM = "extra.de.danoeh.antennapod.activity.selected_feeditem";
|
||||||
public static final String ARGUMENT_FEED_ID = "argument.de.podfetcher.feed_id";
|
public static final String ARGUMENT_FEED_ID = "argument.de.danoeh.antennapod.feed_id";
|
||||||
protected FeedItemlistAdapter fila;
|
protected FeedItemlistAdapter fila;
|
||||||
protected FeedManager manager;
|
protected FeedManager manager;
|
||||||
protected DownloadRequester requester;
|
protected DownloadRequester requester;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.fragment;
|
package de.danoeh.antennapod.fragment;
|
||||||
|
|
||||||
import android.content.BroadcastReceiver;
|
import android.content.BroadcastReceiver;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -11,8 +11,8 @@ import com.actionbarsherlock.view.Menu;
|
||||||
import com.actionbarsherlock.view.MenuInflater;
|
import com.actionbarsherlock.view.MenuInflater;
|
||||||
import com.actionbarsherlock.view.MenuItem;
|
import com.actionbarsherlock.view.MenuItem;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
public class QueueFragment extends ItemlistFragment {
|
public class QueueFragment extends ItemlistFragment {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.fragment;
|
package de.danoeh.antennapod.fragment;
|
||||||
|
|
||||||
import com.actionbarsherlock.view.Menu;
|
import com.actionbarsherlock.view.Menu;
|
||||||
import com.actionbarsherlock.view.MenuInflater;
|
import com.actionbarsherlock.view.MenuInflater;
|
||||||
|
@ -9,8 +9,8 @@ import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.IntentFilter;
|
import android.content.IntentFilter;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
/** Contains all unread items. */
|
/** Contains all unread items. */
|
||||||
public class UnreadItemlistFragment extends ItemlistFragment {
|
public class UnreadItemlistFragment extends ItemlistFragment {
|
|
@ -1,7 +1,7 @@
|
||||||
package de.podfetcher.receiver;
|
package de.danoeh.antennapod.receiver;
|
||||||
|
|
||||||
import de.podfetcher.PodcastApp;
|
import de.danoeh.antennapod.PodcastApp;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import android.content.BroadcastReceiver;
|
import android.content.BroadcastReceiver;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
@ -13,7 +13,7 @@ import android.util.Log;
|
||||||
/** Refreshes all feeds when it receives an intent */
|
/** Refreshes all feeds when it receives an intent */
|
||||||
public class FeedUpdateReceiver extends BroadcastReceiver {
|
public class FeedUpdateReceiver extends BroadcastReceiver {
|
||||||
private static final String TAG = "FeedUpdateReceiver";
|
private static final String TAG = "FeedUpdateReceiver";
|
||||||
public static final String ACTION_REFRESH_FEEDS = "de.podfetcher.feedupdatereceiver.refreshFeeds";
|
public static final String ACTION_REFRESH_FEEDS = "de.danoeh.antennapod.feedupdatereceiver.refreshFeeds";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onReceive(Context context, Intent intent) {
|
public void onReceive(Context context, Intent intent) {
|
|
@ -1,6 +1,6 @@
|
||||||
package de.podfetcher.receiver;
|
package de.danoeh.antennapod.receiver;
|
||||||
|
|
||||||
import de.podfetcher.service.PlaybackService;
|
import de.danoeh.antennapod.service.PlaybackService;
|
||||||
import android.content.BroadcastReceiver;
|
import android.content.BroadcastReceiver;
|
||||||
import android.content.ComponentName;
|
import android.content.ComponentName;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -13,9 +13,9 @@ import android.view.KeyEvent;
|
||||||
/** Receives media button events. */
|
/** Receives media button events. */
|
||||||
public class MediaButtonReceiver extends BroadcastReceiver {
|
public class MediaButtonReceiver extends BroadcastReceiver {
|
||||||
private static final String TAG = "MediaButtonReceiver";
|
private static final String TAG = "MediaButtonReceiver";
|
||||||
public static final String EXTRA_KEYCODE = "de.podfetcher.service.extra.MediaButtonReceiver.KEYCODE";
|
public static final String EXTRA_KEYCODE = "de.danoeh.antennapod.service.extra.MediaButtonReceiver.KEYCODE";
|
||||||
|
|
||||||
public static final String NOTIFY_BUTTON_RECEIVER = "de.podfetcher.NOTIFY_BUTTON_RECEIVER";
|
public static final String NOTIFY_BUTTON_RECEIVER = "de.danoeh.antennapod.NOTIFY_BUTTON_RECEIVER";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onReceive(Context context, Intent intent) {
|
public void onReceive(Context context, Intent intent) {
|
|
@ -1,6 +1,6 @@
|
||||||
package de.podfetcher.receiver;
|
package de.danoeh.antennapod.receiver;
|
||||||
|
|
||||||
import de.podfetcher.service.PlayerWidgetService;
|
import de.danoeh.antennapod.service.PlayerWidgetService;
|
||||||
import android.appwidget.AppWidgetManager;
|
import android.appwidget.AppWidgetManager;
|
||||||
import android.appwidget.AppWidgetProvider;
|
import android.appwidget.AppWidgetProvider;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -9,7 +9,7 @@ import android.util.Log;
|
||||||
|
|
||||||
public class PlayerWidget extends AppWidgetProvider {
|
public class PlayerWidget extends AppWidgetProvider {
|
||||||
private static final String TAG = "PlayerWidget";
|
private static final String TAG = "PlayerWidget";
|
||||||
public static final String FORCE_WIDGET_UPDATE = "de.podfetcher.FORCE_WIDGET_UPDATE";
|
public static final String FORCE_WIDGET_UPDATE = "de.danoeh.antennapod.FORCE_WIDGET_UPDATE";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onReceive(Context context, Intent intent) {
|
public void onReceive(Context context, Intent intent) {
|
|
@ -3,7 +3,7 @@
|
||||||
* to complete, then stops
|
* to complete, then stops
|
||||||
* */
|
* */
|
||||||
|
|
||||||
package de.podfetcher.service;
|
package de.danoeh.antennapod.service;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
@ -16,17 +16,17 @@ import javax.xml.parsers.ParserConfigurationException;
|
||||||
|
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
import de.podfetcher.activity.DownloadActivity;
|
import de.danoeh.antennapod.activity.DownloadActivity;
|
||||||
import de.podfetcher.activity.MediaplayerActivity;
|
import de.danoeh.antennapod.activity.MediaplayerActivity;
|
||||||
import de.podfetcher.activity.PodfetcherActivity;
|
import de.danoeh.antennapod.activity.MainActivity;
|
||||||
import de.podfetcher.asynctask.DownloadObserver;
|
import de.danoeh.antennapod.asynctask.DownloadObserver;
|
||||||
import de.podfetcher.asynctask.DownloadStatus;
|
import de.danoeh.antennapod.asynctask.DownloadStatus;
|
||||||
import de.podfetcher.feed.*;
|
import de.danoeh.antennapod.feed.*;
|
||||||
import de.podfetcher.service.PlaybackService.LocalBinder;
|
import de.danoeh.antennapod.service.PlaybackService.LocalBinder;
|
||||||
import de.podfetcher.storage.DownloadRequester;
|
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||||
import de.podfetcher.syndication.handler.FeedHandler;
|
import de.danoeh.antennapod.syndication.handler.FeedHandler;
|
||||||
import de.podfetcher.syndication.handler.UnsupportedFeedtypeException;
|
import de.danoeh.antennapod.syndication.handler.UnsupportedFeedtypeException;
|
||||||
import de.podfetcher.util.DownloadError;
|
import de.danoeh.antennapod.util.DownloadError;
|
||||||
import android.R;
|
import android.R;
|
||||||
import android.app.Notification;
|
import android.app.Notification;
|
||||||
import android.app.NotificationManager;
|
import android.app.NotificationManager;
|
||||||
|
@ -53,16 +53,16 @@ import android.os.Messenger;
|
||||||
public class DownloadService extends Service {
|
public class DownloadService extends Service {
|
||||||
private static final String TAG = "DownloadService";
|
private static final String TAG = "DownloadService";
|
||||||
|
|
||||||
public static String ACTION_ALL_FEED_DOWNLOADS_COMPLETED = "action.de.podfetcher.storage.all_feed_downloads_completed";
|
public static String ACTION_ALL_FEED_DOWNLOADS_COMPLETED = "action.de.danoeh.antennapod.storage.all_feed_downloads_completed";
|
||||||
public static final String ACTION_FEED_SYNC_COMPLETED = "action.de.podfetcher.service.feed_sync_completed";
|
public static final String ACTION_FEED_SYNC_COMPLETED = "action.de.danoeh.antennapod.service.feed_sync_completed";
|
||||||
|
|
||||||
public static final String ACTION_DOWNLOAD_HANDLED = "action.de.podfetcher.service.download_handled";
|
public static final String ACTION_DOWNLOAD_HANDLED = "action.de.danoeh.antennapod.service.download_handled";
|
||||||
/** True if handled feed has an image. */
|
/** True if handled feed has an image. */
|
||||||
public static final String EXTRA_FEED_HAS_IMAGE = "extra.de.podfetcher.service.feed_has_image";
|
public static final String EXTRA_FEED_HAS_IMAGE = "extra.de.danoeh.antennapod.service.feed_has_image";
|
||||||
/** ID of DownloadStatus. */
|
/** ID of DownloadStatus. */
|
||||||
public static final String EXTRA_STATUS_ID = "extra.de.podfetcher.service.feedfile_id";
|
public static final String EXTRA_STATUS_ID = "extra.de.danoeh.antennapod.service.feedfile_id";
|
||||||
public static final String EXTRA_DOWNLOAD_ID = "extra.de.podfetcher.service.download_id";
|
public static final String EXTRA_DOWNLOAD_ID = "extra.de.danoeh.antennapod.service.download_id";
|
||||||
public static final String EXTRA_IMAGE_DOWNLOAD_ID = "extra.de.podfetcher.service.image_download_id";
|
public static final String EXTRA_IMAGE_DOWNLOAD_ID = "extra.de.danoeh.antennapod.service.image_download_id";
|
||||||
|
|
||||||
private ArrayList<DownloadStatus> completedDownloads;
|
private ArrayList<DownloadStatus> completedDownloads;
|
||||||
|
|
||||||
|
@ -289,9 +289,9 @@ public class DownloadService extends Service {
|
||||||
// create notification object
|
// create notification object
|
||||||
Notification notification = new NotificationCompat.Builder(this)
|
Notification notification = new NotificationCompat.Builder(this)
|
||||||
.setTicker(
|
.setTicker(
|
||||||
getString(de.podfetcher.R.string.download_report_title))
|
getString(de.danoeh.antennapod.R.string.download_report_title))
|
||||||
.setContentTitle(
|
.setContentTitle(
|
||||||
getString(de.podfetcher.R.string.download_report_title))
|
getString(de.danoeh.antennapod.R.string.download_report_title))
|
||||||
.setContentText(
|
.setContentText(
|
||||||
successfulDownloads + " Downloads succeeded, "
|
successfulDownloads + " Downloads succeeded, "
|
||||||
+ failedDownloads + " failed")
|
+ failedDownloads + " failed")
|
||||||
|
@ -301,7 +301,7 @@ public class DownloadService extends Service {
|
||||||
R.drawable.stat_notify_sync))
|
R.drawable.stat_notify_sync))
|
||||||
.setContentIntent(
|
.setContentIntent(
|
||||||
PendingIntent.getActivity(this, 0, new Intent(this,
|
PendingIntent.getActivity(this, 0, new Intent(this,
|
||||||
PodfetcherActivity.class), 0))
|
MainActivity.class), 0))
|
||||||
.setAutoCancel(true).getNotification();
|
.setAutoCancel(true).getNotification();
|
||||||
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
||||||
nm.notify(REPORT_ID, notification);
|
nm.notify(REPORT_ID, notification);
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.service;
|
package de.danoeh.antennapod.service;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
|
@ -24,14 +24,14 @@ import android.support.v4.app.NotificationCompat;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.view.KeyEvent;
|
import android.view.KeyEvent;
|
||||||
import android.view.SurfaceHolder;
|
import android.view.SurfaceHolder;
|
||||||
import de.podfetcher.PodcastApp;
|
import de.danoeh.antennapod.PodcastApp;
|
||||||
import de.podfetcher.activity.MediaplayerActivity;
|
import de.danoeh.antennapod.activity.MediaplayerActivity;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.feed.FeedMedia;
|
import de.danoeh.antennapod.feed.FeedMedia;
|
||||||
import de.podfetcher.receiver.MediaButtonReceiver;
|
import de.danoeh.antennapod.receiver.MediaButtonReceiver;
|
||||||
import de.podfetcher.receiver.PlayerWidget;
|
import de.danoeh.antennapod.receiver.PlayerWidget;
|
||||||
|
|
||||||
/** Controls the MediaPlayer that plays a FeedMedia-file */
|
/** Controls the MediaPlayer that plays a FeedMedia-file */
|
||||||
public class PlaybackService extends Service {
|
public class PlaybackService extends Service {
|
||||||
|
@ -39,29 +39,29 @@ public class PlaybackService extends Service {
|
||||||
private static final String TAG = "PlaybackService";
|
private static final String TAG = "PlaybackService";
|
||||||
|
|
||||||
/** Contains the id of the media that was played last. */
|
/** Contains the id of the media that was played last. */
|
||||||
public static final String PREF_LAST_PLAYED_ID = "de.podfetcher.preferences.lastPlayedId";
|
public static final String PREF_LAST_PLAYED_ID = "de.danoeh.antennapod.preferences.lastPlayedId";
|
||||||
/** Contains the feed id of the last played item. */
|
/** Contains the feed id of the last played item. */
|
||||||
public static final String PREF_LAST_PLAYED_FEED_ID = "de.podfetcher.preferences.lastPlayedFeedId";
|
public static final String PREF_LAST_PLAYED_FEED_ID = "de.danoeh.antennapod.preferences.lastPlayedFeedId";
|
||||||
/** True if last played media was streamed. */
|
/** True if last played media was streamed. */
|
||||||
public static final String PREF_LAST_IS_STREAM = "de.podfetcher.preferences.lastIsStream";
|
public static final String PREF_LAST_IS_STREAM = "de.danoeh.antennapod.preferences.lastIsStream";
|
||||||
|
|
||||||
/** Contains the id of the FeedMedia object. */
|
/** Contains the id of the FeedMedia object. */
|
||||||
public static final String EXTRA_MEDIA_ID = "extra.de.podfetcher.service.mediaId";
|
public static final String EXTRA_MEDIA_ID = "extra.de.danoeh.antennapod.service.mediaId";
|
||||||
/** Contains the id of the Feed object of the FeedMedia. */
|
/** Contains the id of the Feed object of the FeedMedia. */
|
||||||
public static final String EXTRA_FEED_ID = "extra.de.podfetcher.service.feedId";
|
public static final String EXTRA_FEED_ID = "extra.de.danoeh.antennapod.service.feedId";
|
||||||
/** True if media should be streamed. */
|
/** True if media should be streamed. */
|
||||||
public static final String EXTRA_SHOULD_STREAM = "extra.de.podfetcher.service.shouldStream";
|
public static final String EXTRA_SHOULD_STREAM = "extra.de.danoeh.antennapod.service.shouldStream";
|
||||||
/**
|
/**
|
||||||
* True if playback should be started immediately after media has been
|
* True if playback should be started immediately after media has been
|
||||||
* prepared.
|
* prepared.
|
||||||
*/
|
*/
|
||||||
public static final String EXTRA_START_WHEN_PREPARED = "extra.de.podfetcher.service.startWhenPrepared";
|
public static final String EXTRA_START_WHEN_PREPARED = "extra.de.danoeh.antennapod.service.startWhenPrepared";
|
||||||
|
|
||||||
public static final String ACTION_PLAYER_STATUS_CHANGED = "action.de.podfetcher.service.playerStatusChanged";
|
public static final String ACTION_PLAYER_STATUS_CHANGED = "action.de.danoeh.antennapod.service.playerStatusChanged";
|
||||||
|
|
||||||
public static final String ACTION_PLAYER_NOTIFICATION = "action.de.podfetcher.service.playerNotification";
|
public static final String ACTION_PLAYER_NOTIFICATION = "action.de.danoeh.antennapod.service.playerNotification";
|
||||||
public static final String EXTRA_NOTIFICATION_CODE = "extra.de.podfetcher.service.notificationCode";
|
public static final String EXTRA_NOTIFICATION_CODE = "extra.de.danoeh.antennapod.service.notificationCode";
|
||||||
public static final String EXTRA_NOTIFICATION_TYPE = "extra.de.podfetcher.service.notificationType";
|
public static final String EXTRA_NOTIFICATION_TYPE = "extra.de.danoeh.antennapod.service.notificationType";
|
||||||
|
|
||||||
public static final int NOTIFICATION_TYPE_ERROR = 0;
|
public static final int NOTIFICATION_TYPE_ERROR = 0;
|
||||||
public static final int NOTIFICATION_TYPE_INFO = 1;
|
public static final int NOTIFICATION_TYPE_INFO = 1;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.service;
|
package de.danoeh.antennapod.service;
|
||||||
|
|
||||||
public enum PlayerStatus {
|
public enum PlayerStatus {
|
||||||
ERROR, PREPARING, PAUSED, PLAYING, STOPPED, PREPARED, SEEKING, AWAITING_VIDEO_SURFACE
|
ERROR, PREPARING, PAUSED, PLAYING, STOPPED, PREPARED, SEEKING, AWAITING_VIDEO_SURFACE
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.service;
|
package de.danoeh.antennapod.service;
|
||||||
|
|
||||||
import android.app.PendingIntent;
|
import android.app.PendingIntent;
|
||||||
import android.app.Service;
|
import android.app.Service;
|
||||||
|
@ -12,12 +12,12 @@ import android.util.Log;
|
||||||
import android.view.KeyEvent;
|
import android.view.KeyEvent;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.RemoteViews;
|
import android.widget.RemoteViews;
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.activity.MediaplayerActivity;
|
||||||
import de.podfetcher.activity.MediaplayerActivity;
|
import de.danoeh.antennapod.feed.FeedMedia;
|
||||||
import de.podfetcher.feed.FeedMedia;
|
import de.danoeh.antennapod.receiver.MediaButtonReceiver;
|
||||||
import de.podfetcher.receiver.MediaButtonReceiver;
|
import de.danoeh.antennapod.receiver.PlayerWidget;
|
||||||
import de.podfetcher.receiver.PlayerWidget;
|
import de.danoeh.antennapod.util.Converter;
|
||||||
import de.podfetcher.util.Converter;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
/** Updates the state of the player widget */
|
/** Updates the state of the player widget */
|
||||||
public class PlayerWidgetService extends Service {
|
public class PlayerWidgetService extends Service {
|
|
@ -1,13 +1,13 @@
|
||||||
package de.podfetcher.storage;
|
package de.danoeh.antennapod.storage;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
|
|
||||||
import de.podfetcher.feed.*;
|
import de.danoeh.antennapod.feed.*;
|
||||||
import de.podfetcher.service.DownloadService;
|
import de.danoeh.antennapod.service.DownloadService;
|
||||||
import de.podfetcher.util.NumberGenerator;
|
import de.danoeh.antennapod.util.NumberGenerator;
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.database.Cursor;
|
import android.database.Cursor;
|
||||||
|
@ -28,10 +28,10 @@ public class DownloadRequester {
|
||||||
private static final String TAG = "DownloadRequester";
|
private static final String TAG = "DownloadRequester";
|
||||||
private static final int currentApi = android.os.Build.VERSION.SDK_INT;
|
private static final int currentApi = android.os.Build.VERSION.SDK_INT;
|
||||||
|
|
||||||
public static String EXTRA_DOWNLOAD_ID = "extra.de.podfetcher.storage.download_id";
|
public static String EXTRA_DOWNLOAD_ID = "extra.de.danoeh.antennapod.storage.download_id";
|
||||||
public static String EXTRA_ITEM_ID = "extra.de.podfetcher.storage.item_id";
|
public static String EXTRA_ITEM_ID = "extra.de.danoeh.antennapod.storage.item_id";
|
||||||
|
|
||||||
public static String ACTION_DOWNLOAD_QUEUED = "action.de.podfetcher.storage.downloadQueued";
|
public static String ACTION_DOWNLOAD_QUEUED = "action.de.danoeh.antennapod.storage.downloadQueued";
|
||||||
|
|
||||||
|
|
||||||
private static boolean STORE_ON_SD = true;
|
private static boolean STORE_ON_SD = true;
|
|
@ -1,14 +1,14 @@
|
||||||
package de.podfetcher.storage;
|
package de.danoeh.antennapod.storage;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import de.podfetcher.asynctask.DownloadStatus;
|
import de.danoeh.antennapod.asynctask.DownloadStatus;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.FeedCategory;
|
import de.danoeh.antennapod.feed.FeedCategory;
|
||||||
import de.podfetcher.feed.FeedImage;
|
import de.danoeh.antennapod.feed.FeedImage;
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
import de.podfetcher.feed.FeedMedia;
|
import de.danoeh.antennapod.feed.FeedMedia;
|
||||||
import de.podfetcher.feed.SimpleChapter;
|
import de.danoeh.antennapod.feed.SimpleChapter;
|
||||||
import android.content.ContentValues;
|
import android.content.ContentValues;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.database.Cursor;
|
import android.database.Cursor;
|
||||||
|
@ -24,7 +24,7 @@ import android.util.Log;
|
||||||
public class PodDBAdapter {
|
public class PodDBAdapter {
|
||||||
private static final String TAG = "PodDBAdapter";
|
private static final String TAG = "PodDBAdapter";
|
||||||
private static final int DATABASE_VERSION = 1;
|
private static final int DATABASE_VERSION = 1;
|
||||||
private static final String DATABASE_NAME = "Podfetcher.db";
|
private static final String DATABASE_NAME = "Antennapod.db";
|
||||||
|
|
||||||
// Key-constants
|
// Key-constants
|
||||||
public static final String KEY_ID = "id";
|
public static final String KEY_ID = "id";
|
||||||
|
@ -547,7 +547,7 @@ public class PodDBAdapter {
|
||||||
return image;
|
return image;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Helper class for opening the Podfetcher database. */
|
/** Helper class for opening the Antennapod database. */
|
||||||
private static class PodDBHelper extends SQLiteOpenHelper {
|
private static class PodDBHelper extends SQLiteOpenHelper {
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.syndication.handler;
|
package de.danoeh.antennapod.syndication.handler;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
@ -9,7 +9,7 @@ import javax.xml.parsers.SAXParserFactory;
|
||||||
|
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
|
|
||||||
public class FeedHandler {
|
public class FeedHandler {
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package de.podfetcher.syndication.handler;
|
package de.danoeh.antennapod.syndication.handler;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Stack;
|
import java.util.Stack;
|
||||||
|
|
||||||
import de.podfetcher.syndication.namespace.Namespace;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.syndication.namespace.SyndElement;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.syndication.namespace.Namespace;
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.syndication.namespace.SyndElement;
|
||||||
|
|
||||||
/** Contains all relevant information to describe the current state of a SyndHandler.*/
|
/** Contains all relevant information to describe the current state of a SyndHandler.*/
|
||||||
public class HandlerState {
|
public class HandlerState {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.syndication.handler;
|
package de.danoeh.antennapod.syndication.handler;
|
||||||
|
|
||||||
import org.xml.sax.Attributes;
|
import org.xml.sax.Attributes;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
@ -6,14 +6,14 @@ import org.xml.sax.helpers.DefaultHandler;
|
||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.syndication.namespace.Namespace;
|
import de.danoeh.antennapod.syndication.namespace.Namespace;
|
||||||
import de.podfetcher.syndication.namespace.SyndElement;
|
import de.danoeh.antennapod.syndication.namespace.SyndElement;
|
||||||
import de.podfetcher.syndication.namespace.atom.NSAtom;
|
import de.danoeh.antennapod.syndication.namespace.atom.NSAtom;
|
||||||
import de.podfetcher.syndication.namespace.content.NSContent;
|
import de.danoeh.antennapod.syndication.namespace.content.NSContent;
|
||||||
import de.podfetcher.syndication.namespace.itunes.NSITunes;
|
import de.danoeh.antennapod.syndication.namespace.itunes.NSITunes;
|
||||||
import de.podfetcher.syndication.namespace.rss20.NSRSS20;
|
import de.danoeh.antennapod.syndication.namespace.rss20.NSRSS20;
|
||||||
import de.podfetcher.syndication.namespace.simplechapters.NSSimpleChapters;
|
import de.danoeh.antennapod.syndication.namespace.simplechapters.NSSimpleChapters;
|
||||||
|
|
||||||
/** Superclass for all SAX Handlers which process Syndication formats */
|
/** Superclass for all SAX Handlers which process Syndication formats */
|
||||||
public class SyndHandler extends DefaultHandler {
|
public class SyndHandler extends DefaultHandler {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.syndication.handler;
|
package de.danoeh.antennapod.syndication.handler;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
|
@ -12,7 +12,7 @@ import org.xmlpull.v1.XmlPullParserFactory;
|
||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
|
|
||||||
/** Gets the type of a specific feed by reading the root element. */
|
/** Gets the type of a specific feed by reading the root element. */
|
||||||
public class TypeGetter {
|
public class TypeGetter {
|
|
@ -1,6 +1,6 @@
|
||||||
package de.podfetcher.syndication.handler;
|
package de.danoeh.antennapod.syndication.handler;
|
||||||
|
|
||||||
import de.podfetcher.syndication.handler.TypeGetter.Type;
|
import de.danoeh.antennapod.syndication.handler.TypeGetter.Type;
|
||||||
|
|
||||||
public class UnsupportedFeedtypeException extends Exception {
|
public class UnsupportedFeedtypeException extends Exception {
|
||||||
private static final long serialVersionUID = 9105878964928170669L;
|
private static final long serialVersionUID = 9105878964928170669L;
|
|
@ -1,9 +1,9 @@
|
||||||
package de.podfetcher.syndication.namespace;
|
package de.danoeh.antennapod.syndication.namespace;
|
||||||
|
|
||||||
import org.xml.sax.Attributes;
|
import org.xml.sax.Attributes;
|
||||||
|
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.syndication.handler.HandlerState;
|
import de.danoeh.antennapod.syndication.handler.HandlerState;
|
||||||
|
|
||||||
|
|
||||||
public abstract class Namespace {
|
public abstract class Namespace {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.syndication.namespace;
|
package de.danoeh.antennapod.syndication.namespace;
|
||||||
|
|
||||||
/** Defines a XML Element that is pushed on the tagstack */
|
/** Defines a XML Element that is pushed on the tagstack */
|
||||||
public class SyndElement {
|
public class SyndElement {
|
|
@ -1,9 +1,9 @@
|
||||||
package de.podfetcher.syndication.namespace.atom;
|
package de.danoeh.antennapod.syndication.namespace.atom;
|
||||||
|
|
||||||
import org.apache.commons.lang3.StringEscapeUtils;
|
import org.apache.commons.lang3.StringEscapeUtils;
|
||||||
|
|
||||||
import de.podfetcher.syndication.namespace.Namespace;
|
import de.danoeh.antennapod.syndication.namespace.Namespace;
|
||||||
import de.podfetcher.syndication.namespace.SyndElement;
|
import de.danoeh.antennapod.syndication.namespace.SyndElement;
|
||||||
|
|
||||||
/** Represents Atom Element which contains text (content, title, summary). */
|
/** Represents Atom Element which contains text (content, title, summary). */
|
||||||
public class AtomText extends SyndElement {
|
public class AtomText extends SyndElement {
|
|
@ -1,18 +1,18 @@
|
||||||
package de.podfetcher.syndication.namespace.atom;
|
package de.danoeh.antennapod.syndication.namespace.atom;
|
||||||
|
|
||||||
import org.xml.sax.Attributes;
|
import org.xml.sax.Attributes;
|
||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.FeedImage;
|
import de.danoeh.antennapod.feed.FeedImage;
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
import de.podfetcher.feed.FeedMedia;
|
import de.danoeh.antennapod.feed.FeedMedia;
|
||||||
import de.podfetcher.syndication.handler.HandlerState;
|
import de.danoeh.antennapod.syndication.handler.HandlerState;
|
||||||
import de.podfetcher.syndication.namespace.Namespace;
|
import de.danoeh.antennapod.syndication.namespace.Namespace;
|
||||||
import de.podfetcher.syndication.namespace.SyndElement;
|
import de.danoeh.antennapod.syndication.namespace.SyndElement;
|
||||||
import de.podfetcher.syndication.namespace.rss20.NSRSS20;
|
import de.danoeh.antennapod.syndication.namespace.rss20.NSRSS20;
|
||||||
import de.podfetcher.syndication.util.SyndDateUtils;
|
import de.danoeh.antennapod.syndication.util.SyndDateUtils;
|
||||||
|
|
||||||
public class NSAtom extends Namespace {
|
public class NSAtom extends Namespace {
|
||||||
private static final String TAG = "NSAtom";
|
private static final String TAG = "NSAtom";
|
|
@ -1,11 +1,12 @@
|
||||||
package de.podfetcher.syndication.namespace.content;
|
package de.danoeh.antennapod.syndication.namespace.content;
|
||||||
|
|
||||||
import org.xml.sax.Attributes;
|
import org.xml.sax.Attributes;
|
||||||
|
|
||||||
import de.podfetcher.syndication.handler.HandlerState;
|
import de.danoeh.antennapod.syndication.handler.HandlerState;
|
||||||
import de.podfetcher.syndication.namespace.Namespace;
|
import de.danoeh.antennapod.syndication.namespace.Namespace;
|
||||||
import de.podfetcher.syndication.namespace.SyndElement;
|
import de.danoeh.antennapod.syndication.namespace.SyndElement;
|
||||||
import de.podfetcher.syndication.namespace.rss20.NSRSS20;
|
import de.danoeh.antennapod.syndication.namespace.rss20.NSRSS20;
|
||||||
|
|
||||||
import org.apache.commons.lang3.StringEscapeUtils;
|
import org.apache.commons.lang3.StringEscapeUtils;
|
||||||
|
|
||||||
public class NSContent extends Namespace {
|
public class NSContent extends Namespace {
|
|
@ -1,11 +1,11 @@
|
||||||
package de.podfetcher.syndication.namespace.itunes;
|
package de.danoeh.antennapod.syndication.namespace.itunes;
|
||||||
|
|
||||||
import org.xml.sax.Attributes;
|
import org.xml.sax.Attributes;
|
||||||
|
|
||||||
import de.podfetcher.feed.FeedImage;
|
import de.danoeh.antennapod.feed.FeedImage;
|
||||||
import de.podfetcher.syndication.handler.HandlerState;
|
import de.danoeh.antennapod.syndication.handler.HandlerState;
|
||||||
import de.podfetcher.syndication.namespace.Namespace;
|
import de.danoeh.antennapod.syndication.namespace.Namespace;
|
||||||
import de.podfetcher.syndication.namespace.SyndElement;
|
import de.danoeh.antennapod.syndication.namespace.SyndElement;
|
||||||
|
|
||||||
public class NSITunes extends Namespace{
|
public class NSITunes extends Namespace{
|
||||||
public static final String NSTAG = "itunes";
|
public static final String NSTAG = "itunes";
|
|
@ -1,17 +1,17 @@
|
||||||
package de.podfetcher.syndication.namespace.rss20;
|
package de.danoeh.antennapod.syndication.namespace.rss20;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.FeedImage;
|
import de.danoeh.antennapod.feed.FeedImage;
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
import de.podfetcher.feed.FeedMedia;
|
import de.danoeh.antennapod.feed.FeedMedia;
|
||||||
import de.podfetcher.syndication.handler.HandlerState;
|
import de.danoeh.antennapod.syndication.handler.HandlerState;
|
||||||
import de.podfetcher.syndication.handler.SyndHandler;
|
import de.danoeh.antennapod.syndication.handler.SyndHandler;
|
||||||
import de.podfetcher.syndication.namespace.Namespace;
|
import de.danoeh.antennapod.syndication.namespace.Namespace;
|
||||||
import de.podfetcher.syndication.namespace.SyndElement;
|
import de.danoeh.antennapod.syndication.namespace.SyndElement;
|
||||||
import de.podfetcher.syndication.util.SyndDateUtils;
|
import de.danoeh.antennapod.syndication.util.SyndDateUtils;
|
||||||
|
|
||||||
import org.xml.sax.Attributes;
|
import org.xml.sax.Attributes;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
|
@ -1,14 +1,14 @@
|
||||||
package de.podfetcher.syndication.namespace.simplechapters;
|
package de.danoeh.antennapod.syndication.namespace.simplechapters;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import org.xml.sax.Attributes;
|
import org.xml.sax.Attributes;
|
||||||
|
|
||||||
import de.podfetcher.feed.SimpleChapter;
|
import de.danoeh.antennapod.feed.SimpleChapter;
|
||||||
import de.podfetcher.syndication.handler.HandlerState;
|
import de.danoeh.antennapod.syndication.handler.HandlerState;
|
||||||
import de.podfetcher.syndication.namespace.Namespace;
|
import de.danoeh.antennapod.syndication.namespace.Namespace;
|
||||||
import de.podfetcher.syndication.namespace.SyndElement;
|
import de.danoeh.antennapod.syndication.namespace.SyndElement;
|
||||||
import de.podfetcher.syndication.util.SyndDateUtils;
|
import de.danoeh.antennapod.syndication.util.SyndDateUtils;
|
||||||
|
|
||||||
public class NSSimpleChapters extends Namespace {
|
public class NSSimpleChapters extends Namespace {
|
||||||
public static final String NSTAG = "sc";
|
public static final String NSTAG = "sc";
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.syndication.util;
|
package de.danoeh.antennapod.syndication.util;
|
||||||
|
|
||||||
import java.text.ParseException;
|
import java.text.ParseException;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.util;
|
package de.danoeh.antennapod.util;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.HttpURLConnection;
|
import java.net.HttpURLConnection;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.util;
|
package de.danoeh.antennapod.util;
|
||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package de.podfetcher.util;
|
package de.danoeh.antennapod.util;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.R;
|
||||||
import android.app.DownloadManager;
|
import android.app.DownloadManager;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.util;
|
package de.danoeh.antennapod.util;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
@ -8,10 +8,10 @@ import com.actionbarsherlock.view.Menu;
|
||||||
import com.actionbarsherlock.view.MenuInflater;
|
import com.actionbarsherlock.view.MenuInflater;
|
||||||
import com.actionbarsherlock.view.MenuItem;
|
import com.actionbarsherlock.view.MenuItem;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||||
import de.podfetcher.storage.DownloadRequester;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
/** Handles interactions with the FeedItemMenu. */
|
/** Handles interactions with the FeedItemMenu. */
|
||||||
public class FeedItemMenuHandler {
|
public class FeedItemMenuHandler {
|
|
@ -1,8 +1,8 @@
|
||||||
package de.podfetcher.util;
|
package de.danoeh.antennapod.util;
|
||||||
|
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
|
|
||||||
/** Compares the pubDate of two FeedItems for sorting*/
|
/** Compares the pubDate of two FeedItems for sorting*/
|
||||||
public class FeedItemPubdateComparator implements Comparator<FeedItem> {
|
public class FeedItemPubdateComparator implements Comparator<FeedItem> {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.util;
|
package de.danoeh.antennapod.util;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
@ -10,13 +10,13 @@ import com.actionbarsherlock.view.Menu;
|
||||||
import com.actionbarsherlock.view.MenuInflater;
|
import com.actionbarsherlock.view.MenuInflater;
|
||||||
import com.actionbarsherlock.view.MenuItem;
|
import com.actionbarsherlock.view.MenuItem;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.activity.FeedInfoActivity;
|
||||||
import de.podfetcher.activity.FeedInfoActivity;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.feed.FeedManager;
|
||||||
import de.podfetcher.feed.FeedManager;
|
import de.danoeh.antennapod.service.DownloadService;
|
||||||
import de.podfetcher.service.DownloadService;
|
import de.danoeh.antennapod.storage.DownloadRequester;
|
||||||
import de.podfetcher.storage.DownloadRequester;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
/** Handles interactions with the FeedItemMenu. */
|
/** Handles interactions with the FeedItemMenu. */
|
||||||
public class FeedMenuHandler {
|
public class FeedMenuHandler {
|
|
@ -1,8 +1,8 @@
|
||||||
package de.podfetcher.util;
|
package de.danoeh.antennapod.util;
|
||||||
|
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
|
|
||||||
/** Compares the title of two feeds for sorting. */
|
/** Compares the title of two feeds for sorting. */
|
||||||
public class FeedtitleComparator implements Comparator<Feed> {
|
public class FeedtitleComparator implements Comparator<Feed> {
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.util;
|
package de.danoeh.antennapod.util;
|
||||||
|
|
||||||
import java.util.EnumSet;
|
import java.util.EnumSet;
|
||||||
|
|
||||||
|
@ -20,9 +20,9 @@ import android.net.Uri;
|
||||||
import android.preference.PreferenceManager;
|
import android.preference.PreferenceManager;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
import de.podfetcher.PodcastApp;
|
import de.danoeh.antennapod.PodcastApp;
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.activity.FlattrAuthActivity;
|
||||||
import de.podfetcher.activity.FlattrAuthActivity;
|
import de.danoeh.antennapod.R;
|
||||||
|
|
||||||
/** Utility methods for doing something with flattr. */
|
/** Utility methods for doing something with flattr. */
|
||||||
public class FlattrUtils {
|
public class FlattrUtils {
|
|
@ -1,6 +1,6 @@
|
||||||
package de.podfetcher.util;
|
package de.danoeh.antennapod.util;
|
||||||
|
|
||||||
import de.podfetcher.R;
|
import de.danoeh.antennapod.R;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.media.MediaPlayer;
|
import android.media.MediaPlayer;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.util;
|
package de.danoeh.antennapod.util;
|
||||||
|
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
|
@ -1,7 +1,7 @@
|
||||||
package de.podfetcher.util;
|
package de.danoeh.antennapod.util;
|
||||||
|
|
||||||
import de.podfetcher.feed.Feed;
|
import de.danoeh.antennapod.feed.Feed;
|
||||||
import de.podfetcher.feed.FeedItem;
|
import de.danoeh.antennapod.feed.FeedItem;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package de.podfetcher.util;
|
package de.danoeh.antennapod.util;
|
||||||
|
|
||||||
import de.podfetcher.activity.StorageErrorActivity;
|
import de.danoeh.antennapod.activity.StorageErrorActivity;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.os.Environment;
|
import android.os.Environment;
|
|
@ -1,4 +1,4 @@
|
||||||
package de.podfetcher.util;
|
package de.danoeh.antennapod.util;
|
||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
Loading…
Reference in New Issue