1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-22 04:12:08 +01:00

Final package id

This commit is contained in:
Gregor Santner 2016-03-29 19:38:50 +02:00
parent 4482f09430
commit 42f73b9418
24 changed files with 65 additions and 65 deletions

View file

@ -6,7 +6,7 @@ android {
useLibrary 'org.apache.http.legacy' useLibrary 'org.apache.http.legacy'
defaultConfig { defaultConfig {
applicationId "de.dfa.diaspora_android" applicationId "com.github.dfa.diaspora_android"
minSdkVersion 15 minSdkVersion 15
targetSdkVersion 23 targetSdkVersion 23
versionCode 1 versionCode 1

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.dfa.diaspora_android"> package="com.github.dfa.diaspora_android">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
@ -10,11 +10,11 @@
android:allowBackup="true" android:allowBackup="true"
android:fullBackupContent="true" android:fullBackupContent="true"
android:icon="@drawable/ic_launcher" android:icon="@drawable/ic_launcher"
android:name="de.dfa.diaspora_android.App" android:name="com.github.dfa.diaspora_android.App"
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/AppTheme" > android:theme="@style/AppTheme" >
<activity <activity
android:name=".activity.SplashActivity" android:name="com.github.dfa.diaspora_android.activity.SplashActivity"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name" android:label="@string/app_name"
@ -26,7 +26,7 @@
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity
android:name=".activity.PodsActivity" android:name="com.github.dfa.diaspora_android.activity.PodsActivity"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/title_activity_pods" android:label="@string/title_activity_pods"
@ -34,7 +34,7 @@
android:windowSoftInputMode="stateHidden" > android:windowSoftInputMode="stateHidden" >
</activity> </activity>
<activity <activity
android:name=".activity.MainActivity" android:name="com.github.dfa.diaspora_android.activity.MainActivity"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:windowSoftInputMode="adjustResize" android:windowSoftInputMode="adjustResize"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
@ -43,7 +43,7 @@
</activity> </activity>
<activity <activity
android:name=".activity.ShareActivity" android:name="com.github.dfa.diaspora_android.activity.ShareActivity"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/new_post" android:label="@string/new_post"
@ -58,7 +58,7 @@
</activity> </activity>
<activity <activity
android:name=".activity.ShareActivity2" android:name="com.github.dfa.diaspora_android.activity.ShareActivity2"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/new_post" android:label="@string/new_post"
@ -74,7 +74,7 @@
</activity> </activity>
<service <service
android:name=".task.GetPodsService" android:name="com.github.dfa.diaspora_android.task.GetPodsService"
android:enabled="true" android:enabled="true"
android:exported="false" > android:exported="false" >
</service> </service>

View file

@ -1,9 +1,9 @@
package de.dfa.diaspora_android; package com.github.dfa.diaspora_android;
import android.app.Application; import android.app.Application;
import de.dfa.diaspora_android.data.AppSettings; import com.github.dfa.diaspora_android.data.AppSettings;
import de.dfa.diaspora_android.util.AvatarImageLoader; import com.github.dfa.diaspora_android.util.AvatarImageLoader;
/** /**
* Created by gregor on 24.03.16. * Created by gregor on 24.03.16.

View file

@ -17,7 +17,7 @@
If not, see <http://www.gnu.org/licenses/>. If not, see <http://www.gnu.org/licenses/>.
*/ */
package de.dfa.diaspora_android.activity; package com.github.dfa.diaspora_android.activity;
import android.Manifest; import android.Manifest;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
@ -69,6 +69,13 @@ import android.widget.RadioGroup;
import android.widget.TextView; import android.widget.TextView;
import com.getbase.floatingactionbutton.FloatingActionsMenu; import com.getbase.floatingactionbutton.FloatingActionsMenu;
import com.github.dfa.diaspora_android.App;
import com.github.dfa.diaspora_android.R;
import com.github.dfa.diaspora_android.data.AppSettings;
import com.github.dfa.diaspora_android.data.WebUserProfile;
import com.github.dfa.diaspora_android.listener.SoftKeyboardStateWatcher;
import com.github.dfa.diaspora_android.listener.WebUserProfileChangedListener;
import com.github.dfa.diaspora_android.util.Helpers;
import org.json.JSONException; import org.json.JSONException;
@ -80,13 +87,6 @@ import java.util.Date;
import butterknife.Bind; import butterknife.Bind;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import de.dfa.diaspora_android.App;
import de.dfa.diaspora_android.R;
import de.dfa.diaspora_android.data.AppSettings;
import de.dfa.diaspora_android.data.WebUserProfile;
import de.dfa.diaspora_android.listener.SoftKeyboardStateWatcher;
import de.dfa.diaspora_android.listener.WebUserProfileChangedListener;
import de.dfa.diaspora_android.util.Helpers;
public class MainActivity extends AppCompatActivity public class MainActivity extends AppCompatActivity
implements NavigationView.OnNavigationItemSelectedListener, WebUserProfileChangedListener { implements NavigationView.OnNavigationItemSelectedListener, WebUserProfileChangedListener {

View file

@ -17,7 +17,7 @@
If not, see <http://www.gnu.org/licenses/>. If not, see <http://www.gnu.org/licenses/>.
*/ */
package de.dfa.diaspora_android.activity; package com.github.dfa.diaspora_android.activity;
import android.annotation.TargetApi; import android.annotation.TargetApi;
import android.app.AlertDialog; import android.app.AlertDialog;
@ -44,14 +44,14 @@ import android.widget.ImageView;
import android.widget.ListView; import android.widget.ListView;
import android.widget.TextView; import android.widget.TextView;
import com.github.dfa.diaspora_android.App;
import com.github.dfa.diaspora_android.R;
import com.github.dfa.diaspora_android.task.GetPodsService;
import com.github.dfa.diaspora_android.util.Helpers;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;
import de.dfa.diaspora_android.App;
import de.dfa.diaspora_android.R;
import de.dfa.diaspora_android.task.GetPodsService;
import de.dfa.diaspora_android.util.Helpers;
public class PodsActivity extends AppCompatActivity { public class PodsActivity extends AppCompatActivity {

View file

@ -17,7 +17,7 @@
If not, see <http://www.gnu.org/licenses/>. If not, see <http://www.gnu.org/licenses/>.
*/ */
package de.dfa.diaspora_android.activity; package com.github.dfa.diaspora_android.activity;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Intent; import android.content.Intent;
@ -40,15 +40,15 @@ import android.webkit.WebView;
import android.webkit.WebViewClient; import android.webkit.WebViewClient;
import android.widget.ProgressBar; import android.widget.ProgressBar;
import com.github.dfa.diaspora_android.App;
import com.github.dfa.diaspora_android.R;
import com.github.dfa.diaspora_android.util.Helpers;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Date; import java.util.Date;
import de.dfa.diaspora_android.App;
import de.dfa.diaspora_android.R;
import de.dfa.diaspora_android.util.Helpers;
public class ShareActivity extends MainActivity { public class ShareActivity extends MainActivity {
private WebView webView; private WebView webView;

View file

@ -17,7 +17,7 @@
If not, see <http://www.gnu.org/licenses/>. If not, see <http://www.gnu.org/licenses/>.
*/ */
package de.dfa.diaspora_android.activity; package com.github.dfa.diaspora_android.activity;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.content.Intent; import android.content.Intent;
@ -40,15 +40,15 @@ import android.webkit.WebView;
import android.webkit.WebViewClient; import android.webkit.WebViewClient;
import android.widget.ProgressBar; import android.widget.ProgressBar;
import com.github.dfa.diaspora_android.App;
import com.github.dfa.diaspora_android.R;
import com.github.dfa.diaspora_android.util.Helpers;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Date; import java.util.Date;
import de.dfa.diaspora_android.App;
import de.dfa.diaspora_android.R;
import de.dfa.diaspora_android.util.Helpers;
public class ShareActivity2 extends MainActivity { public class ShareActivity2 extends MainActivity {
private WebView webView; private WebView webView;

View file

@ -17,7 +17,7 @@
If not, see <http://www.gnu.org/licenses/>. If not, see <http://www.gnu.org/licenses/>.
*/ */
package de.dfa.diaspora_android.activity; package com.github.dfa.diaspora_android.activity;
import android.content.Intent; import android.content.Intent;
import android.content.res.TypedArray; import android.content.res.TypedArray;
@ -26,12 +26,12 @@ import android.support.v7.app.AppCompatActivity;
import android.view.WindowManager; import android.view.WindowManager;
import android.widget.ImageView; import android.widget.ImageView;
import com.github.dfa.diaspora_android.App;
import com.github.dfa.diaspora_android.R;
import java.util.Timer; import java.util.Timer;
import java.util.TimerTask; import java.util.TimerTask;
import de.dfa.diaspora_android.App;
import de.dfa.diaspora_android.R;
public class SplashActivity extends AppCompatActivity { public class SplashActivity extends AppCompatActivity {
private App app; private App app;

View file

@ -1,4 +1,4 @@
package de.dfa.diaspora_android.data; package com.github.dfa.diaspora_android.data;
import android.content.Context; import android.content.Context;
import android.content.SharedPreferences; import android.content.SharedPreferences;

View file

@ -1,14 +1,14 @@
package de.dfa.diaspora_android.data; package com.github.dfa.diaspora_android.data;
import android.os.Handler; import android.os.Handler;
import android.util.Log; import android.util.Log;
import com.github.dfa.diaspora_android.App;
import com.github.dfa.diaspora_android.listener.WebUserProfileChangedListener;
import org.json.JSONException; import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;
import de.dfa.diaspora_android.App;
import de.dfa.diaspora_android.listener.WebUserProfileChangedListener;
/** /**
* Created by de-live-gdev on 24.03.16. Part of Diaspora WebApp. * Created by de-live-gdev on 24.03.16. Part of Diaspora WebApp.
*/ */

View file

@ -1,4 +1,4 @@
package de.dfa.diaspora_android.listener; package com.github.dfa.diaspora_android.listener;
/** /**
* Created by juergen on 25.03.16. Part of Diaspora WebApp. * Created by juergen on 25.03.16. Part of Diaspora WebApp.

View file

@ -1,4 +1,4 @@
package de.dfa.diaspora_android.listener; package com.github.dfa.diaspora_android.listener;
/** /**
* Created by Gregor Santner (de-live-gdev) on 26.03.16. * Created by Gregor Santner (de-live-gdev) on 26.03.16.

View file

@ -17,7 +17,7 @@
If not, see <http://www.gnu.org/licenses/>. If not, see <http://www.gnu.org/licenses/>.
*/ */
package de.dfa.diaspora_android.task; package com.github.dfa.diaspora_android.task;
import android.app.Service; import android.app.Service;
import android.content.Intent; import android.content.Intent;
@ -42,7 +42,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
public class GetPodsService extends Service { public class GetPodsService extends Service {
public static final String MESSAGE = "de.dfa.diaspora.podsreceived"; public static final String MESSAGE = "com.github.dfa.diaspora.podsreceived";
private static final String TAG = "Diaspora Pod Service"; private static final String TAG = "Diaspora Pod Service";

View file

@ -1,4 +1,4 @@
package de.dfa.diaspora_android.task; package com.github.dfa.diaspora_android.task;
import android.graphics.Bitmap; import android.graphics.Bitmap;
import android.graphics.BitmapFactory; import android.graphics.BitmapFactory;
@ -7,12 +7,12 @@ import android.support.annotation.Nullable;
import android.util.Log; import android.util.Log;
import android.widget.ImageView; import android.widget.ImageView;
import com.github.dfa.diaspora_android.App;
import java.io.FileOutputStream; import java.io.FileOutputStream;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import de.dfa.diaspora_android.App;
/** /**
* Created by Gregor Santner (de-live-gdev) on 24.03.16. * Created by Gregor Santner (de-live-gdev) on 24.03.16.
*/ */

View file

@ -1,4 +1,4 @@
package de.dfa.diaspora_android.ui; package com.github.dfa.diaspora_android.ui;
/** /**
* Created by juergen on 29.02.16. Part of Diaspora WebApp. * Created by juergen on 29.02.16. Part of Diaspora WebApp.

View file

@ -1,13 +1,13 @@
package de.dfa.diaspora_android.util; package com.github.dfa.diaspora_android.util;
import android.content.Context; import android.content.Context;
import android.graphics.Bitmap; import android.graphics.Bitmap;
import android.graphics.BitmapFactory; import android.graphics.BitmapFactory;
import android.widget.ImageView; import android.widget.ImageView;
import java.io.File; import com.github.dfa.diaspora_android.task.ImageDownloadTask;
import de.dfa.diaspora_android.task.ImageDownloadTask; import java.io.File;
/** /**
* Created by Gregor Santner (de-live-gdev) on 24.03.16. * Created by Gregor Santner (de-live-gdev) on 24.03.16.

View file

@ -17,7 +17,7 @@
If not, see <http://www.gnu.org/licenses/>. If not, see <http://www.gnu.org/licenses/>.
*/ */
package de.dfa.diaspora_android.util; package com.github.dfa.diaspora_android.util;
import android.content.Context; import android.content.Context;

View file

@ -7,7 +7,7 @@
android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".activity.PodsActivity"> tools:context="com.github.dfa.diaspora_android.activity.PodsActivity">
<ListView <ListView
android:id="@+id/lstPods" android:id="@+id/lstPods"

View file

@ -2,7 +2,7 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".activity.SplashActivity"> tools:context="com.github.dfa.diaspora_android.activity.SplashActivity">
<ImageView <ImageView
android:id="@+id/imgSplash" android:id="@+id/imgSplash"

View file

@ -6,7 +6,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
tools:context="de.dfa.myapplication.MainActivity"> tools:context=".activity.MainActivity">
<android.support.design.widget.AppBarLayout <android.support.design.widget.AppBarLayout
android:layout_width="match_parent" android:layout_width="match_parent"
@ -33,7 +33,7 @@
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:layout_marginRight="8dp" android:layout_marginRight="8dp"
android:visibility="gone" android:visibility="gone"
app:layout_behavior="de.dfa.diaspora_android.ui.FloatingActionsMenuBehavior" app:layout_behavior=".ui.FloatingActionsMenuBehavior"
fab:fab_addButtonColorNormal="@color/fab_big" fab:fab_addButtonColorNormal="@color/fab_big"
fab:fab_addButtonColorPressed="@color/fab_big_pressed" fab:fab_addButtonColorPressed="@color/fab_big_pressed"
fab:fab_addButtonPlusIconColor="@color/white" fab:fab_addButtonPlusIconColor="@color/white"

View file

@ -5,7 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="de.dfa.myapplication.MainActivity" tools:context="com.github.dfa.myapplication.MainActivity"
tools:showIn="@layout/app_bar_main"> tools:showIn="@layout/app_bar_main">
<android.support.v4.widget.SwipeRefreshLayout <android.support.v4.widget.SwipeRefreshLayout

View file

@ -1,7 +1,7 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android" <menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
tools:context=".activity.MainActivity"> tools:context="com.github.dfa.diaspora_android.activity.MainActivity">
<item <item
android:id="@+id/action_exit" android:id="@+id/action_exit"

View file

@ -1,7 +1,7 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android" <menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
tools:context=".activity.MainActivity"> tools:context="com.github.dfa.diaspora_android.activity.MainActivity">
<item <item
android:id="@+id/action_notifications" android:id="@+id/action_notifications"

View file

@ -1,7 +1,7 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android" <menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
tools:context=".activity.PodsActivity"> tools:context="com.github.dfa.diaspora_android.activity.PodsActivity">
<item <item
android:id="@+id/action_reload" android:id="@+id/action_reload"