Skip to content

Commit

Permalink
#15
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrimault committed Mar 11, 2018
1 parent e288bb7 commit db2caa7
Show file tree
Hide file tree
Showing 309 changed files with 1,508 additions and 1,507 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ License

GPL3

© Makina Corpus / Sebastien Grimault / Parc national des Ecrins 2012 - 2017
© Makina Corpus / Sebastien Grimault / Parc national des Ecrins 2012 - 2018
2 changes: 1 addition & 1 deletion commons/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
package="com.makina.ecrins.commons"
package="com.geonature.mobile.commons"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="GradleOverrides">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.content;
package com.geonature.mobile.commons.content;

import android.content.ContentProvider;
import android.content.ContentValues;
Expand All @@ -14,8 +14,8 @@
import android.text.TextUtils;
import android.util.Log;

import com.makina.ecrins.commons.BuildConfig;
import com.makina.ecrins.commons.settings.AbstractAppSettings;
import com.geonature.mobile.commons.BuildConfig;
import com.geonature.mobile.commons.settings.AbstractAppSettings;

import java.io.IOException;

Expand Down Expand Up @@ -175,7 +175,7 @@ public Cursor query(
queryBuilder.appendWhere(MainDatabaseHelper.SearchColumns.TAXON + " = " + DatabaseUtils.sqlEscapeString(uri.getLastPathSegment()));
break;
default:
throw new IllegalArgumentException("Unknown URI : " + uri);
throw new IllegalArgumentException("Unknown URI: " + uri);
}

// use the default sort order if needed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.content;
package com.geonature.mobile.commons.content;

import android.content.Context;
import android.database.Cursor;
Expand All @@ -11,9 +11,9 @@
import android.provider.BaseColumns;
import android.util.Log;

import com.makina.ecrins.commons.BuildConfig;
import com.makina.ecrins.commons.model.MountPoint;
import com.makina.ecrins.commons.util.FileUtils;
import com.geonature.mobile.commons.BuildConfig;
import com.geonature.mobile.commons.model.MountPoint;
import com.geonature.mobile.commons.util.FileUtils;

import java.io.File;
import java.io.IOException;
Expand Down Expand Up @@ -74,7 +74,7 @@ public synchronized SQLiteDatabase getReadableDatabase() {

/**
* Custom implementation of {@code CursorFactory} that use
* {@link com.makina.ecrins.commons.content.MainDatabaseHelper.LeaklessCursor} to close
* {@link MainDatabaseHelper.LeaklessCursor} to close
* automatically database instance.
*
* @author <a href="mailto:[email protected]">S. Grimault</a>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.input;
package com.geonature.mobile.commons.input;

import android.annotation.SuppressLint;
import android.os.Parcel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.input;
package com.geonature.mobile.commons.input;

import android.app.IntentService;
import android.content.Context;
Expand All @@ -10,8 +10,8 @@
import android.text.TextUtils;
import android.util.Log;

import com.makina.ecrins.commons.BuildConfig;
import com.makina.ecrins.commons.util.FileUtils;
import com.geonature.mobile.commons.BuildConfig;
import com.geonature.mobile.commons.util.FileUtils;

import java.io.File;
import java.io.FileWriter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.input;
package com.geonature.mobile.commons.input;

import android.annotation.SuppressLint;
import android.os.Parcel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.input;
package com.geonature.mobile.commons.input;

import android.content.BroadcastReceiver;
import android.content.Context;
Expand All @@ -9,7 +9,7 @@
import android.support.v4.content.LocalBroadcastManager;
import android.util.Log;

import com.makina.ecrins.commons.settings.QualificationSettings;
import com.geonature.mobile.commons.settings.QualificationSettings;

import java.util.Calendar;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.input;
package com.geonature.mobile.commons.input;

import android.annotation.SuppressLint;
import android.annotation.TargetApi;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.input;
package com.geonature.mobile.commons.input;

import android.annotation.TargetApi;
import android.os.Build;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.input;
package com.geonature.mobile.commons.input;

import android.support.annotation.Nullable;
import android.text.TextUtils;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.makina.ecrins.commons.input;
package com.geonature.mobile.commons.input;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.NonNull;

/**
* Describes an observer from {@link com.makina.ecrins.commons.input.AbstractInput}.
* Describes an observer from {@link AbstractInput}.
*
* @author <a href="mailto:[email protected]">S. Grimault</a>
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.input;
package com.geonature.mobile.commons.input;

import android.os.Parcel;
import android.os.Parcelable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.input;
package com.geonature.mobile.commons.input;

import android.content.Context;
import android.os.AsyncTask;
Expand All @@ -7,8 +7,8 @@
import android.support.annotation.Nullable;
import android.util.Log;

import com.makina.ecrins.commons.settings.QualificationSettings;
import com.makina.ecrins.commons.util.FileUtils;
import com.geonature.mobile.commons.settings.QualificationSettings;
import com.geonature.mobile.commons.util.FileUtils;

import org.json.JSONException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.makina.ecrins.commons.model;
package com.geonature.mobile.commons.model;

import android.os.Environment;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.util.Log;

import com.makina.ecrins.commons.BuildConfig;
import com.makina.ecrins.commons.util.DeviceUtils;
import com.geonature.mobile.commons.BuildConfig;
import com.geonature.mobile.commons.util.DeviceUtils;

import java.io.File;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.net;
package com.geonature.mobile.commons.net;

import android.content.BroadcastReceiver;
import android.content.Context;
Expand All @@ -9,7 +9,7 @@
import android.support.annotation.Nullable;
import android.util.Log;

import com.makina.ecrins.commons.BuildConfig;
import com.geonature.mobile.commons.BuildConfig;

import java.util.concurrent.atomic.AtomicBoolean;

Expand Down Expand Up @@ -77,7 +77,7 @@ public synchronized void stopListening() {
}

/**
* The callback used by {@link com.makina.ecrins.commons.net.NetworkConnectivityListener}.
* The callback used by {@link NetworkConnectivityListener}.
*
* @author <a href="mailto:[email protected]">S. Grimault</a>
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.makina.ecrins.commons.settings;
package com.geonature.mobile.commons.settings;

import android.annotation.SuppressLint;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.makina.ecrins.commons.sync.SyncSettings;
import com.geonature.mobile.commons.sync.SyncSettings;

import org.json.JSONException;
import org.json.JSONObject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.settings;
package com.geonature.mobile.commons.settings;

import android.app.IntentService;
import android.content.Context;
Expand All @@ -9,9 +9,9 @@
import android.text.TextUtils;
import android.util.Log;

import com.makina.ecrins.commons.BuildConfig;
import com.makina.ecrins.commons.model.MountPoint;
import com.makina.ecrins.commons.util.FileUtils;
import com.geonature.mobile.commons.BuildConfig;
import com.geonature.mobile.commons.model.MountPoint;
import com.geonature.mobile.commons.util.FileUtils;

import java.io.File;
import java.io.FileNotFoundException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.settings;
package com.geonature.mobile.commons.settings;

import android.app.Service;
import android.content.Context;
Expand All @@ -11,8 +11,8 @@
import android.os.RemoteException;
import android.util.Log;

import com.makina.ecrins.commons.model.MountPoint;
import com.makina.ecrins.commons.util.FileUtils;
import com.geonature.mobile.commons.model.MountPoint;
import com.geonature.mobile.commons.util.FileUtils;

import org.json.JSONException;
import org.json.JSONObject;
Expand All @@ -27,7 +27,7 @@
import java.util.concurrent.atomic.AtomicBoolean;

/**
* <Code>Service</code> implementation to execute in background {@link com.makina.ecrins.commons.settings.AbstractSettingsService.LoadSettingsFromFileAsyncTask} implementation.
* <Code>Service</code> implementation to execute in background {@link AbstractSettingsService.LoadSettingsFromFileAsyncTask} implementation.
*
* @author <a href="mailto:[email protected]">S. Grimault</a>
* @deprecated use instead {@link AbstractAppSettingsIntentService}
Expand Down Expand Up @@ -130,9 +130,9 @@ public void onDestroy() {
}

/**
* Gets a new instance of {@link com.makina.ecrins.commons.settings.AbstractSettingsService.LoadSettingsFromFileAsyncTask} or a previously created instance.
* Gets a new instance of {@link AbstractSettingsService.LoadSettingsFromFileAsyncTask} or a previously created instance.
*
* @return a new instance of {@link com.makina.ecrins.commons.settings.AbstractSettingsService.LoadSettingsFromFileAsyncTask}
* @return a new instance of {@link AbstractSettingsService.LoadSettingsFromFileAsyncTask}
*/
protected LoadSettingsFromFileAsyncTask getLoadSettingsFromFileAsyncTask() {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.settings;
package com.geonature.mobile.commons.settings;

import android.annotation.TargetApi;
import android.os.Build;
Expand All @@ -8,7 +8,7 @@
import android.util.JsonReader;
import android.util.Log;

import com.makina.ecrins.commons.sync.SyncSettingsReader;
import com.geonature.mobile.commons.sync.SyncSettingsReader;

import java.io.IOException;
import java.io.Reader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.settings;
package com.geonature.mobile.commons.settings;

import android.os.Parcel;
import android.os.Parcelable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.settings;
package com.geonature.mobile.commons.settings;

/**
* Describes a task using {@link ServiceStatus}.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.settings;
package com.geonature.mobile.commons.settings;

import android.os.Parcel;
import android.os.Parcelable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.settings;
package com.geonature.mobile.commons.settings;

import android.os.Parcel;
import android.os.Parcelable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.sync;
package com.geonature.mobile.commons.sync;

import android.app.AlarmManager;
import android.app.PendingIntent;
Expand All @@ -22,8 +22,8 @@
import android.widget.ProgressBar;
import android.widget.TextView;

import com.makina.ecrins.commons.R;
import com.makina.ecrins.commons.ui.dialog.AlertDialogFragment;
import com.geonature.mobile.commons.R;
import com.geonature.mobile.commons.ui.dialog.AlertDialogFragment;

import java.lang.ref.WeakReference;
import java.util.ArrayDeque;
Expand Down Expand Up @@ -64,7 +64,7 @@ public abstract class AbstractSynchronizationActivity
protected Messenger mSyncServiceMessenger = null;

/**
* Target we publish for clients to send messages to {@link com.makina.ecrins.commons.sync.AbstractSynchronizationActivity.SynchronizationActivityHandler}.
* Target we publish for clients to send messages to {@link AbstractSynchronizationActivity.SynchronizationActivityHandler}.
*/
private final Messenger mMessenger = new Messenger(new SynchronizationActivityHandler(this));

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.sync;
package com.geonature.mobile.commons.sync;

import android.annotation.SuppressLint;
import android.app.Service;
Expand All @@ -12,7 +12,7 @@
import android.os.RemoteException;
import android.util.Log;

import com.makina.ecrins.commons.BuildConfig;
import com.geonature.mobile.commons.BuildConfig;

import org.json.JSONObject;

Expand Down Expand Up @@ -98,9 +98,9 @@ protected SyncSettings getSyncSettings() {
}

/**
* Gets a new instance of {@link com.makina.ecrins.commons.sync.CheckServerService.CheckServerStatusAsyncTask}.
* Gets a new instance of {@link CheckServerService.CheckServerStatusAsyncTask}.
*
* @return a new instance of {@link com.makina.ecrins.commons.sync.CheckServerService.CheckServerStatusAsyncTask}
* @return a new instance of {@link CheckServerService.CheckServerStatusAsyncTask}
*/
protected CheckServerStatusAsyncTask getAsyncTask() {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.sync;
package com.geonature.mobile.commons.sync;

import android.os.Parcel;
import android.os.Parcelable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.sync;
package com.geonature.mobile.commons.sync;

import android.content.BroadcastReceiver;
import android.content.Context;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.makina.ecrins.commons.sync;
package com.geonature.mobile.commons.sync;

import android.os.Parcel;
import android.os.Parcelable;
Expand Down
Loading

0 comments on commit db2caa7

Please sign in to comment.