diff --git a/IAP6Helper/build.gradle b/IAP6Helper/build.gradle index 38a3c8dff..092797f32 100644 --- a/IAP6Helper/build.gradle +++ b/IAP6Helper/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' apply from: "../package_config.gradle" android { - namespace "com.samsung.android.sdk.iap.lib" + namespace "com.samsung.iap6helper" compileSdk rootProject.ext.android.compileSdkVersion defaultConfig { minSdkVersion rootProject.ext.android.minSdkVersion diff --git a/IAP6Helper/src/main/AndroidManifest.xml b/IAP6Helper/src/main/AndroidManifest.xml deleted file mode 100644 index 5555ec35e..000000000 --- a/IAP6Helper/src/main/AndroidManifest.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/IAP6Helper/src/main/java/com/samsung/android/sdk/iap/lib/SamsungUtil.java b/IAP6Helper/src/main/java/com/samsung/utils/SamsungUtil.java similarity index 97% rename from IAP6Helper/src/main/java/com/samsung/android/sdk/iap/lib/SamsungUtil.java rename to IAP6Helper/src/main/java/com/samsung/utils/SamsungUtil.java index 7a631dc00..d47fb5a1f 100644 --- a/IAP6Helper/src/main/java/com/samsung/android/sdk/iap/lib/SamsungUtil.java +++ b/IAP6Helper/src/main/java/com/samsung/utils/SamsungUtil.java @@ -1,4 +1,4 @@ -package com.samsung.android.sdk.iap.lib; +package com.samsung.utils; import android.content.Context; import android.util.Log; @@ -11,7 +11,7 @@ import com.samsung.android.sdk.iap.lib.listener.OnGetOwnedListListener; import com.samsung.android.sdk.iap.lib.vo.ConsumeVo; import com.samsung.android.sdk.iap.lib.vo.ErrorVo; import com.samsung.android.sdk.iap.lib.vo.OwnedProductVo; -import com.samsung.android.sdk.iap.lib.vo.PurchaseVo; +import com.samsung.iap6helper.R; import java.util.ArrayList; @@ -40,7 +40,7 @@ public class SamsungUtil { public void init() { iapHelper = IapHelper.getInstance(mContext); //设置支付模式 OPERATION_MODE_PRODUCTION 正式模式 OPERATION_MODE_TEST 测试模式 - iapHelper.setOperationMode(HelperDefine.OperationMode.OPERATION_MODE_PRODUCTION); + iapHelper.setOperationMode(HelperDefine.OperationMode.OPERATION_MODE_TEST); } public void dispose() { diff --git a/IAP6Helper/src/main/res/color/dialog_button_text_color.xml b/IAP6Helper/src/main/res/color/dialog_button_text_color.xml deleted file mode 100644 index a2bed714a..000000000 --- a/IAP6Helper/src/main/res/color/dialog_button_text_color.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/IAP6Helper/src/main/res/drawable-hdpi/tw_widget_progressbar_effect_holo_light.png b/IAP6Helper/src/main/res/drawable-hdpi/tw_widget_progressbar_effect_holo_light.png deleted file mode 100644 index f8e90af62..000000000 Binary files a/IAP6Helper/src/main/res/drawable-hdpi/tw_widget_progressbar_effect_holo_light.png and /dev/null differ diff --git a/IAP6Helper/src/main/res/drawable-hdpi/tw_widget_progressbar_holo_light.png b/IAP6Helper/src/main/res/drawable-hdpi/tw_widget_progressbar_holo_light.png deleted file mode 100644 index 981e8980a..000000000 Binary files a/IAP6Helper/src/main/res/drawable-hdpi/tw_widget_progressbar_holo_light.png and /dev/null differ diff --git a/IAP6Helper/src/main/res/drawable-mdpi/tw_widget_progressbar_effect_holo_light.png b/IAP6Helper/src/main/res/drawable-mdpi/tw_widget_progressbar_effect_holo_light.png deleted file mode 100644 index f8e90af62..000000000 Binary files a/IAP6Helper/src/main/res/drawable-mdpi/tw_widget_progressbar_effect_holo_light.png and /dev/null differ diff --git a/IAP6Helper/src/main/res/drawable-mdpi/tw_widget_progressbar_holo_light.png b/IAP6Helper/src/main/res/drawable-mdpi/tw_widget_progressbar_holo_light.png deleted file mode 100644 index 981e8980a..000000000 Binary files a/IAP6Helper/src/main/res/drawable-mdpi/tw_widget_progressbar_holo_light.png and /dev/null differ diff --git a/IAP6Helper/src/main/res/drawable-xhdpi/tw_widget_progressbar_effect_holo_light.png b/IAP6Helper/src/main/res/drawable-xhdpi/tw_widget_progressbar_effect_holo_light.png deleted file mode 100644 index 2960eb02a..000000000 Binary files a/IAP6Helper/src/main/res/drawable-xhdpi/tw_widget_progressbar_effect_holo_light.png and /dev/null differ diff --git a/IAP6Helper/src/main/res/drawable-xhdpi/tw_widget_progressbar_holo_light.png b/IAP6Helper/src/main/res/drawable-xhdpi/tw_widget_progressbar_holo_light.png deleted file mode 100644 index 67f5018f2..000000000 Binary files a/IAP6Helper/src/main/res/drawable-xhdpi/tw_widget_progressbar_holo_light.png and /dev/null differ diff --git a/IAP6Helper/src/main/res/drawable-xxhdpi/tw_widget_progressbar_effect_holo_light.png b/IAP6Helper/src/main/res/drawable-xxhdpi/tw_widget_progressbar_effect_holo_light.png deleted file mode 100644 index 7e4cdecca..000000000 Binary files a/IAP6Helper/src/main/res/drawable-xxhdpi/tw_widget_progressbar_effect_holo_light.png and /dev/null differ diff --git a/IAP6Helper/src/main/res/drawable-xxhdpi/tw_widget_progressbar_holo_light.png b/IAP6Helper/src/main/res/drawable-xxhdpi/tw_widget_progressbar_holo_light.png deleted file mode 100644 index 540d26ccf..000000000 Binary files a/IAP6Helper/src/main/res/drawable-xxhdpi/tw_widget_progressbar_holo_light.png and /dev/null differ diff --git a/IAP6Helper/src/main/res/drawable/circle_60x60_dark.png b/IAP6Helper/src/main/res/drawable/circle_60x60_dark.png deleted file mode 100644 index 7b6235e74..000000000 Binary files a/IAP6Helper/src/main/res/drawable/circle_60x60_dark.png and /dev/null differ diff --git a/IAP6Helper/src/main/res/drawable/circle_60x60_light.png b/IAP6Helper/src/main/res/drawable/circle_60x60_light.png deleted file mode 100644 index 4bd0dd532..000000000 Binary files a/IAP6Helper/src/main/res/drawable/circle_60x60_light.png and /dev/null differ diff --git a/IAP6Helper/src/main/res/drawable/dialog_button_animation.xml b/IAP6Helper/src/main/res/drawable/dialog_button_animation.xml deleted file mode 100644 index 7ed940974..000000000 --- a/IAP6Helper/src/main/res/drawable/dialog_button_animation.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/IAP6Helper/src/main/res/drawable/dialog_full_holo_light.9.png b/IAP6Helper/src/main/res/drawable/dialog_full_holo_light.9.png deleted file mode 100644 index e134c41a0..000000000 Binary files a/IAP6Helper/src/main/res/drawable/dialog_full_holo_light.9.png and /dev/null differ diff --git a/IAP6Helper/src/main/res/drawable/dialog_radius_dark.xml b/IAP6Helper/src/main/res/drawable/dialog_radius_dark.xml deleted file mode 100644 index 9efa7d341..000000000 --- a/IAP6Helper/src/main/res/drawable/dialog_radius_dark.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/IAP6Helper/src/main/res/drawable/dialog_radius_light.xml b/IAP6Helper/src/main/res/drawable/dialog_radius_light.xml deleted file mode 100644 index 033283fa6..000000000 --- a/IAP6Helper/src/main/res/drawable/dialog_radius_light.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/IAP6Helper/src/main/res/drawable/progress_dialog_animation_dark.xml b/IAP6Helper/src/main/res/drawable/progress_dialog_animation_dark.xml deleted file mode 100644 index b16189a7a..000000000 --- a/IAP6Helper/src/main/res/drawable/progress_dialog_animation_dark.xml +++ /dev/null @@ -1,5 +0,0 @@ - - diff --git a/IAP6Helper/src/main/res/drawable/progress_dialog_animation_light.xml b/IAP6Helper/src/main/res/drawable/progress_dialog_animation_light.xml deleted file mode 100644 index 3279b8598..000000000 --- a/IAP6Helper/src/main/res/drawable/progress_dialog_animation_light.xml +++ /dev/null @@ -1,5 +0,0 @@ - - diff --git a/IAP6Helper/src/main/res/drawable/progressbar_middle.xml b/IAP6Helper/src/main/res/drawable/progressbar_middle.xml deleted file mode 100644 index 0dd4e4119..000000000 --- a/IAP6Helper/src/main/res/drawable/progressbar_middle.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - diff --git a/IAP6Helper/src/main/res/drawable/tw_widget_progressbar_effect_holo_light.png b/IAP6Helper/src/main/res/drawable/tw_widget_progressbar_effect_holo_light.png deleted file mode 100644 index f8e90af62..000000000 Binary files a/IAP6Helper/src/main/res/drawable/tw_widget_progressbar_effect_holo_light.png and /dev/null differ diff --git a/IAP6Helper/src/main/res/drawable/tw_widget_progressbar_holo_light.png b/IAP6Helper/src/main/res/drawable/tw_widget_progressbar_holo_light.png deleted file mode 100644 index 981e8980a..000000000 Binary files a/IAP6Helper/src/main/res/drawable/tw_widget_progressbar_holo_light.png and /dev/null differ diff --git a/IAP6Helper/src/main/res/layout/dialog_dark.xml b/IAP6Helper/src/main/res/layout/dialog_dark.xml deleted file mode 100644 index 448730a03..000000000 --- a/IAP6Helper/src/main/res/layout/dialog_dark.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - -