From b1f9647cf318ee9916aa8a31ec062475b35bcfdf Mon Sep 17 00:00:00 2001 From: Renard Date: Thu, 14 Apr 2016 17:58:28 -0300 Subject: LICENSE --- app/src/main/java/layout/FragmentBoardItemList.java | 18 ++++++++++++++++++ app/src/main/java/layout/FragmentImage.java | 18 ++++++++++++++++++ .../baiparser/CustomFragmentPagerAdapter.java | 16 +++++++++++++++- .../baiparser/LicensesActivity.java | 18 ++++++++++++++++++ .../bienvenidoainternet/baiparser/MainActivity.java | 18 ++++++++++++++++++ .../baiparser/RecentPostAdapter.java | 17 ++++++++++++++++- .../baiparser/ResponseActivity.java | 17 +++++++++++++++++ .../baiparser/SettingsActivity.java | 19 +++++++++++++++++++ .../bienvenidoainternet/baiparser/ThemeManager.java | 17 ++++++++++++++++- .../baiparser/ThreadListAdapter.java | 17 ++++++++++++++++- .../bienvenidoainternet/baiparser/ViewerActivity.java | 18 ++++++++++++++++++ .../baiparser/structure/Board.java | 16 +++++++++++++++- .../baiparser/structure/BoardItem.java | 16 +++++++++++++++- .../baiparser/structure/BoardItemFile.java | 16 +++++++++++++++- .../baiparser/structure/JsonType.java | 10 ---------- .../baiparser/structure/ReplyID.java | 16 +++++++++++++++- 16 files changed, 249 insertions(+), 18 deletions(-) delete mode 100644 app/src/main/java/org/bienvenidoainternet/baiparser/structure/JsonType.java (limited to 'app') diff --git a/app/src/main/java/layout/FragmentBoardItemList.java b/app/src/main/java/layout/FragmentBoardItemList.java index 6589f5a..ba80ae5 100644 --- a/app/src/main/java/layout/FragmentBoardItemList.java +++ b/app/src/main/java/layout/FragmentBoardItemList.java @@ -57,6 +57,24 @@ import java.net.URLDecoder; import java.util.ArrayList; import java.util.List; +/** + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . + */ + public class FragmentBoardItemList extends Fragment { public static final String ARG_CURRENTBOARD = "currentBoard", ARG_THREAD_ID = "currentThreadId", ARG_MAIN_FRAGMENT = "imMainFragment", SAVED_BOARDITEMS = "savedBoardItems", RECENT_POST_MODE = "recentpostmode", ARG_CURRENT_THREAD = "currentThread"; diff --git a/app/src/main/java/layout/FragmentImage.java b/app/src/main/java/layout/FragmentImage.java index eb2471b..4e9a0ba 100644 --- a/app/src/main/java/layout/FragmentImage.java +++ b/app/src/main/java/layout/FragmentImage.java @@ -30,6 +30,24 @@ import java.io.InputStream; import pl.droidsonroids.gif.GifDrawable; import pl.droidsonroids.gif.GifImageView; +/** + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . + */ + /** * A simple {@link Fragment} subclass. * Activities that contain this fragment must implement the diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/CustomFragmentPagerAdapter.java b/app/src/main/java/org/bienvenidoainternet/baiparser/CustomFragmentPagerAdapter.java index 40052b8..1dd07c7 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/CustomFragmentPagerAdapter.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/CustomFragmentPagerAdapter.java @@ -8,7 +8,21 @@ import java.util.ArrayList; import java.util.List; /** - * Created by Renard on 04-03-2016. + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . */ public class CustomFragmentPagerAdapter extends FragmentPagerAdapter { diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java index 575754a..ebbe874 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java @@ -4,6 +4,24 @@ import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.webkit.WebView; +/** + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . + */ + public class LicensesActivity extends AppCompatActivity { @Override diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java index 45b30e5..87ac15a 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java @@ -40,6 +40,24 @@ import java.util.Random; import layout.FragmentBoardItemList; +/** + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . + */ + public class MainActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener, FragmentBoardItemList.OnFragmentInteractionListener { private ViewPager pager; // variable del ViewPager diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/RecentPostAdapter.java b/app/src/main/java/org/bienvenidoainternet/baiparser/RecentPostAdapter.java index e67f276..b3938a9 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/RecentPostAdapter.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/RecentPostAdapter.java @@ -20,8 +20,23 @@ import java.util.Map; import java.util.concurrent.TimeUnit; /** - * Created by Renard on 21-03-2016. + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . */ + public class RecentPostAdapter extends ArrayAdapter { public RecentPostAdapter(Context context, List objects) { diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/ResponseActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/ResponseActivity.java index e760926..871aaf5 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/ResponseActivity.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/ResponseActivity.java @@ -29,6 +29,23 @@ import java.io.File; import utils.ContentProviderUtils; +/** + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . + */ public class ResponseActivity extends AppCompatActivity { diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/SettingsActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/SettingsActivity.java index eefc5fb..4a16139 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/SettingsActivity.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/SettingsActivity.java @@ -29,6 +29,25 @@ import java.util.List; * href="http://developer.android.com/guide/topics/ui/settings.html">Settings * API Guide for more information on developing a Settings UI. */ + +/** + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . + */ + public class SettingsActivity extends AppCompatPreferenceActivity { /** * A preference value change listener that updates the preference's summary diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/ThemeManager.java b/app/src/main/java/org/bienvenidoainternet/baiparser/ThemeManager.java index 28c0d74..d223773 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/ThemeManager.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/ThemeManager.java @@ -8,8 +8,23 @@ import android.preference.PreferenceManager; import android.util.Log; /** - * Created by Renard on 16-03-2016. + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . */ + public class ThemeManager { private int currentThemeId; private int prefThemeId; diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/ThreadListAdapter.java b/app/src/main/java/org/bienvenidoainternet/baiparser/ThreadListAdapter.java index 791497c..69c674e 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/ThreadListAdapter.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/ThreadListAdapter.java @@ -36,8 +36,23 @@ import java.util.Map; import java.util.concurrent.TimeUnit; /** - * Created by Renard on 11-03-2016. + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . */ + public class ThreadListAdapter extends ArrayAdapter{ private Context context; private ThemeManager tm; diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java index 8dc1262..3da7f92 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java @@ -25,6 +25,24 @@ import java.util.ArrayList; import layout.FragmentImage; +/** + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . + */ + public class ViewerActivity extends AppCompatActivity implements FragmentImage.OnFragmentInteractionListener { private static final String EXTRA_FILELIST = "fileList", EXTRA_RELATIVEPOSITION = "position"; private ViewPager imagePager; diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/Board.java b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/Board.java index 209804e..cb95e63 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/Board.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/Board.java @@ -4,7 +4,21 @@ import android.os.Parcel; import android.os.Parcelable; /** - * Created by Renard on 17-03-2016. + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . */ public class Board implements Parcelable{ diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItem.java b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItem.java index c43384a..b21d598 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItem.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItem.java @@ -5,7 +5,21 @@ import android.os.Parcel; import android.os.Parcelable; /** - * Created by Renard on 17-03-2016. + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . */ public class BoardItem implements Parcelable { private String name = ""; diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItemFile.java b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItemFile.java index eeff1c4..b71cac4 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItemFile.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItemFile.java @@ -4,7 +4,21 @@ import android.os.Parcel; import android.os.Parcelable; /** - * Created by Renard on 08-04-2016. + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . */ public class BoardItemFile implements Parcelable{ public String file; diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/JsonType.java b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/JsonType.java deleted file mode 100644 index 8db5c11..0000000 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/JsonType.java +++ /dev/null @@ -1,10 +0,0 @@ -package org.bienvenidoainternet.baiparser.structure; - -/** - * Created by Renard on 17-03-2016. - */ -public enum JsonType { - BOARD_THREAD_LIST, - THREAD_REPLY_LIST, - BOARD_LIST; -} diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/ReplyID.java b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/ReplyID.java index b6758fb..2780e74 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/ReplyID.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/structure/ReplyID.java @@ -7,7 +7,21 @@ import android.os.Parcelable; import java.util.Random; /** - * Created by Renard on 18-03-2016. + * BaiApp - Bienvenido a internet Android Application + * Copyright (C) 2016 Renard1911(https://github.com/Renard1911) + * + * 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 . */ public class ReplyID implements Parcelable{ public String id; -- cgit v1.2.1-18-gbd029