Commit 7d8844aa by Thomas Krex

abgabe-version

parent 58beccea
......@@ -36,22 +36,6 @@
android:configChanges="orientation|screenSize"
android:label="Feeds"
android:launchMode="singleTask" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="ttt.in.tum.de"
android:pathPattern="/lectures/rss\\.php\\\?.*"
android:scheme="http" />
</intent-filter>
</activity>
<activity
android:name="tttclient.activities.FeedDetailActivity"
......
......@@ -36,22 +36,6 @@
android:configChanges="orientation|screenSize"
android:label="Feeds"
android:launchMode="singleTask" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="ttt.in.tum.de"
android:pathPattern="/lectures/rss\\.php\\\?.*"
android:scheme="http" />
</intent-filter>
</activity>
<activity
android:name="tttclient.activities.FeedDetailActivity"
......
......@@ -322,41 +322,35 @@ int id abs__submit_area 0x7f04002f
int id abs__textButton 0x7f040013
int id abs__title 0x7f04001b
int id abs__up 0x7f04000b
int id action_settings 0x7f040048
int id add 0x7f040047
int id button_paste 0x7f04003f
int id button_save 0x7f04003e
int id checkBox1 0x7f04003b
int id connect_btn 0x7f04003a
int id action_settings 0x7f040042
int id add 0x7f040041
int id button_paste 0x7f04003a
int id button_save 0x7f040039
int id disableHome 0x7f040009
int id edit_query 0x7f040026
int id empty 0x7f040042
int id extend 0x7f04004b
int id feedDetailsLv 0x7f040043
int id feed_list 0x7f040041
int id empty 0x7f04003d
int id extend 0x7f040045
int id feedDetailsLv 0x7f04003e
int id feed_list 0x7f04003c
int id homeAsUp 0x7f040006
int id indexScrollView 0x7f040033
int id itemTitle 0x7f040045
int id indexScrollView 0x7f040035
int id itemTitle 0x7f04003f
int id listMode 0x7f040002
int id next 0x7f04004a
int id next 0x7f040044
int id normal 0x7f040001
int id playerView_extended 0x7f040034
int id playerView_fullscreen 0x7f040036
int id port_tx 0x7f040039
int id progressBar 0x7f040044
int id scrollView1 0x7f040035
int id search 0x7f040049
int id server_tx 0x7f040038
int id playerView_extended 0x7f040036
int id playerView_fullscreen 0x7f040034
int id search 0x7f040043
int id showCustom 0x7f040008
int id showHome 0x7f040005
int id showTitle 0x7f040007
int id statusIcon 0x7f040046
int id statusIcon 0x7f040040
int id tabMode 0x7f040003
int id textView1 0x7f040040
int id tx_name 0x7f04003d
int id tx_url 0x7f04003c
int id textView1 0x7f04003b
int id tx_name 0x7f040038
int id tx_url 0x7f040037
int id useLogo 0x7f040004
int id viewSwitcher 0x7f040037
int id viewSwitcher 0x7f040033
int id watch_button 0x7f040032
int id wrap_content 0x7f040000
int integer abs__max_action_buttons 0x7f080000
......@@ -382,17 +376,15 @@ int layout abs__search_dropdown_item_icons_2line 0x7f030012
int layout abs__search_view 0x7f030013
int layout abs__simple_dropdown_hint 0x7f030014
int layout activity_main 0x7f030015
int layout activity_player_extended 0x7f030016
int layout activity_player_fullscreen_overlay 0x7f030017
int layout activity_player_main 0x7f030018
int layout dialog_connect 0x7f030019
int layout dialog_feeds 0x7f03001a
int layout empty_feeds 0x7f03001b
int layout feed_activity 0x7f03001c
int layout feed_details_activity 0x7f03001d
int layout list_feeditems 0x7f03001e
int layout sherlock_spinner_dropdown_item 0x7f03001f
int layout sherlock_spinner_item 0x7f030020
int layout activity_player_main 0x7f030016
int layout dialog_feeds 0x7f030017
int layout empty_feed_items 0x7f030018
int layout empty_feeds 0x7f030019
int layout feed_activity 0x7f03001a
int layout feed_details_activity 0x7f03001b
int layout list_feeditems 0x7f03001c
int layout sherlock_spinner_dropdown_item 0x7f03001d
int layout sherlock_spinner_item 0x7f03001e
int menu feed_menu 0x7f0b0000
int menu main 0x7f0b0001
int menu player_menu 0x7f0b0002
......@@ -410,35 +402,38 @@ int string abs__searchview_description_voice 0x7f09000c
int string abs__shareactionprovider_share_with 0x7f090006
int string abs__shareactionprovider_share_with_application 0x7f090007
int string action_settings 0x7f09000e
int string add_feed 0x7f09001f
int string add_feed 0x7f09001a
int string app_name 0x7f09000d
int string cancel 0x7f090018
int string confirm_download 0x7f090016
int string connect 0x7f090011
int string delete 0x7f09001e
int string delete_feed 0x7f09001c
int string delete_lecture 0x7f09001d
int string deleted 0x7f09001b
int string cancel 0x7f090013
int string confirm_download 0x7f090011
int string delete 0x7f090019
int string delete_feed 0x7f090017
int string delete_lecture 0x7f090018
int string deleted 0x7f090016
int string hello_world 0x7f09000f
int string inet_needed 0x7f090019
int string multicast 0x7f090015
int string not_found 0x7f09001a
int string parse_fail_message 0x7f090021
int string parse_fail_title 0x7f090020
int string port 0x7f090013
int string prompt_title 0x7f090014
int string server_adresse 0x7f090012
int string inet_needed 0x7f090014
int string no_feeds 0x7f090024
int string no_lectures 0x7f090023
int string not_found 0x7f090015
int string parse_fail_message 0x7f09001c
int string parse_fail_title 0x7f09001b
int string paste_url 0x7f09001e
int string save 0x7f09001d
int string toast_clipboard_no_url 0x7f09001f
int string toast_insert_name 0x7f090020
int string toast_insert_url 0x7f090021
int string toast_internet_needed 0x7f090022
int string wait 0x7f090010
int string yes 0x7f090017
int string watch 0x7f090025
int string yes 0x7f090012
int style ActionBar_Solid_Customactionbar 0x7f0a005b
int style ActionBar_Transparent_Customactionbar 0x7f0a005c
int style ActionBarTabStyle_Customactionbar 0x7f0a005f
int style ActionButton_CloseMode_Customactionbar 0x7f0a0062
int style ActionBarTabStyle_Customactionbar 0x7f0a005e
int style ActionButton_CloseMode_Customactionbar 0x7f0a0061
int style AppBaseTheme 0x7f0a0059
int style DropDownListView_Customactionbar 0x7f0a005e
int style DropDownNav_Customactionbar 0x7f0a0060
int style PopupMenu_Customactionbar 0x7f0a005d
int style ProgressBar_Customactionbar 0x7f0a0061
int style DropDownListView_Customactionbar 0x7f0a005d
int style DropDownNav_Customactionbar 0x7f0a005f
int style ProgressBar_Customactionbar 0x7f0a0060
int style Sherlock___TextAppearance_Small 0x7f0a0046
int style Sherlock___Theme 0x7f0a0051
int style Sherlock___Theme_DarkActionBar 0x7f0a0053
......@@ -477,7 +472,7 @@ int style TextAppearance_Sherlock_Widget_PopupMenu_Large 0x7f0a0040
int style TextAppearance_Sherlock_Widget_PopupMenu_Small 0x7f0a0042
int style TextAppearance_Sherlock_Widget_TextView_SpinnerItem 0x7f0a0044
int style Theme_Customactionbar 0x7f0a005a
int style Theme_Customactionbar_Widget 0x7f0a0063
int style Theme_Customactionbar_Widget 0x7f0a0062
int style Theme_Sherlock 0x7f0a0054
int style Theme_Sherlock_Light 0x7f0a0055
int style Theme_Sherlock_Light_DarkActionBar 0x7f0a0056
......
......@@ -15,6 +15,7 @@
android:layout_centerHorizontal="true"
android:layout_marginTop="75dp"
android:background="@android:color/transparent"
android:text="Watch Lectures" />
android:text="@string/watch" >
</Button>
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<ScrollView
android:id="@+id/indexScrollView"
android:layout_width="200dp"
android:layout_height="fill_parent"
android:layout_weight="3"
android:paddingLeft="5dip" >
</ScrollView>
<ImageView
android:id="@+id/playerView_extended"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_toRightOf="@+id/scrollView1"
android:layout_weight="5"
android:background="@drawable/my_border"
android:padding="10dip"
android:scaleType="centerInside"
android:src="@drawable/ic_launcher" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<EditText
android:id="@+id/server_tx"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginTop="63dp"
android:ems="10"
android:hint="@string/server_adresse" />
<EditText
android:id="@+id/port_tx"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/server_tx"
android:layout_marginTop="39dp"
android:ems="10"
android:hint="@string/port"
android:inputType="number" />
<Button
android:id="@+id/connect_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/checkBox1"
android:layout_centerHorizontal="true"
android:layout_marginTop="26dp"
android:text="@string/connect" />
<CheckBox
android:id="@+id/checkBox1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@+id/port_tx"
android:layout_marginTop="27dp"
android:text="@string/multicast" />
</RelativeLayout>
\ No newline at end of file
......@@ -12,7 +12,8 @@
android:layout_below="@+id/tx_name"
android:layout_marginTop="33dp"
android:ems="10"
android:hint="Url" />
android:hint="Url"
android:singleLine="true" />
<EditText
android:id="@+id/tx_name"
......@@ -22,7 +23,8 @@
android:layout_alignParentTop="true"
android:layout_marginTop="23dp"
android:ems="10"
android:hint="Name" />
android:hint="Name"
android:singleLine="true" />
<Button
android:id="@+id/button_save"
......@@ -32,8 +34,8 @@
android:layout_below="@+id/tx_url"
android:layout_marginRight="52dp"
android:layout_marginTop="32dp"
android:background="@android:color/transparent"
android:text="Save" />
android:text="@string/save" >
</Button>
<Button
android:id="@+id/button_paste"
......@@ -43,7 +45,7 @@
android:layout_alignBottom="@+id/button_save"
android:layout_alignParentLeft="true"
android:layout_marginLeft="58dp"
android:background="@android:color/transparent"
android:text="Paste URL" />
android:text="@string/paste_url" >
</Button>
</RelativeLayout>
\ No newline at end of file
......@@ -2,13 +2,15 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
android:orientation="vertical" >
<ImageView
android:id="@+id/playerView_fullscreen"
<TextView
android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" />
android:gravity="center"
android:text="@string/no_lectures"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="@android:color/darker_gray" />
</LinearLayout>
\ No newline at end of file
......@@ -9,7 +9,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="No Feeds found!!! \n\n Add a feed by clicking on \n + \nin the Actionbar"
android:text="@string/no_feeds"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="@android:color/darker_gray" />
......
......@@ -15,7 +15,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout="@layout/empty_feeds" >
android:layout="@layout/empty_feed_items" >
</ViewStub>
</LinearLayout>
\ No newline at end of file
......@@ -11,14 +11,12 @@
android:layout_centerVertical="true" >
</ListView>
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleLarge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:visibility="gone" >
</ProgressBar>
<ViewStub
android:id="@+id/empty"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout="@layout/empty_feed_items" >
</ViewStub>
</RelativeLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!-- File created by the Android Action Bar Style Generator
<!--
File created by the Android Action Bar Style Generator
Copyright (C) 2011 The Android Open Source Project
Copyright (C) 2012 readyState Software Ltd
......@@ -19,36 +20,32 @@
<resources>
<style name="Theme.Customactionbar" parent="@style/Theme.Sherlock.Light">
<item name="android:actionBarItemBackground">@drawable/selectable_background_customactionbar</item>
<item name="android:popupMenuStyle">@style/PopupMenu.Customactionbar</item>
<item name="android:dropDownListViewStyle">@style/DropDownListView.Customactionbar</item>
<item name="android:actionBarTabStyle">@style/ActionBarTabStyle.Customactionbar</item>
<item name="android:actionDropDownStyle">@style/DropDownNav.Customactionbar</item>
<item name="android:actionBarStyle">@style/ActionBar.Solid.Customactionbar</item>
<item name="android:actionModeBackground">@drawable/cab_background_top_customactionbar</item>
<item name="android:actionModeSplitBackground">@drawable/cab_background_bottom_customactionbar</item>
<item name="android:actionModeCloseButtonStyle">@style/ActionButton.CloseMode.Customactionbar</item>
</style>
<style name="ActionBar.Solid.Customactionbar" parent="@style/Widget.Sherlock.Light.ActionBar.Solid">
<item name="android:background">@drawable/ab_solid_customactionbar</item>
<item name="android:backgroundStacked">@drawable/ab_stacked_solid_customactionbar</item>
<item name="android:backgroundSplit">@drawable/ab_bottom_solid_customactionbar</item>
<item name="android:progressBarStyle">@style/ProgressBar.Customactionbar</item>
</style>
<style name="ActionBar.Transparent.Customactionbar" parent="@style/Widget.Sherlock.Light.ActionBar">
<item name="android:background">@drawable/ab_transparent_customactionbar</item>
<item name="android:progressBarStyle">@style/ProgressBar.Customactionbar</item>
</style>
<!-- this style is only referenced in a Light.DarkActionBar based theme -->
<style name="Theme.Customactionbar.Widget" parent="@style/Theme.Sherlock">
<item name="android:popupMenuStyle">@style/PopupMenu.Customactionbar</item>
<item name="android:dropDownListViewStyle">@style/DropDownListView.Customactionbar</item>
</style>
<style name="Theme.Customactionbar" parent="@style/Theme.Sherlock.Light">
<item name="android:actionBarItemBackground">@drawable/selectable_background_customactionbar</item>
<item name="android:dropDownListViewStyle">@style/DropDownListView.Customactionbar</item>
<item name="android:actionBarTabStyle">@style/ActionBarTabStyle.Customactionbar</item>
<item name="android:actionDropDownStyle">@style/DropDownNav.Customactionbar</item>
<item name="android:actionBarStyle">@style/ActionBar.Solid.Customactionbar</item>
<item name="android:actionModeBackground">@drawable/cab_background_top_customactionbar</item>
<item name="android:actionModeSplitBackground">@drawable/cab_background_bottom_customactionbar</item>
<item name="android:actionModeCloseButtonStyle">@style/ActionButton.CloseMode.Customactionbar</item>
</style>
<style name="ActionBar.Solid.Customactionbar" parent="@style/Widget.Sherlock.Light.ActionBar.Solid">
<item name="android:background">@drawable/ab_solid_customactionbar</item>
<item name="android:backgroundStacked">@drawable/ab_stacked_solid_customactionbar</item>
<item name="android:backgroundSplit">@drawable/ab_bottom_solid_customactionbar</item>
<item name="android:progressBarStyle">@style/ProgressBar.Customactionbar</item>
</style>
<style name="ActionBar.Transparent.Customactionbar" parent="@style/Widget.Sherlock.Light.ActionBar">
<item name="android:background">@drawable/ab_transparent_customactionbar</item>
<item name="android:progressBarStyle">@style/ProgressBar.Customactionbar</item>
</style>
<!-- this style is only referenced in a Light.DarkActionBar based theme -->
<style name="Theme.Customactionbar.Widget" parent="@style/Theme.Sherlock">
<item name="android:dropDownListViewStyle">@style/DropDownListView.Customactionbar</item>
</style>
</resources>
\ No newline at end of file
......@@ -5,22 +5,26 @@
<string name="action_settings">Settings</string>
<string name="hello_world">Hello world!</string>
<string name="wait">Please Wait. Reading File</string>
<string name="connect"> Connect</string>
<string name="server_adresse">Server Adresse</string>
<string name="port">Port</string>
<string name="prompt_title">Connect to a Lecture</string>
<string name="multicast">Enabling Multicast</string>
<string name="confirm_download">Do you want to download this Lecture?\nThis could take some time and can\'t be canceled</string>
<string name="yes">Yes</string>
<string name="cancel">Cancel</string>
<string name="inet_needed">Internet Connection needed</string>
<string name="not_found">File was not found</string>
<string name="deleted">File was deleted</string>
<string name="delete_feed">Do you want to delete this feed? All Lectures saved on this devices will be deleted</string>
<string name="delete_feed">Do you want to delete this feed? All corresponding Lectures on this devices will be deleted!</string>
<string name="delete_lecture"> Do you want to delete this lecture from your devices?</string>
<string name="delete">Delete</string>
<string name="add_feed">Add a new Feed</string>
<string name="parse_fail_title">Connection Failed!!!</string>
<string name="parse_fail_message">Please make sure that the URL is correct and reachable</string>
<string name="save">Save</string>
<string name="paste_url">Paste URL</string>
<string name="toast_clipboard_no_url">no URL in clipboard</string>
<string name="toast_insert_name">Please insert a name for this feed</string>
<string name="toast_insert_url">Please insert a valid Url</string>
<string name="toast_internet_needed">Internet Connection needed</string>
<string name="no_lectures">No Lectures Available</string>
<string name="no_feeds">No Feeds found!!! \n\n Add a feed by clicking on \n + \nin the Actionbar</string>
<string name="watch">Watch Lectures</string>
</resources>
\ No newline at end of file
......@@ -22,7 +22,6 @@
<style name="Theme.Customactionbar" parent="@style/Theme.Sherlock.Light.DarkActionBar">
<item name="actionBarItemBackground">@drawable/selectable_background_customactionbar</item>
<item name="popupMenuStyle">@style/PopupMenu.Customactionbar</item>
<item name="dropDownListViewStyle">@style/DropDownListView.Customactionbar</item>
<item name="actionBarTabStyle">@style/ActionBarTabStyle.Customactionbar</item>
<item name="actionDropDownStyle">@style/DropDownNav.Customactionbar</item>
......@@ -44,10 +43,6 @@
<item name="progressBarStyle">@style/ProgressBar.Customactionbar</item>
</style>
<style name="PopupMenu.Customactionbar" parent="@style/Widget.Sherlock.Light.ListPopupWindow">
<item name="android:popupBackground">@drawable/menu_dropdown_panel_customactionbar</item>
</style>
<style name="DropDownListView.Customactionbar" parent="@style/Widget.Sherlock.Light.ListView.DropDown">
<item name="android:listSelector">@drawable/selectable_background_customactionbar</item>
</style>
......@@ -72,7 +67,6 @@
<!-- this style is only referenced in a Light.DarkActionBar based theme -->
<style name="Theme.Customactionbar.Widget" parent="@style/Theme.Sherlock">
<item name="popupMenuStyle">@style/PopupMenu.Customactionbar</item>
<item name="dropDownListViewStyle">@style/DropDownListView.Customactionbar</item>
</style>
......
......@@ -51,10 +51,11 @@ public class FeedActivity extends SherlockActivity implements
private SimpleCursorAdapter adapter;
private String feedUrl;
private String feedName;
private int feedId;
private Dialog addDialog;
EditText urlTxt;
EditText nameTxt;
private int feedId;
private Vibrator myVib;
private ListView feedLv;
......@@ -74,6 +75,7 @@ public class FeedActivity extends SherlockActivity implements
android.R.id.text1, android.R.id.text2 });
feedLv.setAdapter(adapter);
// set view for empty list
View empty = findViewById(R.id.empty);
feedLv.setEmptyView(empty);
feedLv.setOnItemClickListener(this);
......@@ -108,13 +110,16 @@ public class FeedActivity extends SherlockActivity implements
@Override
public void onClick(View v) {
// ClipBoardManager moved from android.text to android.content.
// ClipBoardManager moved from android.text to android.content
// from API 10 to 11
// // pasting for API >= 11
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
android.content.ClipboardManager clipboard = (android.content.ClipboardManager) getSystemService(Context.CLIPBOARD_SERVICE);
if (!clipboard.hasPrimaryClip()) {
Toast.makeText(getApplicationContext(),
"no URL in clipboard", Toast.LENGTH_SHORT)
.show();
R.string.toast_clipboard_no_url,
Toast.LENGTH_SHORT).show();
} else {
ClipData.Item item = clipboard.getPrimaryClip()
.getItemAt(0);
......@@ -122,12 +127,12 @@ public class FeedActivity extends SherlockActivity implements
urlTxt.setText(pasteText);
}
} else {
// pasting for ANdroid Gingerbread
// pasting for API < 11
android.text.ClipboardManager clipboard = (android.text.ClipboardManager) getSystemService(CLIPBOARD_SERVICE);
if (!clipboard.hasText())
Toast.makeText(getApplicationContext(),
"no URL in clipboard", Toast.LENGTH_SHORT)
.show();
R.string.toast_clipboard_no_url,
Toast.LENGTH_SHORT).show();
else {
urlTxt.setText(clipboard.getText());
}
......@@ -145,8 +150,8 @@ public class FeedActivity extends SherlockActivity implements
String name = nameTxt.getText().toString();
if (name.isEmpty()) {
Toast.makeText(getApplicationContext(),
"Please insert a name for this feed",
Toast.LENGTH_LONG).show();
R.string.toast_insert_name, Toast.LENGTH_LONG)
.show();
return;
}
......@@ -154,7 +159,7 @@ public class FeedActivity extends SherlockActivity implements
// validate url
if (!URLUtil.isValidUrl(url)) {
Toast.makeText(getApplicationContext(),
"Please insert a valid Url", Toast.LENGTH_LONG)
R.string.toast_insert_url, Toast.LENGTH_LONG)
.show();
return;
......@@ -182,16 +187,6 @@ public class FeedActivity extends SherlockActivity implements
}
});
// Intent intent = getIntent();
// String action = intent.getAction();
// if (Intent.ACTION_VIEW.equals(action)) {
// Log.d("IntentFIlter", intent.getDataString());
// urlTxt.setText(intent.getDataString());
// addDialog.show();
// }
}
@Override
......
......@@ -26,14 +26,13 @@ import android.os.Bundle;
import android.os.Handler;
import android.os.ResultReceiver;
import android.os.Vibrator;
import android.util.Log;
import android.support.v4.widget.SimpleCursorAdapter;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.AdapterView.OnItemLongClickListener;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.SimpleCursorAdapter;
import android.widget.Toast;
import com.actionbarsherlock.app.SherlockActivity;
......@@ -43,7 +42,7 @@ import de.tum.in.tttclient.R;
/**
* Activity parses feed items at each start via ParseService and stores them in
* the database via FeedItemDbManager. Can download lectures via DOwnloadService
* and start the replay.
* and start the playback.
*
* @author Thomas Krex
*
......@@ -54,7 +53,7 @@ public class FeedDetailActivity extends SherlockActivity implements
private static String path;
private static String link;
private static String title;
public Feed feed;
private static Feed feed;
ArrayList<FeedItem> itemList;
ParseService feedParser;
FeedItemDbManager manager;
......@@ -64,7 +63,7 @@ public class FeedDetailActivity extends SherlockActivity implements
Vibrator myVib;
/**