End of refactor Gobelim -> Goblim
This commit is contained in:
parent
0b9df33e8c
commit
b751c3ecb0
21 changed files with 49 additions and 49 deletions
|
@ -1 +1 @@
|
|||
# Gobelim
|
||||
# Goblim
|
||||
|
|
|
@ -5,7 +5,7 @@ android {
|
|||
buildToolsVersion "21.1.2"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "fr.mobdev.gobelim"
|
||||
applicationId "fr.mobdev.goblim"
|
||||
minSdkVersion 11
|
||||
targetSdkVersion 22
|
||||
versionCode 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package fr.mobdev.gobelim;
|
||||
package fr.mobdev.goblim;
|
||||
|
||||
import android.app.Application;
|
||||
import android.test.ApplicationTestCase;
|
||||
|
@ -10,4 +10,4 @@ public class ApplicationTest extends ApplicationTestCase<Application> {
|
|||
public ApplicationTest() {
|
||||
super(Application.class);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -12,7 +12,7 @@
|
|||
android:label="@string/app_name"
|
||||
android:theme="@style/AppTheme">
|
||||
<activity
|
||||
android:name="fr.mobdev.gobelim.activity.MainActivity"
|
||||
android:name="fr.mobdev.goblim.activity.MainActivity"
|
||||
android:label="@string/app_name">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
@ -25,16 +25,16 @@
|
|||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="fr.mobdev.gobelim.activity.HistoryActivity"
|
||||
android:name="fr.mobdev.goblim.activity.HistoryActivity"
|
||||
android:label="@string/title_activity_history">
|
||||
</activity>
|
||||
<activity
|
||||
android:name="fr.mobdev.gobelim.activity.LinkActivity"
|
||||
android:name="fr.mobdev.goblim.activity.LinkActivity"
|
||||
android:label="@string/title_activity_link"
|
||||
>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="fr.mobdev.gobelim.activity.ServersActivity"
|
||||
android:name="fr.mobdev.goblim.activity.ServersActivity"
|
||||
android:label="@string/title_activity_servers"
|
||||
>
|
||||
</activity>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
package fr.mobdev.gobelim;
|
||||
package fr.mobdev.goblim;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Calendar;
|
||||
|
@ -30,8 +30,8 @@ import android.database.sqlite.SQLiteDatabase;
|
|||
import android.database.sqlite.SQLiteDatabase.CursorFactory;
|
||||
import android.database.sqlite.SQLiteOpenHelper;
|
||||
|
||||
import fr.mobdev.gobelim.objects.Img;
|
||||
import fr.mobdev.gobelim.objects.Server;
|
||||
import fr.mobdev.goblim.objects.Img;
|
||||
import fr.mobdev.goblim.objects.Server;
|
||||
|
||||
/*
|
||||
* Helper than manage all access to the database
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
package fr.mobdev.gobelim;
|
||||
package fr.mobdev.goblim;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.DataOutputStream;
|
||||
|
@ -37,8 +37,8 @@ import android.net.NetworkInfo;
|
|||
import android.net.NetworkInfo.State;
|
||||
import android.util.Log;
|
||||
|
||||
import fr.mobdev.gobelim.listener.NetworkListener;
|
||||
import fr.mobdev.gobelim.objects.Img;
|
||||
import fr.mobdev.goblim.listener.NetworkListener;
|
||||
import fr.mobdev.goblim.objects.Img;
|
||||
|
||||
public class NetworkManager {
|
||||
|
||||
|
@ -125,7 +125,7 @@ public class NetworkManager {
|
|||
conn.setDoInput(true);
|
||||
conn.setDoOutput(true);
|
||||
|
||||
conn.setRequestProperty("User-Agent", "Gobelim");
|
||||
conn.setRequestProperty("User-Agent", "Goblim");
|
||||
|
||||
conn.setRequestProperty("Expect", "100-continue");
|
||||
conn.setRequestProperty("Accept", "*/*");
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
package fr.mobdev.gobelim.activity;
|
||||
package fr.mobdev.goblim.activity;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
@ -38,9 +38,9 @@ import java.util.List;
|
|||
import java.util.Locale;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import fr.mobdev.gobelim.Database;
|
||||
import fr.mobdev.gobelim.objects.Img;
|
||||
import fr.mobdev.gobelim.R;
|
||||
import fr.mobdev.goblim.Database;
|
||||
import fr.mobdev.goblim.objects.Img;
|
||||
import fr.mobdev.goblim.R;
|
||||
|
||||
/*
|
||||
* This Activity help user to find old shared pictures and re-share it if he wanted to
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
package fr.mobdev.gobelim.activity;
|
||||
package fr.mobdev.goblim.activity;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.support.v7.app.ActionBarActivity;
|
||||
|
@ -28,7 +28,7 @@ import android.widget.TextView;
|
|||
import android.content.ClipboardManager;
|
||||
import android.widget.Toast;
|
||||
|
||||
import fr.mobdev.gobelim.R;
|
||||
import fr.mobdev.goblim.R;
|
||||
|
||||
/*
|
||||
* Activity display the link of the uploaded picture and allow user to share it with other app
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
package fr.mobdev.gobelim.activity;
|
||||
package fr.mobdev.goblim.activity;
|
||||
|
||||
import android.app.ProgressDialog;
|
||||
import android.content.ContentResolver;
|
||||
|
@ -45,12 +45,12 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import fr.mobdev.gobelim.Database;
|
||||
import fr.mobdev.gobelim.listener.NetworkListener;
|
||||
import fr.mobdev.gobelim.NetworkManager;
|
||||
import fr.mobdev.gobelim.objects.Img;
|
||||
import fr.mobdev.gobelim.objects.Server;
|
||||
import fr.mobdev.gobelim.R;
|
||||
import fr.mobdev.goblim.Database;
|
||||
import fr.mobdev.goblim.listener.NetworkListener;
|
||||
import fr.mobdev.goblim.NetworkManager;
|
||||
import fr.mobdev.goblim.objects.Img;
|
||||
import fr.mobdev.goblim.objects.Server;
|
||||
import fr.mobdev.goblim.R;
|
||||
|
||||
/*
|
||||
* Activity used to handle sharing pictures from other app that user want to upload on a lutim instance
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
package fr.mobdev.gobelim.activity;
|
||||
package fr.mobdev.goblim.activity;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.content.Context;
|
||||
|
@ -38,11 +38,11 @@ import android.widget.TextView;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import fr.mobdev.gobelim.Database;
|
||||
import fr.mobdev.gobelim.dialog.ServerDialog;
|
||||
import fr.mobdev.gobelim.listener.ServerListener;
|
||||
import fr.mobdev.gobelim.objects.Server;
|
||||
import fr.mobdev.gobelim.R;
|
||||
import fr.mobdev.goblim.Database;
|
||||
import fr.mobdev.goblim.dialog.ServerDialog;
|
||||
import fr.mobdev.goblim.listener.ServerListener;
|
||||
import fr.mobdev.goblim.objects.Server;
|
||||
import fr.mobdev.goblim.R;
|
||||
|
||||
/*
|
||||
* Activity that allow user to manage the server where he want to upload his images. Server must be lutim instance to work with the app
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
package fr.mobdev.gobelim.dialog;
|
||||
package fr.mobdev.goblim.dialog;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
|
@ -28,9 +28,9 @@ import android.widget.EditText;
|
|||
import android.widget.Spinner;
|
||||
import android.support.annotation.NonNull;
|
||||
|
||||
import fr.mobdev.gobelim.Database;
|
||||
import fr.mobdev.gobelim.listener.ServerListener;
|
||||
import fr.mobdev.gobelim.R;
|
||||
import fr.mobdev.goblim.Database;
|
||||
import fr.mobdev.goblim.listener.ServerListener;
|
||||
import fr.mobdev.goblim.R;
|
||||
|
||||
/*
|
||||
* Dialog allow user to add a new Server where he can upload images
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
package fr.mobdev.gobelim.listener;
|
||||
package fr.mobdev.goblim.listener;
|
||||
|
||||
import java.util.EventListener;
|
||||
|
||||
import fr.mobdev.gobelim.objects.Img;
|
||||
import fr.mobdev.goblim.objects.Img;
|
||||
|
||||
public interface NetworkListener extends EventListener{
|
||||
void fileUploaded(Img image);
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
package fr.mobdev.gobelim.listener;
|
||||
package fr.mobdev.goblim.listener;
|
||||
|
||||
import java.util.EventListener;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
package fr.mobdev.gobelim.objects;
|
||||
package fr.mobdev.goblim.objects;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
package fr.mobdev.gobelim.objects;
|
||||
package fr.mobdev.goblim.objects;
|
||||
|
||||
public class Server {
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin" tools:context="fr.mobdev.gobelim.activity.HistoryActivity">
|
||||
android:paddingBottom="@dimen/activity_vertical_margin" tools:context="fr.mobdev.goblim.activity.HistoryActivity">
|
||||
|
||||
<ListView
|
||||
android:id="@+id/history_list"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
tools:context="fr.mobdev.gobelim.activity.LinkActivity"
|
||||
tools:context="fr.mobdev.goblim.activity.LinkActivity"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
tools:context="fr.mobdev.gobelim.activity.ServersActivity">
|
||||
tools:context="fr.mobdev.goblim.activity.ServersActivity">
|
||||
<ListView
|
||||
android:id="@+id/servers_list"
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools" tools:context="fr.mobdev.gobelim.activity.ServersActivity">
|
||||
xmlns:tools="http://schemas.android.com/tools" tools:context="fr.mobdev.goblim.activity.ServersActivity">
|
||||
<item android:id="@+id/action_add_server"
|
||||
android:icon="@android:drawable/ic_menu_add"
|
||||
android:title="@string/add_server"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<resources>
|
||||
<string name="app_name">Gobelim</string>
|
||||
<string name="app_name">Goblim</string>
|
||||
|
||||
<string name="action_settings">Paramètres</string>
|
||||
<string name="title_activity_share">Partager</string>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<resources>
|
||||
<string name="app_name">Gobelim</string>
|
||||
<string name="app_name">Goblim</string>
|
||||
|
||||
<string name="action_settings">Parameters</string>
|
||||
<string name="title_activity_share">Share</string>
|
||||
|
|
Loading…
Reference in a new issue