aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorLibravatar Renard 2016-04-26 15:59:17 -0300
committerLibravatar Renard 2016-04-26 15:59:17 -0300
commita5f9e1088f94890c44f70a2ebd4c38d7e86f2adf (patch)
tree6ce7659e46c1da14052fe9d29f1c05a60e99fe91 /app/src/main/java
parent034e14235e987b30d0ebc181b2d24c632035c453 (diff)
downloadBaiApp-a5f9e1088f94890c44f70a2ebd4c38d7e86f2adf.tar.gz
BaiApp-a5f9e1088f94890c44f70a2ebd4c38d7e86f2adf.tar.xz
BaiApp-a5f9e1088f94890c44f70a2ebd4c38d7e86f2adf.zip
packageID, gradle version fix, jsoup license.dev
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/layout/FragmentBoardItemList.java19
-rw-r--r--app/src/main/java/layout/FragmentImage.java6
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/AppCompatPreferenceActivity.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/AppCompatPreferenceActivity.java)2
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/CustomFragmentPagerAdapter.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/CustomFragmentPagerAdapter.java)2
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/LicensesActivity.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java)2
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/MainActivity.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java)13
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/RecentPostAdapter.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/RecentPostAdapter.java)4
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/ResponseActivity.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/ResponseActivity.java)6
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/SettingsActivity.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/SettingsActivity.java)3
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/ThemeManager.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/ThemeManager.java)2
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/ThreadListAdapter.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/ThreadListAdapter.java)6
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/ViewerActivity.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java)4
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/structure/Board.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/structure/Board.java)2
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/structure/BoardItem.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItem.java)3
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/structure/BoardItemFile.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItemFile.java)2
-rw-r--r--app/src/main/java/org/bienvenidoainternet/app/structure/ReplyID.java (renamed from app/src/main/java/org/bienvenidoainternet/baiparser/structure/ReplyID.java)4
16 files changed, 34 insertions, 46 deletions
diff --git a/app/src/main/java/layout/FragmentBoardItemList.java b/app/src/main/java/layout/FragmentBoardItemList.java
index feaf7a0..b172728 100644
--- a/app/src/main/java/layout/FragmentBoardItemList.java
+++ b/app/src/main/java/layout/FragmentBoardItemList.java
@@ -34,22 +34,21 @@ import android.widget.Toast;
import com.koushikdutta.async.future.FutureCallback;
import com.koushikdutta.ion.Ion;
-import org.bienvenidoainternet.baiparser.MainActivity;
-import org.bienvenidoainternet.baiparser.R;
-import org.bienvenidoainternet.baiparser.RecentPostAdapter;
-import org.bienvenidoainternet.baiparser.ResponseActivity;
-import org.bienvenidoainternet.baiparser.ThemeManager;
-import org.bienvenidoainternet.baiparser.ThreadListAdapter;
-import org.bienvenidoainternet.baiparser.structure.Board;
-import org.bienvenidoainternet.baiparser.structure.BoardItem;
-import org.bienvenidoainternet.baiparser.structure.ReplyID;
+import org.bienvenidoainternet.app.MainActivity;
+import org.bienvenidoainternet.app.R;
+import org.bienvenidoainternet.app.RecentPostAdapter;
+import org.bienvenidoainternet.app.ResponseActivity;
+import org.bienvenidoainternet.app.ThemeManager;
+import org.bienvenidoainternet.app.ThreadListAdapter;
+import org.bienvenidoainternet.app.structure.Board;
+import org.bienvenidoainternet.app.structure.BoardItem;
+import org.bienvenidoainternet.app.structure.ReplyID;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.File;
import java.io.FileInputStream;
-import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
diff --git a/app/src/main/java/layout/FragmentImage.java b/app/src/main/java/layout/FragmentImage.java
index 4e9a0ba..a0e75e8 100644
--- a/app/src/main/java/layout/FragmentImage.java
+++ b/app/src/main/java/layout/FragmentImage.java
@@ -19,9 +19,9 @@ import com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView;
import com.koushikdutta.async.future.FutureCallback;
import com.koushikdutta.ion.Ion;
-import org.bienvenidoainternet.baiparser.R;
-import org.bienvenidoainternet.baiparser.ViewerActivity;
-import org.bienvenidoainternet.baiparser.structure.BoardItemFile;
+import org.bienvenidoainternet.app.R;
+import org.bienvenidoainternet.app.ViewerActivity;
+import org.bienvenidoainternet.app.structure.BoardItemFile;
import java.io.File;
import java.io.FileOutputStream;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/AppCompatPreferenceActivity.java b/app/src/main/java/org/bienvenidoainternet/app/AppCompatPreferenceActivity.java
index e89a927..1f916ad 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/AppCompatPreferenceActivity.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/AppCompatPreferenceActivity.java
@@ -1,4 +1,4 @@
-package org.bienvenidoainternet.baiparser;
+package org.bienvenidoainternet.app;
import android.content.res.Configuration;
import android.os.Bundle;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/CustomFragmentPagerAdapter.java b/app/src/main/java/org/bienvenidoainternet/app/CustomFragmentPagerAdapter.java
index 1dd07c7..f760cca 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/CustomFragmentPagerAdapter.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/CustomFragmentPagerAdapter.java
@@ -1,4 +1,4 @@
-package org.bienvenidoainternet.baiparser;
+package org.bienvenidoainternet.app;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java b/app/src/main/java/org/bienvenidoainternet/app/LicensesActivity.java
index ebbe874..1924511 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/LicensesActivity.java
@@ -1,4 +1,4 @@
-package org.bienvenidoainternet.baiparser;
+package org.bienvenidoainternet.app;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java b/app/src/main/java/org/bienvenidoainternet/app/MainActivity.java
index 9a6a344..0d266fc 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/MainActivity.java
@@ -1,4 +1,4 @@
-package org.bienvenidoainternet.baiparser;
+package org.bienvenidoainternet.app;
import android.app.Activity;
import android.content.Intent;
@@ -14,7 +14,6 @@ import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
-import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.SubMenu;
@@ -24,13 +23,11 @@ import android.widget.HeaderViewListAdapter;
import android.widget.ListView;
import android.widget.Toast;
-import com.google.gson.JsonArray;
-import com.google.gson.JsonObject;
import com.koushikdutta.async.future.FutureCallback;
import com.koushikdutta.ion.Ion;
-import org.bienvenidoainternet.baiparser.structure.Board;
-import org.bienvenidoainternet.baiparser.structure.BoardItem;
+import org.bienvenidoainternet.app.structure.Board;
+import org.bienvenidoainternet.app.structure.BoardItem;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
@@ -447,10 +444,6 @@ public class MainActivity extends AppCompatActivity
}
}
});
-
- Board parsedBoard = new Board("Testing Field", "polka", 1, true);
- sub.add(parsedBoard.getBoardName());
- boardList.add(parsedBoard);
refreshNavigator();
}
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/RecentPostAdapter.java b/app/src/main/java/org/bienvenidoainternet/app/RecentPostAdapter.java
index b3938a9..86c4b92 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/RecentPostAdapter.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/RecentPostAdapter.java
@@ -1,4 +1,4 @@
-package org.bienvenidoainternet.baiparser;
+package org.bienvenidoainternet.app;
import android.content.Context;
import android.text.Html;
@@ -8,7 +8,7 @@ import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
-import org.bienvenidoainternet.baiparser.structure.BoardItem;
+import org.bienvenidoainternet.app.structure.BoardItem;
import java.util.ArrayList;
import java.util.Collections;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/ResponseActivity.java b/app/src/main/java/org/bienvenidoainternet/app/ResponseActivity.java
index 2a3ca24..74ac04b 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/ResponseActivity.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/ResponseActivity.java
@@ -1,4 +1,4 @@
-package org.bienvenidoainternet.baiparser;
+package org.bienvenidoainternet.app;
import android.content.Intent;
import android.content.SharedPreferences;
@@ -21,9 +21,7 @@ import android.widget.Toast;
import com.koushikdutta.async.future.FutureCallback;
import com.koushikdutta.ion.Ion;
-import org.bienvenidoainternet.baiparser.structure.Board;
-import org.bienvenidoainternet.baiparser.structure.BoardItem;
-import org.w3c.dom.Document;
+import org.bienvenidoainternet.app.structure.BoardItem;
import java.io.File;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/SettingsActivity.java b/app/src/main/java/org/bienvenidoainternet/app/SettingsActivity.java
index 4a16139..021aed5 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/SettingsActivity.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/SettingsActivity.java
@@ -1,4 +1,4 @@
-package org.bienvenidoainternet.baiparser;
+package org.bienvenidoainternet.app;
import android.annotation.TargetApi;
@@ -10,7 +10,6 @@ import android.os.Build;
import android.os.Bundle;
import android.preference.ListPreference;
import android.preference.Preference;
-import android.preference.PreferenceActivity;
import android.preference.PreferenceFragment;
import android.preference.PreferenceManager;
import android.support.v7.app.ActionBar;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/ThemeManager.java b/app/src/main/java/org/bienvenidoainternet/app/ThemeManager.java
index d223773..04ed3fd 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/ThemeManager.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/ThemeManager.java
@@ -1,4 +1,4 @@
-package org.bienvenidoainternet.baiparser;
+package org.bienvenidoainternet.app;
import android.app.Activity;
import android.content.SharedPreferences;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/ThreadListAdapter.java b/app/src/main/java/org/bienvenidoainternet/app/ThreadListAdapter.java
index 6a23280..b3870eb 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/ThreadListAdapter.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/ThreadListAdapter.java
@@ -1,4 +1,4 @@
-package org.bienvenidoainternet.baiparser;
+package org.bienvenidoainternet.app;
import android.content.Context;
import android.content.Intent;
@@ -23,8 +23,8 @@ import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
-import org.bienvenidoainternet.baiparser.structure.BoardItem;
-import org.bienvenidoainternet.baiparser.structure.BoardItemFile;
+import org.bienvenidoainternet.app.structure.BoardItem;
+import org.bienvenidoainternet.app.structure.BoardItemFile;
import java.util.ArrayList;
import java.util.Collections;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java b/app/src/main/java/org/bienvenidoainternet/app/ViewerActivity.java
index 3da7f92..917199e 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/ViewerActivity.java
@@ -1,4 +1,4 @@
-package org.bienvenidoainternet.baiparser;
+package org.bienvenidoainternet.app;
import android.content.Context;
import android.content.ContextWrapper;
@@ -14,7 +14,7 @@ import android.view.MenuItem;
import android.widget.ProgressBar;
import android.widget.Toast;
-import org.bienvenidoainternet.baiparser.structure.BoardItemFile;
+import org.bienvenidoainternet.app.structure.BoardItemFile;
import java.io.File;
import java.io.FileInputStream;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/Board.java b/app/src/main/java/org/bienvenidoainternet/app/structure/Board.java
index 536f476..bcd9b61 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/Board.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/structure/Board.java
@@ -1,4 +1,4 @@
-package org.bienvenidoainternet.baiparser.structure;
+package org.bienvenidoainternet.app.structure;
import android.os.Parcel;
import android.os.Parcelable;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItem.java b/app/src/main/java/org/bienvenidoainternet/app/structure/BoardItem.java
index 8eb55e5..9b81e8b 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItem.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/structure/BoardItem.java
@@ -1,4 +1,4 @@
-package org.bienvenidoainternet.baiparser.structure;
+package org.bienvenidoainternet.app.structure;
import android.graphics.Bitmap;
import android.os.Parcel;
@@ -8,7 +8,6 @@ import android.util.Log;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
-import org.jsoup.parser.Tag;
/**
* BaiApp - Bienvenido a internet Android Application
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItemFile.java b/app/src/main/java/org/bienvenidoainternet/app/structure/BoardItemFile.java
index b71cac4..c215787 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/BoardItemFile.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/structure/BoardItemFile.java
@@ -1,4 +1,4 @@
-package org.bienvenidoainternet.baiparser.structure;
+package org.bienvenidoainternet.app.structure;
import android.os.Parcel;
import android.os.Parcelable;
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/ReplyID.java b/app/src/main/java/org/bienvenidoainternet/app/structure/ReplyID.java
index 9cf2319..dbb3d17 100644
--- a/app/src/main/java/org/bienvenidoainternet/baiparser/structure/ReplyID.java
+++ b/app/src/main/java/org/bienvenidoainternet/app/structure/ReplyID.java
@@ -1,10 +1,10 @@
-package org.bienvenidoainternet.baiparser.structure;
+package org.bienvenidoainternet.app.structure;
import android.graphics.Color;
import android.os.Parcel;
import android.os.Parcelable;
-import org.bienvenidoainternet.baiparser.ThemeManager;
+import org.bienvenidoainternet.app.ThemeManager;
import java.util.Random;