Added README.txt and GPL Header to Source Files
authorpk910 <philipp@pk910.de>
Mon, 7 Mar 2016 23:19:57 +0000 (00:19 +0100)
committerpk910 <philipp@pk910.de>
Mon, 7 Mar 2016 23:19:57 +0000 (00:19 +0100)
74 files changed:
app/src/main/java/de/dhbwloe/campusapp/AppCompatPreferenceActivity.java
app/src/main/java/de/dhbwloe/campusapp/CampusApp.java
app/src/main/java/de/dhbwloe/campusapp/CampusAppContext.java
app/src/main/java/de/dhbwloe/campusapp/CampusAppFragment.java
app/src/main/java/de/dhbwloe/campusapp/NavigationManager.java
app/src/main/java/de/dhbwloe/campusapp/README.txt [new file with mode: 0644]
app/src/main/java/de/dhbwloe/campusapp/Tools.java
app/src/main/java/de/dhbwloe/campusapp/database/DatabaseManager.java
app/src/main/java/de/dhbwloe/campusapp/database/MensaplanDatabaseHelper.java
app/src/main/java/de/dhbwloe/campusapp/database/NewsDatabaseHelper.java
app/src/main/java/de/dhbwloe/campusapp/database/NfcCardData.java
app/src/main/java/de/dhbwloe/campusapp/database/VorlesungsplanDatabaseHelper.java
app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearch.java
app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchDhbw.java
app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchInternal.java
app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchListAdapter.java
app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchListItem.java
app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchProvider.java
app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchStuv.java
app/src/main/java/de/dhbwloe/campusapp/fragments/Dashboard.java
app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardMensa.java
app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardNewsDhbw.java
app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardNewsStuv.java
app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardVorlesungsplan.java
app/src/main/java/de/dhbwloe/campusapp/fragments/FirstRun.java
app/src/main/java/de/dhbwloe/campusapp/fragments/Impressum.java
app/src/main/java/de/dhbwloe/campusapp/fragments/Mensa.java
app/src/main/java/de/dhbwloe/campusapp/fragments/MensaCard.java
app/src/main/java/de/dhbwloe/campusapp/fragments/MensaTagesplan.java
app/src/main/java/de/dhbwloe/campusapp/fragments/MensaTagesplanListAdapter.java
app/src/main/java/de/dhbwloe/campusapp/fragments/News.java
app/src/main/java/de/dhbwloe/campusapp/fragments/NewsListAdapter.java
app/src/main/java/de/dhbwloe/campusapp/fragments/NewsListItem.java
app/src/main/java/de/dhbwloe/campusapp/fragments/PopupFragment.java
app/src/main/java/de/dhbwloe/campusapp/fragments/Settings.java
app/src/main/java/de/dhbwloe/campusapp/fragments/SplashScreen.java
app/src/main/java/de/dhbwloe/campusapp/fragments/Vorlesungsplan.java
app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExams.java
app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExamsListAdapter.java
app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExamsListItem.java
app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroups.java
app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroupsListAdapter.java
app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroupsListItem.java
app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcoming.java
app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingCourseListItem.java
app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingDayListAdapter.java
app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingDayListItem.java
app/src/main/java/de/dhbwloe/campusapp/fragments/WebBrowser.java
app/src/main/java/de/dhbwloe/campusapp/fragments/WifiSettings.java
app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaTagesplan.java
app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaplanManager.java
app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaplanManagerInterface.java
app/src/main/java/de/dhbwloe/campusapp/network/IscRequestHelper.java
app/src/main/java/de/dhbwloe/campusapp/network/XmlEntry.java
app/src/main/java/de/dhbwloe/campusapp/network/XmlRequestHelper.java
app/src/main/java/de/dhbwloe/campusapp/news/NewsItem.java
app/src/main/java/de/dhbwloe/campusapp/news/NewsManager.java
app/src/main/java/de/dhbwloe/campusapp/news/NewsManagerInterface.java
app/src/main/java/de/dhbwloe/campusapp/search/DhbwSearchHelper.java
app/src/main/java/de/dhbwloe/campusapp/search/SearchHelper.java
app/src/main/java/de/dhbwloe/campusapp/search/SearchIndices.java
app/src/main/java/de/dhbwloe/campusapp/search/SearchResultListener.java
app/src/main/java/de/dhbwloe/campusapp/search/SearchTarget.java
app/src/main/java/de/dhbwloe/campusapp/search/StuvSearchHelper.java
app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CalendarManager.java
app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CalendarManagerInterface.java
app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CourseEvent.java
app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CourseGroup.java
app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginManager.java
app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginSocketFactory.java
app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginTask.java
app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginTrustManager.java
app/src/main/java/de/dhbwloe/campusapp/wifi/WifiConfigurationManager.java
app/src/main/java/de/dhbwloe/campusapp/wifi/WifiNetworkSettings.java

index 3423ee583b3a163b53cd248a85d65604ba0e13d6..3c9eb8f9410fde18c2e374a2ab5155f10f5c55ef 100644 (file)
@@ -1,3 +1,18 @@
+/* AppCompatPreferenceActivity.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp;
 
 import android.content.res.Configuration;
index 719d8297de7f21498f58eac011adf7bf844441f5..654a4dc1f708a187ec7a35c948ed201f059f16b4 100644 (file)
@@ -1,3 +1,18 @@
+/* CampusApp.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp;
 
 import android.content.Context;
@@ -54,12 +69,14 @@ public class CampusApp extends FragmentActivity {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.activity_campus_app);
 
+        // Erstelle neuen AppContext, wenn keiner existiert
         AppContext = CampusAppContext.getInstance();
         if(AppContext == null)
             AppContext = new CampusAppContext(this, R.id.fragment_container);
         else
             AppContext.setMainActivity(this);
 
+        // Wenn die App aus dem Ruhezustand (oder auch Orientation change) reaktiviert wird soll nicht zuerst der Splashscreen angezeigt werden.
         boolean instantRestore = false;
         if(savedInstanceState != null) {
             long lastrun = savedInstanceState.getLong("lastrun");
@@ -68,6 +85,7 @@ public class CampusApp extends FragmentActivity {
             if(lastrun < 30) {
                 instantRestore = true;
 
+                // restore previous Title
                 AppContext.setTitle(savedInstanceState.getString("activetitle"));
             }
 
@@ -92,6 +110,7 @@ public class CampusApp extends FragmentActivity {
     @Override
     public void onSaveInstanceState(Bundle savedInstanceState) {
         Log.i("CampusApp", "Event: onSaveInstanceState");
+
         // Save instance state during "restarts" due to orientation changes.
         // We don't want to see the splash screen everytime the orientation changes ;)
         savedInstanceState.putLong("lastrun", (new Date()).getTime() / 1000);
@@ -104,8 +123,6 @@ public class CampusApp extends FragmentActivity {
 
         // Always call the superclass so it can save the view hierarchy state
         super.onSaveInstanceState(savedInstanceState);
-
-        AppContext = null; // simulate GC
     }
 
     public void prepareMainUi() {
@@ -177,6 +194,7 @@ public class CampusApp extends FragmentActivity {
         EditText edtSearchInput = (EditText) findViewById(R.id.search_input);
         TextView txtTitle = (TextView) findViewById(R.id.title);
 
+        // EventListener für Suchfunktion
         btnOpenSearch.setOnClickListener(new View.OnClickListener() {
             @Override
             public void onClick(View view) {
index 4fddc35accd381ca52f50add127c7b278b265d15..cb37e26787687c14a5139c49363bf16aaa481bb7 100644 (file)
@@ -1,3 +1,18 @@
+/* CampusAppContext.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp;
 
 import android.app.Activity;
@@ -49,7 +64,7 @@ public class CampusAppContext {
     }
 
     public static final String APPVERSION = "0.1.1 (beta)";
-    private final AppPage[] PAGES = {
+    private final AppPage[] PAGES = { // Hier müssen alle Fragmente, die auf der Activity angezeigt werden sollen eingetragen werden.
             new AppPage("SplashScreen", SplashScreen.class),
             new AppPage("Dashboard", Dashboard.class),
             new AppPage("AppSearch", AppSearch.class),
@@ -86,6 +101,7 @@ public class CampusAppContext {
         oDatabaseManager = new DatabaseManager(this);
         oNfcCardListener = new NfcCardListener(this);
 
+        // Alle Fragmente "registrieren"
         for(int i = 0; i < PAGES.length; i++)
             oNavigationManager.registerPage(PAGES[i].name, PAGES[i].fragment, PAGES[i].fragementType);
 
@@ -115,6 +131,7 @@ public class CampusAppContext {
     }
 
     public void setTitle(String title) {
+        // Ã„ndern des Titels (Im App Header angezeigt)
         PopupFragment popup = oNavigationManager.getDialog();
         if(popup != null) {
             if(popup.getDialog() != null)
@@ -130,6 +147,7 @@ public class CampusAppContext {
     }
 
     public void addDefaultSearchIndexes() {
+        // Alle Search Indices der eigetragenen Seiten beziehen und in der Datenbank speichern
         for(int i = 0; i < PAGES.length; i++) {
             try {
                 Method m = PAGES[i].fragment.getMethod("GetSearchIndices");
@@ -150,6 +168,7 @@ public class CampusAppContext {
     }
 
     private void onNfcCardDataReceived(NfcCardData data) {
+        // NFC Daten erhalten
         Bundle bundle = new Bundle();
         double cardBalance = data.getBalance() / 100.0;
         bundle.putDouble("balance", cardBalance);
@@ -159,6 +178,7 @@ public class CampusAppContext {
         oContextVariables.putDouble("nfcCardBalance", cardBalance);
 
         String pagename = oNavigationManager.getCurrentPageName();
+        // Update angezeigtes Guthaben lediglich, wenn das Fragment bereits angezeigt wird
         if(pagename != null && pagename.equalsIgnoreCase("MensaCard")) {
             MensaCard fragment = (MensaCard) oNavigationManager.getCurrentFragment();
             fragment.showNfcCardData(bundle);
@@ -171,6 +191,7 @@ public class CampusAppContext {
     }
 
     public String getResString(int id, Object... arguments) {
+        // printf like resource strings
         String format = getResString(id);
         String res = String.format(format, arguments);
         return res;
index 4707a733b5805e4e3ef9f782a60340d64674730c..a27fb2c26aaf7d4e37c4a89cae18d983db815b73 100644 (file)
@@ -1,3 +1,18 @@
+/* CampusAppFragment.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp;
 
 import android.os.Bundle;
index daa84eabf49d4cf158f53ededd30729b99ccae77..ed339dd8a6b10cad42f64815ebf234ccd8de9f2b 100644 (file)
@@ -1,3 +1,18 @@
+/* NavigationManager.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp;
 
 import android.os.Bundle;
@@ -27,11 +42,19 @@ public class NavigationManager {
     };
 
     private CampusAppContext AppContext;
+
+    // Derzeitig angezeigtes Fragment
     private NavPage oCurrentPage;
-    private NavPage oParentPage;
     private Fragment oCurrentFragment;
+
+    // Hintergrund Fragment (bei Popups)
+    private NavPage oParentPage;
     private Fragment oParentFragment;
+
+    // Container ID
     private int iFragmentContainerId;
+
+    // Alle registrierte Fragmente mit Name
     private ArrayList<NavPage> lNavigationPages = new ArrayList<NavPage>();
 
     public NavigationManager(CampusAppContext context, int fragmentContainer) {
@@ -79,12 +102,13 @@ public class NavigationManager {
     }
 
     public void navigatePage(String name, Bundle args, boolean history) {
-
+        // Suche Fragment
         NavPage page = getPageByName(name);
         if(page == null)
             return;
         Fragment fragment;
 
+        // Wenn das Fragment als Popup angeziegt werden soll, muss zunächst das Popup Fragment geladen werden.
         if(page.fragmentType == 3) {
             PopupFragment popupFragment = new PopupFragment();
             if(args == null)
@@ -122,7 +146,7 @@ public class NavigationManager {
             }
             transaction.add(iFragmentContainerId, fragment);
         }
-        if (history)
+        if (history) // Hinzufügen zur App History (Zurück Button)
             transaction.addToBackStack(null);
 
         oCurrentPage = page;
@@ -174,6 +198,7 @@ public class NavigationManager {
     }
 
     public boolean closeDialog() {
+        // Popup schließen
         if(oCurrentPage != null && oCurrentPage.fragmentType == 3) {
             PopupFragment fragment = (PopupFragment) oCurrentFragment;
             boolean wasAdded = false;
diff --git a/app/src/main/java/de/dhbwloe/campusapp/README.txt b/app/src/main/java/de/dhbwloe/campusapp/README.txt
new file mode 100644 (file)
index 0000000..0be5a3e
--- /dev/null
@@ -0,0 +1,74 @@
+Die gesamte App wurde auf Basis einer einzigen Activity,
+auf welcher dynamisch Fragmente ausgetauscht werden aufgebaut.
+
+Wichtige Java Klassen der App:
+* CampusApp
+ Die Klasse der haupt Activity.
+ In dieser Klasse befindet sich die initialisierung des Grundgerüsts der App.
+ Dazu gehören die Headerleise inklusive Such-Eingabe, die Navigationsleiste sowie
+ der Platzhalter für spätere Fragmente.
+ Die Klasse bildet den haupt Einstiegspunkt der App (Launcher) und erstellt beim start
+ eine global verfügbare Instanz der Klasse CampusAppContext
+
+* CampusAppContext
+ Der "Kontext" der App, ein einzelnes zentrales Objekt,
+ was zur Laufzeit für alle weiteren teile der App zur verfügung steht.
+ Innerhalb der Klasse CampusAppContext werden instanzen zum Navigations Manager,
+ Datenbank Manager und der App Activity bereitgestellt.
+
+* NavigationManager
+ Der Navigationsmanager (instanziert durch CampusAppContext) verwaltet die auf der
+ App Activity angezeigten Fragmente und dient zur App internen Navigation.
+ z.B.  AppContext.getNavigationManager().navigatePage("Dashboard")
+ Die einzelnen Fragmente der App müssen in CampusAppContext eingetragen werden.
+
+* fragments/*
+ Fragmentspezifischer Code. Jedes Fragment der App wird im Hintergrund von einer
+ eigenen Klasse verwaltet, welche hier zu finden ist.
+ Fragmente, welche auf der App Activity angezeigt werden sollen müssen
+ die Klasse CampusAppFragment erweitern.
+ Die Klassen wurden dabei stets nach dem prinzip
+  <FragmentName>(<Unterfragment>)*(ListAdapter/ListItem)
+ benannt.
+
+* database/*
+ Datenbankspezifischer Code. Sämmtliche Datenbankabfragen werden durch die Klasse
+ DatabaseManager verwaltet. Je nach Abfrage werden hierbei die entsprechenden Hilfsklassen
+ MensaplanDatabaseHelper, NewsDatabaseHelper, VorlesungsplanDatabaseHelper genutzt.
+ Auch die Struktur der Datenbank wird vom DatabaseManager beim ersten Start der App erstellt
+ und bietet eine einfache Möglichkeit für spätere Updates der Struktur.
+
+* mensaplan/*
+ Beinhaltet Code zum Herungerladen, Einlesen und Speicherung der durch die
+ XML Schnittstelle bereitgestellten Daten.
+ Die Klasse MensaTagesplan repräsentiert ein einzelnes Menü der Mensa.
+ Diese Klasse dient als Transportobjekt sowohl vom XML Parser zur Datenbank
+ als auch von der Datenbank an andere Teile der App.
+
+* news/*
+ Selbes Prinzip wie mensaplan/*, jedoch fürs Einlesen der News (XML Parser)
+
+* vorlesungen/*
+ Selbes Prinzip wie mensaplan/*, jedoch fürs Einlesen der Vorlesungsdaten (ICAL Parser)
+
+* nfcreader/*
+ Code zum einlesen der Mensakarte. Dieser Code ist zu großen Teilen nicht selbst erstellt.
+ Bereitgestellt durch: https://git.sterul.com/student-projects/dhbw-card-reader
+
+* search/*
+ Beinhaltet Code zur Verwaltung der App Suche.
+ Auch die entsprechenden HTTP Clients zur weiterleitung der Sucheingaben an die DHBW/STUV Webseite
+ befinden sich hier (DhbwSearchHelper, StuvSearchHelper)
+ Die App interne Suche besteht im grunde aus einem haufen von der App selbst erstellter
+ Search Indices (Klasse SearchIndices) welche in der Datnebank gespeichert werden.
+ Mithilfe der Klasse SearchTarget werden die teilweise mit Parametern bestückten
+ Ziel Seiten dekodiert und aufgerufen. (z.B. #Vorlesungsplan#groupid=15 )
+
+* network/*
+ Beinhaltet Hilfsklassen für den XML/ISC Parser
+
+* wifi/*
+ Beinhaltet Hilfsklassen für die automatische WLAN Konfiguration.
+ Unter anderem sind ist hier auch der von der DHBW Bereitgestellte
+ "Secure Login" für das dhbw-wlan realisiert.
+
index 5829802fc08f71fee4ba165a815c2e9fa143c182..6b6cd03ed1d1ccf5d037aec918848f6fe56585f8 100644 (file)
@@ -1,3 +1,18 @@
+/* Tools.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp;
 
 import android.view.View;
index 6a515b42a3c97ed0d6676c42928ab1d9bcf85f9a..d042bd0810a3e4b6fc1f121b96deb1b2477ce56b 100644 (file)
@@ -1,5 +1,19 @@
+/* DatabaseManager.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.database;
-
 import android.app.Activity;
 import android.content.ContentValues;
 import android.database.Cursor;
@@ -32,7 +46,8 @@ import de.dhbwloe.campusapp.vorlesungen.CourseGroup;
  */
 public class DatabaseManager {
     private static final String DATABASE_NAME = "DHBWLoe.CampusApp.db";
-    private static final int DATABASE_VERSION = 2;
+    private static final int DATABASE_VERSION = 2; // Datenbank Version - muss bei strukturellen Anpassungen erhöht werden
+
     private CampusAppContext AppContext;
     private SQLiteDatabase database;
     private NewsDatabaseHelper newsDBHelper;
@@ -55,6 +70,7 @@ public class DatabaseManager {
         openDatabase();
         database.execSQL("CREATE TABLE IF NOT EXISTS Version(Version INT);");
 
+        // Abfragen der Datenbank Version
         Cursor resultSet = database.rawQuery("Select * from Version", null);
         int version;
         if(resultSet.moveToFirst()) {
@@ -65,15 +81,12 @@ public class DatabaseManager {
         }
 
         resultSet.close();
-        if(version < DATABASE_VERSION)
+        if(version < DATABASE_VERSION) // Upgrade der Datenbank Struktur (oder auch Initialisierung)
             upgradeTables(version, DATABASE_VERSION);
-
-        //database.execSQL("DELETE FROM CourseCalendar");
-        //database.execSQL("DELETE FROM CourseCalendarEvent");
     }
 
     private void upgradeTables(int oldVersion, int newVersion) {
-        if(oldVersion == 0 && newVersion > 0) {
+        if(oldVersion == 0 && newVersion > 0) { // Initialisierung (noch keine Datenbank)
             database.execSQL("CREATE TABLE IF NOT EXISTS RuntimeCache " +
                     "(" +
                     "Reference TEXT, " +
@@ -90,6 +103,8 @@ public class DatabaseManager {
                     "StaticEntry INT, " +
                     "UpdateTime INT, " +
                     "TargetPage TEXT);");
+
+            // Vorlesungsplan
             database.execSQL("CREATE TABLE IF NOT EXISTS CourseCalendar " +
                     "(" +
                     "Id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, " +
@@ -114,14 +129,6 @@ public class DatabaseManager {
                     "PRIMARY KEY (EventId, EventFrom, EventTo)" +
                     ");");
             database.execSQL("CREATE INDEX CourseCalendarEventIdx ON CourseCalendarEvent (EventFrom, EventTo);");
-            database.execSQL("CREATE TABLE IF NOT EXISTS NfcCardStore " +
-                    "(" +
-                    "CardId INT, " +
-                    "UpdateTime INT," +
-                    "CardBalance INT, " +
-                    "CardLastTransaction INT, " +
-                    "PRIMARY KEY (CardId, UpdateTime)" +
-                    ");");
             database.execSQL("CREATE TABLE IF NOT EXISTS CourseCalendarGroup " +
                     "(" +
                     "GroupId INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, " +
@@ -131,6 +138,18 @@ public class DatabaseManager {
                     "UNIQUE (GroupName)" +
                     ");");
             database.execSQL("CREATE INDEX CourseCalendarGroupIdx ON CourseCalendarGroup (CourseName, GroupName);");
+
+            // Mensa Karten History is this actually used?)
+            database.execSQL("CREATE TABLE IF NOT EXISTS NfcCardStore " +
+                    "(" +
+                    "CardId INT, " +
+                    "UpdateTime INT," +
+                    "CardBalance INT, " +
+                    "CardLastTransaction INT, " +
+                    "PRIMARY KEY (CardId, UpdateTime)" +
+                    ");");
+
+            // Mensaplan
             database.execSQL("CREATE TABLE IF NOT EXISTS MensaPlan " +
                     "(" +
                     "PlanDate INT, " +
@@ -146,6 +165,8 @@ public class DatabaseManager {
                     "PriceSchool INT, " +
                     "PRIMARY KEY (PlanDate, MenuName)" +
                     ");");
+
+            // News
             database.execSQL("CREATE TABLE IF NOT EXISTS News " +
                     "(" +
                     "Id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, " +
@@ -175,6 +196,7 @@ public class DatabaseManager {
     }
 
     public void addSearchIndices(SearchIndices[] indices) {
+        // Hinzufügen oder Updaten mehrerer SearchIndice Objekte
         openDatabase();
         for(int i = 0; i < indices.length; i++) {
             String[] whereArgs = new String[] {
@@ -209,6 +231,7 @@ public class DatabaseManager {
     }
 
     public SearchIndices[] performSearchRequest(String query, int maxResults) {
+        // App Suche
         openDatabase();
         String[] whereArgs = new String[] {
                 "%" + query + "%"
@@ -243,6 +266,7 @@ public class DatabaseManager {
     }
 
     public void setRuntimeCache(String name, String value) {
+        // Simple cache for runtime options
         openDatabase();
         long now = (new Date()).getTime() / 1000;
         String[] whereArgs = new String[] {
index a8a6fd44558825275062a44b0d8a8253c4f13616..a7e7e7a19c7c5f530e3a76d3da49bd0018ce435c 100644 (file)
@@ -1,3 +1,18 @@
+/* MensaplanDatabaseHelper.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.database;
 
 import android.content.ContentValues;
index f80aaacf307c935969f6dae62fe4916c087336a4..5e97ccf2a3b07f567917252c0be7e9add744804f 100644 (file)
@@ -1,3 +1,18 @@
+/* NewsDatabaseHelper.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.database;
 
 import android.content.ContentValues;
index c76061d7c3f6d633c86a7239bc2a52e68641ef35..255244690268e9fff4c92ca414355c23cc33474f 100644 (file)
@@ -1,3 +1,18 @@
+/* NfcCardData.java
+ * 
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.database;
 
 import java.util.Date;
index 2894cc871cfa381405a46f216b8078fd544f6a4b..aef37d81ac0574dc5f098cdf40d84097cc2cbe16 100644 (file)
@@ -1,3 +1,18 @@
+/* VorlesungsplanDatabaseHelper.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.database;
 
 import android.content.ContentValues;
index 10041e348946c757931652513d4385a9e952b62d..e7b8bf1ddceafd0c0796f3bb03a60320e67ebdf7 100644 (file)
@@ -1,6 +1,19 @@
+/* AppSearch.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.design.widget.TabLayout;
 import android.support.v4.app.Fragment;
index 7956c1f44ec594be1f6d0291c01f813c5a755fa8..a9bdc9c8f5a84bb1226614f1ab04680fcbf81354 100644 (file)
@@ -1,6 +1,19 @@
+/* AppSearchDhbw.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.util.Log;
index ddc662e3e4597ec966277a5b6225051eac62b949..6fdc8ae388ec56ad1c15c7fc662f04eed9cb9c1b 100644 (file)
@@ -1,6 +1,19 @@
+/* AppSearchInternal.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.util.Log;
index 90015d487c5025c4fb085a30fedb570f0e3d78dc..5419354b802402bfb83c08da10c5eb3a033ad294 100644 (file)
@@ -1,5 +1,19 @@
+/* AppSearchListAdapter.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import android.content.Context;
 import android.view.LayoutInflater;
 import android.view.View;
index cff66a179ed092bc584d780dcad9b80414d88bd5..98b52cc9ec7d84aa85fe84620d03b7e84b994e84 100644 (file)
@@ -1,3 +1,18 @@
+/* AppSearchListItem.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
 
 import de.dhbwloe.campusapp.search.SearchTarget;
index 550a2b534d1f258f59a852e0475ea1c6594b5517..670162efb705874a4d383d739545c95d81c035fc 100644 (file)
@@ -1,3 +1,18 @@
+/* AppSearchProvider.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
 
 /**
index b1e6f83426007599254c13f16fd3dc2e02a09543..8eff4db0f906a3519ec8fa4cecf7e24dccb48a2b 100644 (file)
@@ -1,6 +1,19 @@
+/* AppSearchStuv.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.util.Log;
index 8034015e240da3295eb0dfd695db8d9f45798680..85ddee07fe00338a010d43dd3323663f55931d2a 100644 (file)
@@ -1,5 +1,19 @@
+/* Dashboard.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import de.dhbwloe.campusapp.CampusAppFragment;
 
 import android.os.Bundle;
index fdfea3d8b63bdb9cc13bb07ef49e0100e168a614..81f75e4bd1a9626a2e2e4842487b877642219fc7 100644 (file)
@@ -1,6 +1,19 @@
+/* DashboardMensa.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.view.LayoutInflater;
index 20f1ad8f18fd04380e134e5fbd2b72e7b8781e25..9567438e6a10e0d5407dfae65c4ff5ebd29adf16 100644 (file)
@@ -1,6 +1,19 @@
+/* DashboardNewsDhbw.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.view.LayoutInflater;
index 57bf356b299ba922779bc92504ade93100f12ffe..92e80e9f1b71d8c1f3ca8ba7a54fc1be846716a4 100644 (file)
@@ -1,6 +1,19 @@
+/* DashboardNewsStuv.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.view.LayoutInflater;
index 91e56c435ade80f8e38f3e5fbc1587f4c3226b9b..ca143963801ef10ff0ab6bac04c6943acf8e7141 100644 (file)
@@ -1,6 +1,19 @@
+/* DashboardVorlesungsplan.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Build;
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
index ac67163623ce719735f0f39b160a5394189d2f52..1267e5b7ed806304325775133432f407e3fdab25 100644 (file)
@@ -1,6 +1,19 @@
+/* FirstRun.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.view.LayoutInflater;
index 66e09b33c2a8ad1f13738ea1300ebaf8bb720d0c..2742ae6c3b445a19e61227de11fce599f06d42be 100644 (file)
@@ -1,6 +1,19 @@
+/* Impressum.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.support.v4.app.FragmentActivity;
index 3f911a2b0f55c63a166354d1d58f17a37d1e6eb2..daa7427225a5a7a81e25a679ddde75f149444bd1 100644 (file)
@@ -1,6 +1,19 @@
+/* Mensa.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.design.widget.TabLayout;
 import android.support.v4.app.Fragment;
index 3933be96d10bd5416cef539e6200d3a964d61174..a19ca37a96322093309611a1bf23a2a7bfcba5ea 100644 (file)
@@ -1,5 +1,19 @@
+/* MensaCard.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import android.content.Context;
 import android.net.Uri;
 import android.os.Bundle;
index 7216738b9058bb2bc30891b36f4765f630fda3e9..1b72744efeff26b99da17da1668f909ba806b42e 100644 (file)
@@ -1,6 +1,19 @@
+/* MensaTagesplan.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.view.LayoutInflater;
index c8509e8f878dbfd37c39943f22c1395b771105c5..039ab0b7d952ba983daffaba9568d53ec6b35a30 100644 (file)
@@ -1,5 +1,19 @@
+/* MensaTagesplanListAdapter.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import android.content.Context;
 import android.view.LayoutInflater;
 import android.view.View;
index 2d4be417a0521b47d26a24a0ae144e6260af30f8..d2e6e0a3edb4ec72503ab2639cc87bd53a7394fd 100644 (file)
@@ -1,6 +1,19 @@
+/* News.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.support.v4.app.FragmentActivity;
index 6de086ea481221c7cd45cbee5eede6cc95ad8c8d..0af247fe993cef2b726fc203125a94ff635514b5 100644 (file)
@@ -1,5 +1,19 @@
+/* NewsListAdapter.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import android.content.Context;
 import android.view.LayoutInflater;
 import android.view.View;
index e0da6c4c7d563cc3ce9f7643dd47ea580ff60263..359c2a3b418e3d6691d259fad0b4466d6ff4ce15 100644 (file)
@@ -1,5 +1,19 @@
+/* NewsListItem.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import java.text.SimpleDateFormat;
 import java.util.Date;
 
index 51058fe2920124abb39bf38dcd771cc8802b8b99..216af461e337057e241b1dd66bd77da503e7f56b 100644 (file)
@@ -1,5 +1,19 @@
+/* PopupFragment.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import android.content.DialogInterface;
 import android.os.Bundle;
 import android.support.v4.app.DialogFragment;
index d320591baed7cc408d593d2012c24228b919648b..f59d2237469d7b54b03f8cc887bb35d0a7d082e5 100644 (file)
@@ -1,6 +1,19 @@
+/* Settings.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.view.LayoutInflater;
index 77cb27eea36bc31c7f112464edf6c05eafb610ce..e94ddb3712e8f608efc7b184365a1a377364ad51 100644 (file)
@@ -1,6 +1,19 @@
+/* SplashScreen.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.graphics.Bitmap;
 import android.graphics.BitmapFactory;
 import android.graphics.Point;
index a0bde341d8e7827dc27329cfc7450e5b16e50bb9..14a82dbf69af5473f61ea06496d396fa9a4803b4 100644 (file)
@@ -1,6 +1,19 @@
+/* Vorlesungsplan.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.design.widget.TabLayout;
 import android.support.v4.app.Fragment;
index ae3245df9e6d3622c24ddd07d0f0528be9bdceff..0e3cf588e3daa48cc37511a7a44b6d475b263e1e 100644 (file)
@@ -1,6 +1,19 @@
+/* VorlesungsplanExams.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.view.LayoutInflater;
index 4fb489cb5e8e2b82f0ec998df10ae0812b76f606..354167ea5331787553829d68189eb5e5c9d1f250 100644 (file)
@@ -1,5 +1,19 @@
+/* VorlesungsplanExamsListAdapter.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import android.content.Context;
 import android.view.LayoutInflater;
 import android.view.View;
index e8ff5ab8db9574e1ba0f772290da19ca6647bcb5..fb7fecd1e51c5b9de60097041c4146069ed4176c 100644 (file)
@@ -1,5 +1,19 @@
+/* VorlesungsplanExamsListItem.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import java.text.SimpleDateFormat;
 import java.util.Date;
 
index 1ba916bca95fc87d4de6089b5d7fb5bef9c14a15..8fbde48c27956579c67f16be8eb37f7e6056aba3 100644 (file)
@@ -1,6 +1,19 @@
+/* VorlesungsplanGroups.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.text.method.CharacterPickerDialog;
index d7c501070038cab4487ea53dd2c11b5f09cc4a2c..c341ffeb929e4af88cf64fda203cc3934d3a58ee 100644 (file)
@@ -1,5 +1,19 @@
+/* VorlesungsplanGroupsListAdapter.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import android.content.Context;
 import android.view.LayoutInflater;
 import android.view.View;
index 73c5053c02ec451a95bd4559d6b985175ea62cf4..ae0e1e2ae62cdd08dcb704223788234a194ffe05 100644 (file)
@@ -1,5 +1,19 @@
+/* VorlesungsplanGroupsListItem.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import java.text.SimpleDateFormat;
 import java.util.Date;
 
index 29bbee5125b75fdf6648baa0bf4cb13e2389c0ed..14030ce550bba4bbaf91d4ef8bb41967b22ce589 100644 (file)
@@ -1,6 +1,19 @@
+/* VorlesungsplanUpcoming.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.os.Bundle;
 import android.support.v4.app.Fragment;
 import android.view.LayoutInflater;
index 723579556c39a87440b98bd9a3520a255147d86f..41b8f7c3680dcfe3bb50a3d63b3c1a2471d919a4 100644 (file)
@@ -1,5 +1,19 @@
+/* VorlesungsplanUpcomingCourseListItem.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import android.content.Context;
 import android.os.Bundle;
 import android.view.LayoutInflater;
index 90916f7ce72a8f75e1eeed0a5e4841f5e27d982a..b104be7b73e921569879a824e6d28e3dbe42bbf3 100644 (file)
@@ -1,5 +1,19 @@
+/* VorlesungsplanUpcomingDayListAdapter.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import android.content.Context;
 import android.view.LayoutInflater;
 import android.view.View;
index d9ced0c86b92c25c223ffe53f7004c389dfd3f07..e2eec53ddde1cd53b7e043ffd5de3cbbd2b271b9 100644 (file)
@@ -1,5 +1,19 @@
+/* VorlesungsplanUpcomingDayListItem.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import android.content.Context;
 import android.view.LayoutInflater;
 import android.view.View;
index 9c6f003f6f5ed059b3521cb5a27ce33def833e7d..2cebceeff5fcb97babff8663153067a369bc561f 100644 (file)
@@ -1,6 +1,19 @@
+/* WebBrowser.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.content.Intent;
 import android.net.Uri;
 import android.os.Bundle;
index ae5d8e0a1aa6e85bf3ddf30d9d451f305ebd1ec5..1c7b337a88b6e6e04104682a3dcf4fe559af205e 100644 (file)
@@ -1,6 +1,19 @@
+/* WifiSettings.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
-
 import android.annotation.TargetApi;
 import android.app.ActionBar;
 import android.app.Activity;
index 610e62e9602296e3a1b021a7afea97d05a291431..c3a1be47022f5b9c4d37017542ebded5aa4b77dc 100644 (file)
@@ -1,5 +1,19 @@
+/* MensaTagesplan.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.mensaplan;
-
 import java.text.DateFormat;
 import java.text.DecimalFormat;
 import java.text.ParseException;
index 355ab16ac504aed11081777851c15f6b8fd491df..ce3ed3d196f36ba589e82b2c67446a7bdee36b21 100644 (file)
@@ -1,5 +1,19 @@
+/* MensaplanManager.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.mensaplan;
-
 import android.util.Log;
 
 import java.io.UnsupportedEncodingException;
index 463bb84b1e9238557a3cee1f5546c523e78a918e..40a9b1b64174071a1cb6bb8efff0fd8d75a61dcf 100644 (file)
@@ -1,3 +1,18 @@
+/* MensaplanManagerInterface.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.mensaplan;
 
 /**
index 613b511adc9871e30b6221c6da67658a8e5b095b..60c6d28af5a75c316a8e6c6b540ab99d665caf44 100644 (file)
@@ -1,5 +1,19 @@
+/* IscRequestHelper.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.network;
-
 import android.util.Log;
 
 import com.loopj.android.http.AsyncHttpClient;
index 41e2f5975af9273da2e51355c98ce4aa46244358..5688a794d4c9c709c7ce2d2a9599b81d58b9fd8d 100644 (file)
@@ -1,5 +1,19 @@
+/* XmlEntry.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.network;
-
 import android.os.Bundle;
 import android.util.Log;
 import android.util.Xml;
index f1507ef9f7fc4a488b4b9c5f417b58f37f8738c8..c04aa32cd95eb9589c39e9dd4d4d952dde5711cd 100644 (file)
@@ -1,5 +1,19 @@
+/* XmlRequestHelper.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.network;
-
 import android.os.Bundle;
 import android.util.Log;
 
index e3497faffdcd1bbf0703f521efdbf8269b2a4b29..3afac18ff1ac8b4123f70ea3ab27d6cef77607ec 100644 (file)
@@ -1,5 +1,19 @@
+/* NewsItem.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.news;
-
 import java.text.DateFormat;
 import java.text.SimpleDateFormat;
 import java.util.Date;
index 224f65250eeb3a6a0dd46a8e2e824cf9b2977920..444704e55d9af7ead9f00744f9b4c2848a45649b 100644 (file)
@@ -1,5 +1,19 @@
+/* NewsManager.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.news;
-
 import android.util.Base64;
 import android.util.Log;
 
index 96dd9052fb2e42bf044638590e1e088c3752aace..e4eb0e62303f180a34f2be6aa91065eecff6ef92 100644 (file)
@@ -1,3 +1,18 @@
+/* NewsManagerInterface.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.news;
 
 /**
index 0407017f7c72414487975533506bc04991291a82..82f0da6f86a3ed472be297262499b722b47fce0d 100644 (file)
@@ -1,3 +1,18 @@
+/* DhbwSearchHelper.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.search;
 
 import android.util.Log;
index a944113a82bb76a76dd71ff21d026745cd3cfc80..9fe91519de2eb1501e23e7514ce4b6b8cac5566e 100644 (file)
@@ -1,3 +1,18 @@
+/* SearchHelper.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.search;
 
 import android.util.Log;
index 9b4cab5c65667be862449375059d6909c7e0cc14..0f65c850957aafdd24175c3de598da309c4c1199 100644 (file)
@@ -1,3 +1,18 @@
+/* SearchIndices.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.search;
 
 import java.util.ArrayList;
index 72d5e2aa9fc533cb584d9a9432091273d7f7d39a..21142437129225bb7c787bc3e3ea5e8d46fabc5f 100644 (file)
@@ -1,3 +1,18 @@
+/* SearchResultListener.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.search;
 
 import java.util.List;
index a02466ead7521249e8b5e70874b975795249498a..17fb8ea6ffaeca3b53017ad5c1dae1cb9aa38c49 100644 (file)
@@ -1,3 +1,18 @@
+/* SearchTarget.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.search;
 
 import android.os.Bundle;
index 8a635ce86df36fd3bb48a985f4227f61db0397a1..4c43696cd1e724f3397331045f744018f95d5e1a 100644 (file)
@@ -1,3 +1,18 @@
+/* StuvSearchHelper.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.search;
 
 import android.util.Xml;
index e7b03cb533cf5a6c0b9c674d04c7a3ca19907c72..9582f7c70a27aa52cf47c482fb24ba76b1122536 100644 (file)
@@ -1,6 +1,19 @@
+/* CalendarManager.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.vorlesungen;
-
-
 import android.util.Log;
 
 import net.fortuna.ical4j.model.Calendar;
index bc136e88fc48ec884b194509d0bbdef335248ef0..101e02d3b657f32a1026ba6bd7152c7a977b2fc8 100644 (file)
@@ -1,3 +1,18 @@
+/* CalendarManagerInterface.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.vorlesungen;
 
 import de.dhbwloe.campusapp.search.SearchIndices;
index 0e5a1cb1717ca17c3700d26ffdf156dfc8fd5151..4973dd52e1fa4226d7848b80a3b7d248c328f949 100644 (file)
@@ -1,5 +1,19 @@
+/* CourseEvent.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.vorlesungen;
-
 import net.fortuna.ical4j.model.Component;
 
 import java.util.regex.Matcher;
index 181f61b8ef187baeaf30fb34d6e5401f43d9e3c7..a8692300cd7e89ec3622a8736c09224c6d657f6a 100644 (file)
@@ -1,5 +1,19 @@
+/* CourseGroup.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.vorlesungen;
-
 import android.os.Bundle;
 import android.provider.ContactsContract;
 
index 073a76b0429384ccb8d36a8cfc9006eb369fe665..9a00c5c1396648327efe10278b798f71646867d2 100644 (file)
@@ -1,3 +1,18 @@
+/* SecureLoginManager.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.wifi;
 
 import android.app.DownloadManager;
index 74f06f96f42405c86bf675b70234cb92be7f6d79..e6848cd93f6f89a20d84872a8cbb6a659cc71ead 100644 (file)
@@ -1,3 +1,18 @@
+/* SecureLoginSocketFactory.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.wifi;
 
 import android.util.Log;
index 0db064011716d1a1dd9cd599b8a023e1ce1399fc..9874d4cf23b6dac7d79ddc8d17e288015999dc12 100644 (file)
@@ -1,3 +1,18 @@
+/* SecureLoginTask.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.wifi;
 
 import android.net.NetworkInfo;
index 9c0b5453dcb93ba5e3ab4ad9673e20eaf064a7ae..1f0849deafd6e8b9e0878b2fb3774f4df2850251 100644 (file)
@@ -1,3 +1,18 @@
+/* SecureLoginTrustManager.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.wifi;
 
 import java.security.cert.CertificateException;
index 7554c324955ed7b00b3364d02f8e3dc42b441837..3079c78a2a1e22b956b91f57d9913dcfb6c50d7f 100644 (file)
@@ -1,3 +1,18 @@
+/* WifiConfigurationManager.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.wifi;
 
 import android.annotation.TargetApi;
index 4eb994743049f32684b16b36a438c7127604318e..8c312a470eb96235eda1ba7b0af7aeb9969aeef2 100644 (file)
@@ -1,3 +1,18 @@
+/* WifiNetworkSettings.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.wifi;
 
 import android.net.wifi.WifiConfiguration;