From: pk910 Date: Mon, 7 Mar 2016 23:19:57 +0000 (+0100) Subject: Added README.txt and GPL Header to Source Files X-Git-Url: http://git.pk910.de/?p=DHBWCampusApp.git;a=commitdiff_plain;h=48e758721a39298a85c69ecc7267f3daf6993e78 Added README.txt and GPL Header to Source Files --- diff --git a/app/src/main/java/de/dhbwloe/campusapp/AppCompatPreferenceActivity.java b/app/src/main/java/de/dhbwloe/campusapp/AppCompatPreferenceActivity.java index 3423ee5..3c9eb8f 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/AppCompatPreferenceActivity.java +++ b/app/src/main/java/de/dhbwloe/campusapp/AppCompatPreferenceActivity.java @@ -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 . + */ package de.dhbwloe.campusapp; import android.content.res.Configuration; diff --git a/app/src/main/java/de/dhbwloe/campusapp/CampusApp.java b/app/src/main/java/de/dhbwloe/campusapp/CampusApp.java index 719d829..654a4dc 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/CampusApp.java +++ b/app/src/main/java/de/dhbwloe/campusapp/CampusApp.java @@ -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 . + */ 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) { diff --git a/app/src/main/java/de/dhbwloe/campusapp/CampusAppContext.java b/app/src/main/java/de/dhbwloe/campusapp/CampusAppContext.java index 4fddc35..cb37e26 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/CampusAppContext.java +++ b/app/src/main/java/de/dhbwloe/campusapp/CampusAppContext.java @@ -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 . + */ 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; diff --git a/app/src/main/java/de/dhbwloe/campusapp/CampusAppFragment.java b/app/src/main/java/de/dhbwloe/campusapp/CampusAppFragment.java index 4707a73..a27fb2c 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/CampusAppFragment.java +++ b/app/src/main/java/de/dhbwloe/campusapp/CampusAppFragment.java @@ -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 . + */ package de.dhbwloe.campusapp; import android.os.Bundle; diff --git a/app/src/main/java/de/dhbwloe/campusapp/NavigationManager.java b/app/src/main/java/de/dhbwloe/campusapp/NavigationManager.java index daa84ea..ed339dd 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/NavigationManager.java +++ b/app/src/main/java/de/dhbwloe/campusapp/NavigationManager.java @@ -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 . + */ 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 lNavigationPages = new ArrayList(); 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 index 0000000..0be5a3e --- /dev/null +++ b/app/src/main/java/de/dhbwloe/campusapp/README.txt @@ -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 + ()*(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. + diff --git a/app/src/main/java/de/dhbwloe/campusapp/Tools.java b/app/src/main/java/de/dhbwloe/campusapp/Tools.java index 5829802..6b6cd03 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/Tools.java +++ b/app/src/main/java/de/dhbwloe/campusapp/Tools.java @@ -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 . + */ package de.dhbwloe.campusapp; import android.view.View; diff --git a/app/src/main/java/de/dhbwloe/campusapp/database/DatabaseManager.java b/app/src/main/java/de/dhbwloe/campusapp/database/DatabaseManager.java index 6a515b4..d042bd0 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/database/DatabaseManager.java +++ b/app/src/main/java/de/dhbwloe/campusapp/database/DatabaseManager.java @@ -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 . + */ 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[] { diff --git a/app/src/main/java/de/dhbwloe/campusapp/database/MensaplanDatabaseHelper.java b/app/src/main/java/de/dhbwloe/campusapp/database/MensaplanDatabaseHelper.java index a8a6fd4..a7e7e7a 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/database/MensaplanDatabaseHelper.java +++ b/app/src/main/java/de/dhbwloe/campusapp/database/MensaplanDatabaseHelper.java @@ -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 . + */ package de.dhbwloe.campusapp.database; import android.content.ContentValues; diff --git a/app/src/main/java/de/dhbwloe/campusapp/database/NewsDatabaseHelper.java b/app/src/main/java/de/dhbwloe/campusapp/database/NewsDatabaseHelper.java index f80aaac..5e97ccf 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/database/NewsDatabaseHelper.java +++ b/app/src/main/java/de/dhbwloe/campusapp/database/NewsDatabaseHelper.java @@ -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 . + */ package de.dhbwloe.campusapp.database; import android.content.ContentValues; diff --git a/app/src/main/java/de/dhbwloe/campusapp/database/NfcCardData.java b/app/src/main/java/de/dhbwloe/campusapp/database/NfcCardData.java index c76061d..2552446 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/database/NfcCardData.java +++ b/app/src/main/java/de/dhbwloe/campusapp/database/NfcCardData.java @@ -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 . + */ package de.dhbwloe.campusapp.database; import java.util.Date; diff --git a/app/src/main/java/de/dhbwloe/campusapp/database/VorlesungsplanDatabaseHelper.java b/app/src/main/java/de/dhbwloe/campusapp/database/VorlesungsplanDatabaseHelper.java index 2894cc8..aef37d8 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/database/VorlesungsplanDatabaseHelper.java +++ b/app/src/main/java/de/dhbwloe/campusapp/database/VorlesungsplanDatabaseHelper.java @@ -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 . + */ package de.dhbwloe.campusapp.database; import android.content.ContentValues; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearch.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearch.java index 10041e3..e7b8bf1 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearch.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearch.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchDhbw.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchDhbw.java index 7956c1f..a9bdc9c 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchDhbw.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchDhbw.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchInternal.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchInternal.java index ddc662e..6fdc8ae 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchInternal.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchInternal.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchListAdapter.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchListAdapter.java index 90015d4..5419354 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchListAdapter.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchListAdapter.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import android.content.Context; import android.view.LayoutInflater; import android.view.View; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchListItem.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchListItem.java index cff66a1..98b52cc 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchListItem.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchListItem.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; import de.dhbwloe.campusapp.search.SearchTarget; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchProvider.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchProvider.java index 550a2b5..670162e 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchProvider.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchProvider.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; /** diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchStuv.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchStuv.java index b1e6f83..8eff4db 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchStuv.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/AppSearchStuv.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/Dashboard.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/Dashboard.java index 8034015..85ddee0 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/Dashboard.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/Dashboard.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import de.dhbwloe.campusapp.CampusAppFragment; import android.os.Bundle; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardMensa.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardMensa.java index fdfea3d..81f75e4 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardMensa.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardMensa.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardNewsDhbw.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardNewsDhbw.java index 20f1ad8..9567438 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardNewsDhbw.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardNewsDhbw.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardNewsStuv.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardNewsStuv.java index 57bf356..92e80e9 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardNewsStuv.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardNewsStuv.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardVorlesungsplan.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardVorlesungsplan.java index 91e56c4..ca14396 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardVorlesungsplan.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/DashboardVorlesungsplan.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Build; import android.os.Bundle; import android.support.v4.app.Fragment; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/FirstRun.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/FirstRun.java index ac67163..1267e5b 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/FirstRun.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/FirstRun.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/Impressum.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/Impressum.java index 66e09b3..2742ae6 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/Impressum.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/Impressum.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/Mensa.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/Mensa.java index 3f911a2..daa7427 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/Mensa.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/Mensa.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/MensaCard.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/MensaCard.java index 3933be9..a19ca37 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/MensaCard.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/MensaCard.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import android.content.Context; import android.net.Uri; import android.os.Bundle; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/MensaTagesplan.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/MensaTagesplan.java index 7216738..1b72744 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/MensaTagesplan.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/MensaTagesplan.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/MensaTagesplanListAdapter.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/MensaTagesplanListAdapter.java index c8509e8..039ab0b 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/MensaTagesplanListAdapter.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/MensaTagesplanListAdapter.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import android.content.Context; import android.view.LayoutInflater; import android.view.View; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/News.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/News.java index 2d4be41..d2e6e0a 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/News.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/News.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/NewsListAdapter.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/NewsListAdapter.java index 6de086e..0af247f 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/NewsListAdapter.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/NewsListAdapter.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import android.content.Context; import android.view.LayoutInflater; import android.view.View; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/NewsListItem.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/NewsListItem.java index e0da6c4..359c2a3 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/NewsListItem.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/NewsListItem.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import java.text.SimpleDateFormat; import java.util.Date; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/PopupFragment.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/PopupFragment.java index 51058fe..216af46 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/PopupFragment.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/PopupFragment.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import android.content.DialogInterface; import android.os.Bundle; import android.support.v4.app.DialogFragment; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/Settings.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/Settings.java index d320591..f59d223 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/Settings.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/Settings.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/SplashScreen.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/SplashScreen.java index 77cb27e..e94ddb3 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/SplashScreen.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/SplashScreen.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Point; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/Vorlesungsplan.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/Vorlesungsplan.java index a0bde34..14a82db 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/Vorlesungsplan.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/Vorlesungsplan.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExams.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExams.java index ae3245d..0e3cf58 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExams.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExams.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExamsListAdapter.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExamsListAdapter.java index 4fb489c..354167e 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExamsListAdapter.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExamsListAdapter.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import android.content.Context; import android.view.LayoutInflater; import android.view.View; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExamsListItem.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExamsListItem.java index e8ff5ab..fb7fecd 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExamsListItem.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanExamsListItem.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import java.text.SimpleDateFormat; import java.util.Date; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroups.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroups.java index 1ba916b..8fbde48 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroups.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroups.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.method.CharacterPickerDialog; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroupsListAdapter.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroupsListAdapter.java index d7c5010..c341ffe 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroupsListAdapter.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroupsListAdapter.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import android.content.Context; import android.view.LayoutInflater; import android.view.View; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroupsListItem.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroupsListItem.java index 73c5053..ae0e1e2 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroupsListItem.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanGroupsListItem.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import java.text.SimpleDateFormat; import java.util.Date; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcoming.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcoming.java index 29bbee5..14030ce 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcoming.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcoming.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingCourseListItem.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingCourseListItem.java index 7235795..41b8f7c 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingCourseListItem.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingCourseListItem.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import android.content.Context; import android.os.Bundle; import android.view.LayoutInflater; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingDayListAdapter.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingDayListAdapter.java index 90916f7..b104be7 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingDayListAdapter.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingDayListAdapter.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import android.content.Context; import android.view.LayoutInflater; import android.view.View; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingDayListItem.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingDayListItem.java index d9ced0c..e2eec53 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingDayListItem.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/VorlesungsplanUpcomingDayListItem.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - import android.content.Context; import android.view.LayoutInflater; import android.view.View; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/WebBrowser.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/WebBrowser.java index 9c6f003..2cebcee 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/WebBrowser.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/WebBrowser.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.content.Intent; import android.net.Uri; import android.os.Bundle; diff --git a/app/src/main/java/de/dhbwloe/campusapp/fragments/WifiSettings.java b/app/src/main/java/de/dhbwloe/campusapp/fragments/WifiSettings.java index ae5d8e0..1c7b337 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/fragments/WifiSettings.java +++ b/app/src/main/java/de/dhbwloe/campusapp/fragments/WifiSettings.java @@ -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 . + */ package de.dhbwloe.campusapp.fragments; - - import android.annotation.TargetApi; import android.app.ActionBar; import android.app.Activity; diff --git a/app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaTagesplan.java b/app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaTagesplan.java index 610e62e..c3a1be4 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaTagesplan.java +++ b/app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaTagesplan.java @@ -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 . + */ package de.dhbwloe.campusapp.mensaplan; - import java.text.DateFormat; import java.text.DecimalFormat; import java.text.ParseException; diff --git a/app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaplanManager.java b/app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaplanManager.java index 355ab16..ce3ed3d 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaplanManager.java +++ b/app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaplanManager.java @@ -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 . + */ package de.dhbwloe.campusapp.mensaplan; - import android.util.Log; import java.io.UnsupportedEncodingException; diff --git a/app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaplanManagerInterface.java b/app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaplanManagerInterface.java index 463bb84..40a9b1b 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaplanManagerInterface.java +++ b/app/src/main/java/de/dhbwloe/campusapp/mensaplan/MensaplanManagerInterface.java @@ -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 . + */ package de.dhbwloe.campusapp.mensaplan; /** diff --git a/app/src/main/java/de/dhbwloe/campusapp/network/IscRequestHelper.java b/app/src/main/java/de/dhbwloe/campusapp/network/IscRequestHelper.java index 613b511..60c6d28 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/network/IscRequestHelper.java +++ b/app/src/main/java/de/dhbwloe/campusapp/network/IscRequestHelper.java @@ -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 . + */ package de.dhbwloe.campusapp.network; - import android.util.Log; import com.loopj.android.http.AsyncHttpClient; diff --git a/app/src/main/java/de/dhbwloe/campusapp/network/XmlEntry.java b/app/src/main/java/de/dhbwloe/campusapp/network/XmlEntry.java index 41e2f59..5688a79 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/network/XmlEntry.java +++ b/app/src/main/java/de/dhbwloe/campusapp/network/XmlEntry.java @@ -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 . + */ package de.dhbwloe.campusapp.network; - import android.os.Bundle; import android.util.Log; import android.util.Xml; diff --git a/app/src/main/java/de/dhbwloe/campusapp/network/XmlRequestHelper.java b/app/src/main/java/de/dhbwloe/campusapp/network/XmlRequestHelper.java index f1507ef..c04aa32 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/network/XmlRequestHelper.java +++ b/app/src/main/java/de/dhbwloe/campusapp/network/XmlRequestHelper.java @@ -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 . + */ package de.dhbwloe.campusapp.network; - import android.os.Bundle; import android.util.Log; diff --git a/app/src/main/java/de/dhbwloe/campusapp/news/NewsItem.java b/app/src/main/java/de/dhbwloe/campusapp/news/NewsItem.java index e3497fa..3afac18 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/news/NewsItem.java +++ b/app/src/main/java/de/dhbwloe/campusapp/news/NewsItem.java @@ -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 . + */ package de.dhbwloe.campusapp.news; - import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; diff --git a/app/src/main/java/de/dhbwloe/campusapp/news/NewsManager.java b/app/src/main/java/de/dhbwloe/campusapp/news/NewsManager.java index 224f652..444704e 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/news/NewsManager.java +++ b/app/src/main/java/de/dhbwloe/campusapp/news/NewsManager.java @@ -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 . + */ package de.dhbwloe.campusapp.news; - import android.util.Base64; import android.util.Log; diff --git a/app/src/main/java/de/dhbwloe/campusapp/news/NewsManagerInterface.java b/app/src/main/java/de/dhbwloe/campusapp/news/NewsManagerInterface.java index 96dd905..e4eb0e6 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/news/NewsManagerInterface.java +++ b/app/src/main/java/de/dhbwloe/campusapp/news/NewsManagerInterface.java @@ -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 . + */ package de.dhbwloe.campusapp.news; /** diff --git a/app/src/main/java/de/dhbwloe/campusapp/search/DhbwSearchHelper.java b/app/src/main/java/de/dhbwloe/campusapp/search/DhbwSearchHelper.java index 0407017..82f0da6 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/search/DhbwSearchHelper.java +++ b/app/src/main/java/de/dhbwloe/campusapp/search/DhbwSearchHelper.java @@ -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 . + */ package de.dhbwloe.campusapp.search; import android.util.Log; diff --git a/app/src/main/java/de/dhbwloe/campusapp/search/SearchHelper.java b/app/src/main/java/de/dhbwloe/campusapp/search/SearchHelper.java index a944113..9fe9151 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/search/SearchHelper.java +++ b/app/src/main/java/de/dhbwloe/campusapp/search/SearchHelper.java @@ -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 . + */ package de.dhbwloe.campusapp.search; import android.util.Log; diff --git a/app/src/main/java/de/dhbwloe/campusapp/search/SearchIndices.java b/app/src/main/java/de/dhbwloe/campusapp/search/SearchIndices.java index 9b4cab5..0f65c85 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/search/SearchIndices.java +++ b/app/src/main/java/de/dhbwloe/campusapp/search/SearchIndices.java @@ -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 . + */ package de.dhbwloe.campusapp.search; import java.util.ArrayList; diff --git a/app/src/main/java/de/dhbwloe/campusapp/search/SearchResultListener.java b/app/src/main/java/de/dhbwloe/campusapp/search/SearchResultListener.java index 72d5e2a..2114243 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/search/SearchResultListener.java +++ b/app/src/main/java/de/dhbwloe/campusapp/search/SearchResultListener.java @@ -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 . + */ package de.dhbwloe.campusapp.search; import java.util.List; diff --git a/app/src/main/java/de/dhbwloe/campusapp/search/SearchTarget.java b/app/src/main/java/de/dhbwloe/campusapp/search/SearchTarget.java index a02466e..17fb8ea 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/search/SearchTarget.java +++ b/app/src/main/java/de/dhbwloe/campusapp/search/SearchTarget.java @@ -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 . + */ package de.dhbwloe.campusapp.search; import android.os.Bundle; diff --git a/app/src/main/java/de/dhbwloe/campusapp/search/StuvSearchHelper.java b/app/src/main/java/de/dhbwloe/campusapp/search/StuvSearchHelper.java index 8a635ce..4c43696 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/search/StuvSearchHelper.java +++ b/app/src/main/java/de/dhbwloe/campusapp/search/StuvSearchHelper.java @@ -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 . + */ package de.dhbwloe.campusapp.search; import android.util.Xml; diff --git a/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CalendarManager.java b/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CalendarManager.java index e7b03cb..9582f7c 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CalendarManager.java +++ b/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CalendarManager.java @@ -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 . + */ package de.dhbwloe.campusapp.vorlesungen; - - import android.util.Log; import net.fortuna.ical4j.model.Calendar; diff --git a/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CalendarManagerInterface.java b/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CalendarManagerInterface.java index bc136e8..101e02d 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CalendarManagerInterface.java +++ b/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CalendarManagerInterface.java @@ -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 . + */ package de.dhbwloe.campusapp.vorlesungen; import de.dhbwloe.campusapp.search.SearchIndices; diff --git a/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CourseEvent.java b/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CourseEvent.java index 0e5a1cb..4973dd5 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CourseEvent.java +++ b/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CourseEvent.java @@ -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 . + */ package de.dhbwloe.campusapp.vorlesungen; - import net.fortuna.ical4j.model.Component; import java.util.regex.Matcher; diff --git a/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CourseGroup.java b/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CourseGroup.java index 181f61b..a869230 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CourseGroup.java +++ b/app/src/main/java/de/dhbwloe/campusapp/vorlesungen/CourseGroup.java @@ -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 . + */ package de.dhbwloe.campusapp.vorlesungen; - import android.os.Bundle; import android.provider.ContactsContract; diff --git a/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginManager.java b/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginManager.java index 073a76b..9a00c5c 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginManager.java +++ b/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginManager.java @@ -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 . + */ package de.dhbwloe.campusapp.wifi; import android.app.DownloadManager; diff --git a/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginSocketFactory.java b/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginSocketFactory.java index 74f06f9..e6848cd 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginSocketFactory.java +++ b/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginSocketFactory.java @@ -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 . + */ package de.dhbwloe.campusapp.wifi; import android.util.Log; diff --git a/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginTask.java b/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginTask.java index 0db0640..9874d4c 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginTask.java +++ b/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginTask.java @@ -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 . + */ package de.dhbwloe.campusapp.wifi; import android.net.NetworkInfo; diff --git a/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginTrustManager.java b/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginTrustManager.java index 9c0b545..1f0849d 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginTrustManager.java +++ b/app/src/main/java/de/dhbwloe/campusapp/wifi/SecureLoginTrustManager.java @@ -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 . + */ package de.dhbwloe.campusapp.wifi; import java.security.cert.CertificateException; diff --git a/app/src/main/java/de/dhbwloe/campusapp/wifi/WifiConfigurationManager.java b/app/src/main/java/de/dhbwloe/campusapp/wifi/WifiConfigurationManager.java index 7554c32..3079c78 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/wifi/WifiConfigurationManager.java +++ b/app/src/main/java/de/dhbwloe/campusapp/wifi/WifiConfigurationManager.java @@ -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 . + */ package de.dhbwloe.campusapp.wifi; import android.annotation.TargetApi; diff --git a/app/src/main/java/de/dhbwloe/campusapp/wifi/WifiNetworkSettings.java b/app/src/main/java/de/dhbwloe/campusapp/wifi/WifiNetworkSettings.java index 4eb9947..8c312a4 100644 --- a/app/src/main/java/de/dhbwloe/campusapp/wifi/WifiNetworkSettings.java +++ b/app/src/main/java/de/dhbwloe/campusapp/wifi/WifiNetworkSettings.java @@ -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 . + */ package de.dhbwloe.campusapp.wifi; import android.net.wifi.WifiConfiguration;