From 55886c1c02eb9fe387e754c6a320f710ab70b0af Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Thu, 5 Sep 2013 01:37:59 +0200 Subject: [PATCH] Moved from org.kde.connect to org.kde.kdeconnect --- KdeConnect/src/main/AndroidManifest.xml | 16 ++++++++-------- .../BackgroundService.java | 8 ++++---- .../ComputerLinks/BaseComputerLink.java | 6 +++--- .../ComputerLinks/LanComputerLink.java | 6 +++--- .../org/kde/{connect => kdeconnect}/Device.java | 12 ++++++------ .../Helpers/AppsHelper.java | 2 +- .../Helpers/ContactsHelper.java | 2 +- .../Helpers/ImagesHelper.java | 2 +- .../HumanDeviceNames.java | 2 +- .../KdeConnectBroadcastReceiver.java | 2 +- .../LinkProviders/BaseLinkProvider.java | 6 +++--- .../LinkProviders/LanLinkProvider.java | 6 +++--- .../{connect => kdeconnect}/NetworkPackage.java | 2 +- .../Plugins/BatteryPlugin/BatteryPlugin.java | 6 +++--- .../Plugins/ClibpoardPlugin/ClipboardPlugin.java | 6 +++--- .../Plugins/MprisPlugin/MprisActivity.java | 12 ++++++------ .../Plugins/MprisPlugin/MprisPlugin.java | 6 +++--- .../NotificationReceiver.java | 2 +- .../NotificationsPlugin/NotificationsPlugin.java | 10 +++++----- .../Plugins/PingPlugin/PingPlugin.java | 6 +++--- .../{connect => kdeconnect}/Plugins/Plugin.java | 6 +++--- .../Plugins/PluginFactory.java | 16 ++++++++-------- .../Plugins/TelephonyPlugin/TelephonyPlugin.java | 8 ++++---- .../UserInterface/DeviceActivity.java | 14 +++++++------- .../UserInterface/ImageListAdapter.java | 2 +- .../UserInterface/List/ButtonItem.java | 2 +- .../UserInterface/List/DeviceItem.java | 8 ++++---- .../UserInterface/List/ListAdapter.java | 2 +- .../UserInterface/List/SectionItem.java | 2 +- .../UserInterface/MainActivity.java | 12 ++++++------ .../UserInterface/PairActivity.java | 6 +++--- .../UserInterface/PreferenceListAdapter.java | 2 +- .../UserInterface/SettingsActivity.java | 8 ++++---- 33 files changed, 104 insertions(+), 104 deletions(-) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/BackgroundService.java (97%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/ComputerLinks/BaseComputerLink.java (89%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/ComputerLinks/LanComputerLink.java (86%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Device.java (98%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Helpers/AppsHelper.java (97%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Helpers/ContactsHelper.java (97%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Helpers/ImagesHelper.java (94%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/HumanDeviceNames.java (99%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/KdeConnectBroadcastReceiver.java (98%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/LinkProviders/BaseLinkProvider.java (90%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/LinkProviders/LanLinkProvider.java (98%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/NetworkPackage.java (99%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Plugins/BatteryPlugin/BatteryPlugin.java (96%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Plugins/ClibpoardPlugin/ClipboardPlugin.java (95%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Plugins/MprisPlugin/MprisActivity.java (97%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Plugins/MprisPlugin/MprisPlugin.java (97%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Plugins/NotificationsPlugin/NotificationReceiver.java (97%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Plugins/NotificationsPlugin/NotificationsPlugin.java (98%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Plugins/PingPlugin/PingPlugin.java (95%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Plugins/Plugin.java (95%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Plugins/PluginFactory.java (89%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/Plugins/TelephonyPlugin/TelephonyPlugin.java (96%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/UserInterface/DeviceActivity.java (94%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/UserInterface/ImageListAdapter.java (98%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/UserInterface/List/ButtonItem.java (88%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/UserInterface/List/DeviceItem.java (87%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/UserInterface/List/ListAdapter.java (94%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/UserInterface/List/SectionItem.java (94%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/UserInterface/MainActivity.java (95%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/UserInterface/PairActivity.java (97%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/UserInterface/PreferenceListAdapter.java (94%) rename KdeConnect/src/main/java/org/kde/{connect => kdeconnect}/UserInterface/SettingsActivity.java (93%) diff --git a/KdeConnect/src/main/AndroidManifest.xml b/KdeConnect/src/main/AndroidManifest.xml index 700c6414..14857302 100644 --- a/KdeConnect/src/main/AndroidManifest.xml +++ b/KdeConnect/src/main/AndroidManifest.xml @@ -24,7 +24,7 @@ @@ -36,7 +36,7 @@ @@ -49,7 +49,7 @@ @@ -62,7 +62,7 @@ + android:name="org.kde.kdeconnect.BackgroundService"> - - + diff --git a/KdeConnect/src/main/java/org/kde/connect/BackgroundService.java b/KdeConnect/src/main/java/org/kde/kdeconnect/BackgroundService.java similarity index 97% rename from KdeConnect/src/main/java/org/kde/connect/BackgroundService.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/BackgroundService.java index f16e84d6..a119f96b 100644 --- a/KdeConnect/src/main/java/org/kde/connect/BackgroundService.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/BackgroundService.java @@ -1,4 +1,4 @@ -package org.kde.connect; +package org.kde.kdeconnect; import android.app.Service; import android.content.Context; @@ -11,9 +11,9 @@ import android.preference.PreferenceManager; import android.util.Base64; import android.util.Log; -import org.kde.connect.ComputerLinks.BaseComputerLink; -import org.kde.connect.LinkProviders.BaseLinkProvider; -import org.kde.connect.LinkProviders.LanLinkProvider; +import org.kde.kdeconnect.ComputerLinks.BaseComputerLink; +import org.kde.kdeconnect.LinkProviders.BaseLinkProvider; +import org.kde.kdeconnect.LinkProviders.LanLinkProvider; import java.security.KeyPair; import java.security.KeyPairGenerator; diff --git a/KdeConnect/src/main/java/org/kde/connect/ComputerLinks/BaseComputerLink.java b/KdeConnect/src/main/java/org/kde/kdeconnect/ComputerLinks/BaseComputerLink.java similarity index 89% rename from KdeConnect/src/main/java/org/kde/connect/ComputerLinks/BaseComputerLink.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/ComputerLinks/BaseComputerLink.java index 3a00e1ce..ea4f05eb 100644 --- a/KdeConnect/src/main/java/org/kde/connect/ComputerLinks/BaseComputerLink.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/ComputerLinks/BaseComputerLink.java @@ -1,7 +1,7 @@ -package org.kde.connect.ComputerLinks; +package org.kde.kdeconnect.ComputerLinks; -import org.kde.connect.LinkProviders.BaseLinkProvider; -import org.kde.connect.NetworkPackage; +import org.kde.kdeconnect.LinkProviders.BaseLinkProvider; +import org.kde.kdeconnect.NetworkPackage; import java.util.ArrayList; diff --git a/KdeConnect/src/main/java/org/kde/connect/ComputerLinks/LanComputerLink.java b/KdeConnect/src/main/java/org/kde/kdeconnect/ComputerLinks/LanComputerLink.java similarity index 86% rename from KdeConnect/src/main/java/org/kde/connect/ComputerLinks/LanComputerLink.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/ComputerLinks/LanComputerLink.java index cd1c011a..cefafce4 100644 --- a/KdeConnect/src/main/java/org/kde/connect/ComputerLinks/LanComputerLink.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/ComputerLinks/LanComputerLink.java @@ -1,10 +1,10 @@ -package org.kde.connect.ComputerLinks; +package org.kde.kdeconnect.ComputerLinks; import android.util.Log; import org.apache.mina.core.session.IoSession; -import org.kde.connect.LinkProviders.BaseLinkProvider; -import org.kde.connect.NetworkPackage; +import org.kde.kdeconnect.LinkProviders.BaseLinkProvider; +import org.kde.kdeconnect.NetworkPackage; public class LanComputerLink extends BaseComputerLink { diff --git a/KdeConnect/src/main/java/org/kde/connect/Device.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Device.java similarity index 98% rename from KdeConnect/src/main/java/org/kde/connect/Device.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Device.java index 9f99f159..2a56f916 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Device.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Device.java @@ -1,4 +1,4 @@ -package org.kde.connect; +package org.kde.kdeconnect; import android.app.Notification; import android.app.NotificationManager; @@ -15,11 +15,11 @@ import android.support.v4.app.NotificationCompat; import android.util.Base64; import android.util.Log; -import org.kde.connect.ComputerLinks.BaseComputerLink; -import org.kde.connect.Plugins.Plugin; -import org.kde.connect.Plugins.PluginFactory; -import org.kde.connect.UserInterface.PairActivity; -import org.kde.kdeconnect.R; +import org.kde.kdeconnect.ComputerLinks.BaseComputerLink; +import org.kde.kdeconnect.Plugins.Plugin; +import org.kde.kdeconnect.Plugins.PluginFactory; +import org.kde.kdeconnect.UserInterface.PairActivity; +import org.kde.kdeconnect_tp.R; import java.security.KeyFactory; import java.security.PrivateKey; diff --git a/KdeConnect/src/main/java/org/kde/connect/Helpers/AppsHelper.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Helpers/AppsHelper.java similarity index 97% rename from KdeConnect/src/main/java/org/kde/connect/Helpers/AppsHelper.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Helpers/AppsHelper.java index d9e903af..3b8f0e03 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Helpers/AppsHelper.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Helpers/AppsHelper.java @@ -1,4 +1,4 @@ -package org.kde.connect.Helpers; +package org.kde.kdeconnect.Helpers; import android.content.Context; import android.content.pm.ApplicationInfo; diff --git a/KdeConnect/src/main/java/org/kde/connect/Helpers/ContactsHelper.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Helpers/ContactsHelper.java similarity index 97% rename from KdeConnect/src/main/java/org/kde/connect/Helpers/ContactsHelper.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Helpers/ContactsHelper.java index 3f784dae..7c85ceeb 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Helpers/ContactsHelper.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Helpers/ContactsHelper.java @@ -1,4 +1,4 @@ -package org.kde.connect.Helpers; +package org.kde.kdeconnect.Helpers; import android.content.Context; import android.database.Cursor; diff --git a/KdeConnect/src/main/java/org/kde/connect/Helpers/ImagesHelper.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Helpers/ImagesHelper.java similarity index 94% rename from KdeConnect/src/main/java/org/kde/connect/Helpers/ImagesHelper.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Helpers/ImagesHelper.java index 10d5068f..85fbee2d 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Helpers/ImagesHelper.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Helpers/ImagesHelper.java @@ -1,4 +1,4 @@ -package org.kde.connect.Helpers; +package org.kde.kdeconnect.Helpers; import android.graphics.Bitmap; import android.graphics.Canvas; diff --git a/KdeConnect/src/main/java/org/kde/connect/HumanDeviceNames.java b/KdeConnect/src/main/java/org/kde/kdeconnect/HumanDeviceNames.java similarity index 99% rename from KdeConnect/src/main/java/org/kde/connect/HumanDeviceNames.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/HumanDeviceNames.java index f4633e8f..81394144 100644 --- a/KdeConnect/src/main/java/org/kde/connect/HumanDeviceNames.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/HumanDeviceNames.java @@ -1,4 +1,4 @@ -package org.kde.connect; +package org.kde.kdeconnect; import android.os.Build; diff --git a/KdeConnect/src/main/java/org/kde/connect/KdeConnectBroadcastReceiver.java b/KdeConnect/src/main/java/org/kde/kdeconnect/KdeConnectBroadcastReceiver.java similarity index 98% rename from KdeConnect/src/main/java/org/kde/connect/KdeConnectBroadcastReceiver.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/KdeConnectBroadcastReceiver.java index 98fcbc6f..bb1d8a0f 100644 --- a/KdeConnect/src/main/java/org/kde/connect/KdeConnectBroadcastReceiver.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/KdeConnectBroadcastReceiver.java @@ -1,4 +1,4 @@ -package org.kde.connect; +package org.kde.kdeconnect; import android.content.BroadcastReceiver; import android.content.Context; diff --git a/KdeConnect/src/main/java/org/kde/connect/LinkProviders/BaseLinkProvider.java b/KdeConnect/src/main/java/org/kde/kdeconnect/LinkProviders/BaseLinkProvider.java similarity index 90% rename from KdeConnect/src/main/java/org/kde/connect/LinkProviders/BaseLinkProvider.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/LinkProviders/BaseLinkProvider.java index e5ad4d42..f6dda57f 100644 --- a/KdeConnect/src/main/java/org/kde/connect/LinkProviders/BaseLinkProvider.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/LinkProviders/BaseLinkProvider.java @@ -1,9 +1,9 @@ -package org.kde.connect.LinkProviders; +package org.kde.kdeconnect.LinkProviders; import android.util.Log; -import org.kde.connect.ComputerLinks.BaseComputerLink; -import org.kde.connect.NetworkPackage; +import org.kde.kdeconnect.ComputerLinks.BaseComputerLink; +import org.kde.kdeconnect.NetworkPackage; import java.util.ArrayList; diff --git a/KdeConnect/src/main/java/org/kde/connect/LinkProviders/LanLinkProvider.java b/KdeConnect/src/main/java/org/kde/kdeconnect/LinkProviders/LanLinkProvider.java similarity index 98% rename from KdeConnect/src/main/java/org/kde/connect/LinkProviders/LanLinkProvider.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/LinkProviders/LanLinkProvider.java index dac87d78..86b05230 100644 --- a/KdeConnect/src/main/java/org/kde/connect/LinkProviders/LanLinkProvider.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/LinkProviders/LanLinkProvider.java @@ -1,4 +1,4 @@ -package org.kde.connect.LinkProviders; +package org.kde.kdeconnect.LinkProviders; import android.content.Context; import android.os.AsyncTask; @@ -16,8 +16,8 @@ import org.apache.mina.filter.codec.textline.TextLineCodecFactory; import org.apache.mina.transport.socket.nio.NioDatagramAcceptor; import org.apache.mina.transport.socket.nio.NioSocketAcceptor; import org.apache.mina.transport.socket.nio.NioSocketConnector; -import org.kde.connect.ComputerLinks.LanComputerLink; -import org.kde.connect.NetworkPackage; +import org.kde.kdeconnect.ComputerLinks.LanComputerLink; +import org.kde.kdeconnect.NetworkPackage; import java.net.DatagramPacket; import java.net.DatagramSocket; diff --git a/KdeConnect/src/main/java/org/kde/connect/NetworkPackage.java b/KdeConnect/src/main/java/org/kde/kdeconnect/NetworkPackage.java similarity index 99% rename from KdeConnect/src/main/java/org/kde/connect/NetworkPackage.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/NetworkPackage.java index 3eae8cc6..a4410ccd 100644 --- a/KdeConnect/src/main/java/org/kde/connect/NetworkPackage.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/NetworkPackage.java @@ -1,4 +1,4 @@ -package org.kde.connect; +package org.kde.kdeconnect; import android.content.Context; import android.content.SharedPreferences; diff --git a/KdeConnect/src/main/java/org/kde/connect/Plugins/BatteryPlugin/BatteryPlugin.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/BatteryPlugin/BatteryPlugin.java similarity index 96% rename from KdeConnect/src/main/java/org/kde/connect/Plugins/BatteryPlugin/BatteryPlugin.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/BatteryPlugin/BatteryPlugin.java index 8a69e814..bb5adb29 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Plugins/BatteryPlugin/BatteryPlugin.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/BatteryPlugin/BatteryPlugin.java @@ -1,4 +1,4 @@ -package org.kde.connect.Plugins.BatteryPlugin; +package org.kde.kdeconnect.Plugins.BatteryPlugin; import android.app.Activity; import android.app.AlertDialog; @@ -11,8 +11,8 @@ import android.os.BatteryManager; import android.util.Log; import android.widget.Button; -import org.kde.connect.NetworkPackage; -import org.kde.connect.Plugins.Plugin; +import org.kde.kdeconnect.NetworkPackage; +import org.kde.kdeconnect.Plugins.Plugin; import org.kde.kdeconnect_tp.R; public class BatteryPlugin extends Plugin { diff --git a/KdeConnect/src/main/java/org/kde/connect/Plugins/ClibpoardPlugin/ClipboardPlugin.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/ClibpoardPlugin/ClipboardPlugin.java similarity index 95% rename from KdeConnect/src/main/java/org/kde/connect/Plugins/ClibpoardPlugin/ClipboardPlugin.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/ClibpoardPlugin/ClipboardPlugin.java index b699aba3..452dd2f2 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Plugins/ClibpoardPlugin/ClipboardPlugin.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/ClibpoardPlugin/ClipboardPlugin.java @@ -1,4 +1,4 @@ -package org.kde.connect.Plugins.ClibpoardPlugin; +package org.kde.kdeconnect.Plugins.ClibpoardPlugin; import android.app.Activity; import android.app.AlertDialog; @@ -10,8 +10,8 @@ import android.graphics.drawable.Drawable; import android.os.Build; import android.widget.Button; -import org.kde.connect.NetworkPackage; -import org.kde.connect.Plugins.Plugin; +import org.kde.kdeconnect.NetworkPackage; +import org.kde.kdeconnect.Plugins.Plugin; import org.kde.kdeconnect_tp.R; public class ClipboardPlugin extends Plugin { diff --git a/KdeConnect/src/main/java/org/kde/connect/Plugins/MprisPlugin/MprisActivity.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/MprisPlugin/MprisActivity.java similarity index 97% rename from KdeConnect/src/main/java/org/kde/connect/Plugins/MprisPlugin/MprisActivity.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/MprisPlugin/MprisActivity.java index 9b717443..fb8a0a26 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Plugins/MprisPlugin/MprisActivity.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/MprisPlugin/MprisActivity.java @@ -1,4 +1,4 @@ -package org.kde.connect.Plugins.MprisPlugin; +package org.kde.kdeconnect.Plugins.MprisPlugin; import android.app.Activity; import android.os.Bundle; @@ -13,11 +13,11 @@ import android.widget.SeekBar; import android.widget.Spinner; import android.widget.TextView; -import org.kde.connect.BackgroundService; -import org.kde.connect.ComputerLinks.BaseComputerLink; -import org.kde.connect.Device; -import org.kde.connect.LinkProviders.BaseLinkProvider; -import org.kde.connect.NetworkPackage; +import org.kde.kdeconnect.BackgroundService; +import org.kde.kdeconnect.ComputerLinks.BaseComputerLink; +import org.kde.kdeconnect.Device; +import org.kde.kdeconnect.LinkProviders.BaseLinkProvider; +import org.kde.kdeconnect.NetworkPackage; import org.kde.kdeconnect_tp.R; import java.util.ArrayList; diff --git a/KdeConnect/src/main/java/org/kde/connect/Plugins/MprisPlugin/MprisPlugin.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/MprisPlugin/MprisPlugin.java similarity index 97% rename from KdeConnect/src/main/java/org/kde/connect/Plugins/MprisPlugin/MprisPlugin.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/MprisPlugin/MprisPlugin.java index 1c4ad4c0..7f0bf45f 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Plugins/MprisPlugin/MprisPlugin.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/MprisPlugin/MprisPlugin.java @@ -1,4 +1,4 @@ -package org.kde.connect.Plugins.MprisPlugin; +package org.kde.kdeconnect.Plugins.MprisPlugin; import android.app.Activity; import android.app.AlertDialog; @@ -11,8 +11,8 @@ import android.util.Log; import android.view.View; import android.widget.Button; -import org.kde.connect.NetworkPackage; -import org.kde.connect.Plugins.Plugin; +import org.kde.kdeconnect.NetworkPackage; +import org.kde.kdeconnect.Plugins.Plugin; import org.kde.kdeconnect_tp.R; import java.util.ArrayList; diff --git a/KdeConnect/src/main/java/org/kde/connect/Plugins/NotificationsPlugin/NotificationReceiver.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationReceiver.java similarity index 97% rename from KdeConnect/src/main/java/org/kde/connect/Plugins/NotificationsPlugin/NotificationReceiver.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationReceiver.java index dfb4726c..c51561c6 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Plugins/NotificationsPlugin/NotificationReceiver.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationReceiver.java @@ -1,4 +1,4 @@ -package org.kde.connect.Plugins.NotificationsPlugin; +package org.kde.kdeconnect.Plugins.NotificationsPlugin; import android.app.Service; import android.content.Context; diff --git a/KdeConnect/src/main/java/org/kde/connect/Plugins/NotificationsPlugin/NotificationsPlugin.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java similarity index 98% rename from KdeConnect/src/main/java/org/kde/connect/Plugins/NotificationsPlugin/NotificationsPlugin.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java index cab1c201..84f02344 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Plugins/NotificationsPlugin/NotificationsPlugin.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java @@ -1,4 +1,4 @@ -package org.kde.connect.Plugins.NotificationsPlugin; +package org.kde.kdeconnect.Plugins.NotificationsPlugin; import android.app.Activity; import android.app.AlertDialog; @@ -16,10 +16,10 @@ import android.util.Base64; import android.util.Log; import android.widget.Button; -import org.kde.connect.Helpers.AppsHelper; -import org.kde.connect.Helpers.ImagesHelper; -import org.kde.connect.NetworkPackage; -import org.kde.connect.Plugins.Plugin; +import org.kde.kdeconnect.Helpers.AppsHelper; +import org.kde.kdeconnect.Helpers.ImagesHelper; +import org.kde.kdeconnect.NetworkPackage; +import org.kde.kdeconnect.Plugins.Plugin; import org.kde.kdeconnect_tp.R; import java.io.ByteArrayOutputStream; diff --git a/KdeConnect/src/main/java/org/kde/connect/Plugins/PingPlugin/PingPlugin.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java similarity index 95% rename from KdeConnect/src/main/java/org/kde/connect/Plugins/PingPlugin/PingPlugin.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java index 574a35a6..f22df7f7 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Plugins/PingPlugin/PingPlugin.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java @@ -1,4 +1,4 @@ -package org.kde.connect.Plugins.PingPlugin; +package org.kde.kdeconnect.Plugins.PingPlugin; import android.app.Activity; import android.app.AlertDialog; @@ -10,8 +10,8 @@ import android.support.v4.app.NotificationCompat; import android.view.View; import android.widget.Button; -import org.kde.connect.NetworkPackage; -import org.kde.connect.Plugins.Plugin; +import org.kde.kdeconnect.NetworkPackage; +import org.kde.kdeconnect.Plugins.Plugin; import org.kde.kdeconnect_tp.R; diff --git a/KdeConnect/src/main/java/org/kde/connect/Plugins/Plugin.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/Plugin.java similarity index 95% rename from KdeConnect/src/main/java/org/kde/connect/Plugins/Plugin.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/Plugin.java index bdf649b6..a91016ac 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Plugins/Plugin.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/Plugin.java @@ -1,4 +1,4 @@ -package org.kde.connect.Plugins; +package org.kde.kdeconnect.Plugins; import android.app.Activity; import android.app.AlertDialog; @@ -6,8 +6,8 @@ import android.content.Context; import android.graphics.drawable.Drawable; import android.widget.Button; -import org.kde.connect.Device; -import org.kde.connect.NetworkPackage; +import org.kde.kdeconnect.Device; +import org.kde.kdeconnect.NetworkPackage; public abstract class Plugin { diff --git a/KdeConnect/src/main/java/org/kde/connect/Plugins/PluginFactory.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/PluginFactory.java similarity index 89% rename from KdeConnect/src/main/java/org/kde/connect/Plugins/PluginFactory.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/PluginFactory.java index e0c77b67..1c17a379 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Plugins/PluginFactory.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/PluginFactory.java @@ -1,17 +1,17 @@ -package org.kde.connect.Plugins; +package org.kde.kdeconnect.Plugins; import android.content.Context; import android.graphics.drawable.Drawable; import android.util.Log; -import org.kde.connect.Device; -import org.kde.connect.Plugins.BatteryPlugin.BatteryPlugin; -import org.kde.connect.Plugins.ClibpoardPlugin.ClipboardPlugin; -import org.kde.connect.Plugins.MprisPlugin.MprisPlugin; -import org.kde.connect.Plugins.NotificationsPlugin.NotificationsPlugin; -import org.kde.connect.Plugins.PingPlugin.PingPlugin; -import org.kde.connect.Plugins.TelephonyPlugin.TelephonyPlugin; +import org.kde.kdeconnect.Device; +import org.kde.kdeconnect.Plugins.BatteryPlugin.BatteryPlugin; +import org.kde.kdeconnect.Plugins.ClibpoardPlugin.ClipboardPlugin; +import org.kde.kdeconnect.Plugins.MprisPlugin.MprisPlugin; +import org.kde.kdeconnect.Plugins.NotificationsPlugin.NotificationsPlugin; +import org.kde.kdeconnect.Plugins.PingPlugin.PingPlugin; +import org.kde.kdeconnect.Plugins.TelephonyPlugin.TelephonyPlugin; import java.util.Map; import java.util.Set; diff --git a/KdeConnect/src/main/java/org/kde/connect/Plugins/TelephonyPlugin/TelephonyPlugin.java b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/TelephonyPlugin/TelephonyPlugin.java similarity index 96% rename from KdeConnect/src/main/java/org/kde/connect/Plugins/TelephonyPlugin/TelephonyPlugin.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/TelephonyPlugin/TelephonyPlugin.java index ae3fdcd4..e23f3ed5 100644 --- a/KdeConnect/src/main/java/org/kde/connect/Plugins/TelephonyPlugin/TelephonyPlugin.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/Plugins/TelephonyPlugin/TelephonyPlugin.java @@ -1,4 +1,4 @@ -package org.kde.connect.Plugins.TelephonyPlugin; +package org.kde.kdeconnect.Plugins.TelephonyPlugin; import android.app.Activity; import android.app.AlertDialog; @@ -13,9 +13,9 @@ import android.telephony.TelephonyManager; import android.util.Log; import android.widget.Button; -import org.kde.connect.Helpers.ContactsHelper; -import org.kde.connect.NetworkPackage; -import org.kde.connect.Plugins.Plugin; +import org.kde.kdeconnect.Helpers.ContactsHelper; +import org.kde.kdeconnect.NetworkPackage; +import org.kde.kdeconnect.Plugins.Plugin; import org.kde.kdeconnect_tp.R; public class TelephonyPlugin extends Plugin { diff --git a/KdeConnect/src/main/java/org/kde/connect/UserInterface/DeviceActivity.java b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/DeviceActivity.java similarity index 94% rename from KdeConnect/src/main/java/org/kde/connect/UserInterface/DeviceActivity.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/DeviceActivity.java index 7091e874..f49a3ef5 100644 --- a/KdeConnect/src/main/java/org/kde/connect/UserInterface/DeviceActivity.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/DeviceActivity.java @@ -1,4 +1,4 @@ -package org.kde.connect.UserInterface; +package org.kde.kdeconnect.UserInterface; import android.content.Intent; import android.os.Bundle; @@ -14,12 +14,12 @@ import android.widget.Button; import android.widget.ListView; import android.widget.TextView; -import org.kde.connect.BackgroundService; -import org.kde.connect.Device; -import org.kde.connect.Plugins.Plugin; -import org.kde.connect.UserInterface.List.ButtonItem; -import org.kde.connect.UserInterface.List.ListAdapter; -import org.kde.connect.UserInterface.List.SectionItem; +import org.kde.kdeconnect.BackgroundService; +import org.kde.kdeconnect.Device; +import org.kde.kdeconnect.Plugins.Plugin; +import org.kde.kdeconnect.UserInterface.List.ButtonItem; +import org.kde.kdeconnect.UserInterface.List.ListAdapter; +import org.kde.kdeconnect.UserInterface.List.SectionItem; import org.kde.kdeconnect_tp.R; import java.util.ArrayList; diff --git a/KdeConnect/src/main/java/org/kde/connect/UserInterface/ImageListAdapter.java b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/ImageListAdapter.java similarity index 98% rename from KdeConnect/src/main/java/org/kde/connect/UserInterface/ImageListAdapter.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/ImageListAdapter.java index c354fce7..9cd0edf9 100644 --- a/KdeConnect/src/main/java/org/kde/connect/UserInterface/ImageListAdapter.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/ImageListAdapter.java @@ -1,4 +1,4 @@ -package org.kde.connect.UserInterface; +package org.kde.kdeconnect.UserInterface; import android.content.Context; import android.database.DataSetObserver; diff --git a/KdeConnect/src/main/java/org/kde/connect/UserInterface/List/ButtonItem.java b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/List/ButtonItem.java similarity index 88% rename from KdeConnect/src/main/java/org/kde/connect/UserInterface/List/ButtonItem.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/List/ButtonItem.java index 38223298..3820626d 100644 --- a/KdeConnect/src/main/java/org/kde/connect/UserInterface/List/ButtonItem.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/List/ButtonItem.java @@ -1,4 +1,4 @@ -package org.kde.connect.UserInterface.List; +package org.kde.kdeconnect.UserInterface.List; import android.view.LayoutInflater; import android.view.View; diff --git a/KdeConnect/src/main/java/org/kde/connect/UserInterface/List/DeviceItem.java b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/List/DeviceItem.java similarity index 87% rename from KdeConnect/src/main/java/org/kde/connect/UserInterface/List/DeviceItem.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/List/DeviceItem.java index 7d93df62..b708b833 100644 --- a/KdeConnect/src/main/java/org/kde/connect/UserInterface/List/DeviceItem.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/List/DeviceItem.java @@ -1,4 +1,4 @@ -package org.kde.connect.UserInterface.List; +package org.kde.kdeconnect.UserInterface.List; import android.app.Activity; @@ -7,9 +7,9 @@ import android.view.LayoutInflater; import android.view.View; import android.widget.TextView; -import org.kde.connect.Device; -import org.kde.connect.UserInterface.DeviceActivity; -import org.kde.connect.UserInterface.PairActivity; +import org.kde.kdeconnect.Device; +import org.kde.kdeconnect.UserInterface.DeviceActivity; +import org.kde.kdeconnect.UserInterface.PairActivity; import org.kde.kdeconnect_tp.R; public class DeviceItem implements ListAdapter.Item { diff --git a/KdeConnect/src/main/java/org/kde/connect/UserInterface/List/ListAdapter.java b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/List/ListAdapter.java similarity index 94% rename from KdeConnect/src/main/java/org/kde/connect/UserInterface/List/ListAdapter.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/List/ListAdapter.java index 84f37b65..b123536c 100644 --- a/KdeConnect/src/main/java/org/kde/connect/UserInterface/List/ListAdapter.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/List/ListAdapter.java @@ -1,4 +1,4 @@ -package org.kde.connect.UserInterface.List; +package org.kde.kdeconnect.UserInterface.List; import android.content.Context; import android.view.LayoutInflater; diff --git a/KdeConnect/src/main/java/org/kde/connect/UserInterface/List/SectionItem.java b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/List/SectionItem.java similarity index 94% rename from KdeConnect/src/main/java/org/kde/connect/UserInterface/List/SectionItem.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/List/SectionItem.java index 4d49f2ce..a5c0e05b 100644 --- a/KdeConnect/src/main/java/org/kde/connect/UserInterface/List/SectionItem.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/List/SectionItem.java @@ -1,4 +1,4 @@ -package org.kde.connect.UserInterface.List; +package org.kde.kdeconnect.UserInterface.List; import android.view.LayoutInflater; import android.view.View; diff --git a/KdeConnect/src/main/java/org/kde/connect/UserInterface/MainActivity.java b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/MainActivity.java similarity index 95% rename from KdeConnect/src/main/java/org/kde/connect/UserInterface/MainActivity.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/MainActivity.java index 7d9e80e8..db739ecd 100644 --- a/KdeConnect/src/main/java/org/kde/connect/UserInterface/MainActivity.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/MainActivity.java @@ -1,4 +1,4 @@ -package org.kde.connect.UserInterface; +package org.kde.kdeconnect.UserInterface; import android.content.res.Resources; @@ -13,11 +13,11 @@ import android.view.View; import android.widget.AdapterView; import android.widget.ListView; -import org.kde.connect.BackgroundService; -import org.kde.connect.Device; -import org.kde.connect.UserInterface.List.DeviceItem; -import org.kde.connect.UserInterface.List.ListAdapter; -import org.kde.connect.UserInterface.List.SectionItem; +import org.kde.kdeconnect.BackgroundService; +import org.kde.kdeconnect.Device; +import org.kde.kdeconnect.UserInterface.List.DeviceItem; +import org.kde.kdeconnect.UserInterface.List.ListAdapter; +import org.kde.kdeconnect.UserInterface.List.SectionItem; import org.kde.kdeconnect_tp.R; import java.util.ArrayList; diff --git a/KdeConnect/src/main/java/org/kde/connect/UserInterface/PairActivity.java b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/PairActivity.java similarity index 97% rename from KdeConnect/src/main/java/org/kde/connect/UserInterface/PairActivity.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/PairActivity.java index 1d9ef356..de136590 100644 --- a/KdeConnect/src/main/java/org/kde/connect/UserInterface/PairActivity.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/PairActivity.java @@ -1,4 +1,4 @@ -package org.kde.connect.UserInterface; +package org.kde.kdeconnect.UserInterface; import android.app.NotificationManager; import android.content.Context; @@ -9,8 +9,8 @@ import android.view.View; import android.widget.Button; import android.widget.TextView; -import org.kde.connect.BackgroundService; -import org.kde.connect.Device; +import org.kde.kdeconnect.BackgroundService; +import org.kde.kdeconnect.Device; import org.kde.kdeconnect_tp.R; public class PairActivity extends ActionBarActivity { diff --git a/KdeConnect/src/main/java/org/kde/connect/UserInterface/PreferenceListAdapter.java b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/PreferenceListAdapter.java similarity index 94% rename from KdeConnect/src/main/java/org/kde/connect/UserInterface/PreferenceListAdapter.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/PreferenceListAdapter.java index 3719a78c..b58202f6 100644 --- a/KdeConnect/src/main/java/org/kde/connect/UserInterface/PreferenceListAdapter.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/PreferenceListAdapter.java @@ -1,4 +1,4 @@ -package org.kde.connect.UserInterface; +package org.kde.kdeconnect.UserInterface; import android.content.Context; import android.preference.Preference; diff --git a/KdeConnect/src/main/java/org/kde/connect/UserInterface/SettingsActivity.java b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/SettingsActivity.java similarity index 93% rename from KdeConnect/src/main/java/org/kde/connect/UserInterface/SettingsActivity.java rename to KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/SettingsActivity.java index 711cf0c2..6bfdb033 100644 --- a/KdeConnect/src/main/java/org/kde/connect/UserInterface/SettingsActivity.java +++ b/KdeConnect/src/main/java/org/kde/kdeconnect/UserInterface/SettingsActivity.java @@ -1,4 +1,4 @@ -package org.kde.connect.UserInterface; +package org.kde.kdeconnect.UserInterface; import android.app.ListActivity; import android.os.Bundle; @@ -8,9 +8,9 @@ import android.util.Log; import android.view.View; import android.widget.AdapterView; -import org.kde.connect.BackgroundService; -import org.kde.connect.Device; -import org.kde.connect.Plugins.PluginFactory; +import org.kde.kdeconnect.BackgroundService; +import org.kde.kdeconnect.Device; +import org.kde.kdeconnect.Plugins.PluginFactory; import java.util.ArrayList; import java.util.Set;