Last Updated: November 27, 2025
- -Our wallpaper application respects your privacy. We commit to:
-When you download wallpapers:
-Required app permissions and their purposes:
-We may use the following third-party services:
-We take reasonable security measures to protect your information.
- -Our services are not directed to children under 13, and we do not knowingly collect personal information from children.
- -If you have any questions about this Privacy Policy, please contact us:
-Email: xxx@xxx.com
- -We may update this Privacy Policy from time to time. The updated version will be posted on this page.
- - \ No newline at end of file diff --git a/app/src/main/java/com/gallery/free/wallpaper/DetailwpActivity.kt b/app/src/main/java/com/gallery/free/wallpaper/DetailwpActivity.kt index cfa5ac2..ec4c303 100644 --- a/app/src/main/java/com/gallery/free/wallpaper/DetailwpActivity.kt +++ b/app/src/main/java/com/gallery/free/wallpaper/DetailwpActivity.kt @@ -24,15 +24,15 @@ import android.widget.Toast import androidx.annotation.RequiresApi import androidx.core.content.ContextCompat import androidx.viewpager2.widget.ViewPager2 -import com.ad.tradpluslibrary.TPAdManager +import com.ad.ironsourcelibrary.ActionListener +import com.ad.ironsourcelibrary.ISAdManager + import com.bumptech.glide.Glide import com.bumptech.glide.request.target.CustomTarget import com.bumptech.glide.request.transition.Transition import com.gallery.free.wallpaper.database.FavorWpManager import com.gallery.free.wallpaper.databinding.ActivityDetailwpBinding -import com.inmobi.media.ba -import com.inmobi.media.fa -import com.tradplus.ads.base.bean.TPAdInfo + import java.io.File import java.io.FileOutputStream import java.lang.ref.SoftReference @@ -90,10 +90,14 @@ class DetailwpActivity : BaseActivity(), Dialog_SetWp.OnWallpaperTypeSelectedLis binding = ActivityDetailwpBinding.inflate(layoutInflater) Utils_com.initFull(this, true) setContentView(binding.root) + ISAdManager.loadAllAd() + ISAdManager.showIsAd(this@DetailwpActivity,object : ActionListener{ + override fun onAction() { - TPAdManager.showTPAD(this){ + } + + }) - } Log.d(TAG, "=== onCreate ===") @@ -313,13 +317,17 @@ class DetailwpActivity : BaseActivity(), Dialog_SetWp.OnWallpaperTypeSelectedLis } } binding.buttonSave.setOnClickListener { - Log.d(TAG, "Save button clicked") - if (downloadState != DOWNLOAD_STATE_LOADING) { - downloadWallpaper() - } - TPAdManager.showTPAD(this){ - } + ISAdManager.showIsAd(this@DetailwpActivity,object : ActionListener{ + override fun onAction() { + Log.d(TAG, "Save button clicked") + if (downloadState != DOWNLOAD_STATE_LOADING) { + downloadWallpaper() + } + + } + + }) } binding.buttonPrev.setOnClickListener { @@ -552,7 +560,12 @@ class DetailwpActivity : BaseActivity(), Dialog_SetWp.OnWallpaperTypeSelectedLis } override fun onWallpaperTypeSelected(type: Int) { - setWallpaper(type) + ISAdManager.showIsAd(this@DetailwpActivity,object : ActionListener{ + override fun onAction() { + setWallpaper(type) + } + }) + } private fun setWallpaper(type: Int) { @@ -997,10 +1010,12 @@ class DetailwpActivity : BaseActivity(), Dialog_SetWp.OnWallpaperTypeSelectedLis } protected override fun onInterceptBackPressed() { - TPAdManager.showTPAD(this){ + ISAdManager.showIsAd(this@DetailwpActivity,object : ActionListener{ + override fun onAction() { - } + } + }) if (backPressedCallback != null) { backPressedCallback?.isEnabled = false } diff --git a/app/src/main/java/com/gallery/free/wallpaper/LocalPreActivity.kt b/app/src/main/java/com/gallery/free/wallpaper/LocalPreActivity.kt index 86ce05b..f578ffa 100644 --- a/app/src/main/java/com/gallery/free/wallpaper/LocalPreActivity.kt +++ b/app/src/main/java/com/gallery/free/wallpaper/LocalPreActivity.kt @@ -19,6 +19,8 @@ import android.view.WindowInsets import android.view.WindowInsetsController import android.widget.Toast import androidx.appcompat.app.AppCompatActivity +import com.ad.ironsourcelibrary.ActionListener +import com.ad.ironsourcelibrary.ISAdManager import com.bumptech.glide.Glide import com.bumptech.glide.request.target.CustomTarget import com.bumptech.glide.request.transition.Transition @@ -60,7 +62,7 @@ class LocalPreActivity : AppCompatActivity(), override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) Utils_com.initFull(this, true) - + ISAdManager.loadAllAd() setTheme(R.style.TransparentPreviewTheme) overridePendingTransition(0, 0) @@ -78,7 +80,12 @@ class LocalPreActivity : AppCompatActivity(), handleBackButtonClick() } }) + ISAdManager.showIsAd(this@LocalPreActivity,object : ActionListener{ + override fun onAction() { + } + + }) Log.d(TAG, "=== LocalImagePreviewActivity_onCreate ===") Log.d(TAG, "Activity实例: ${this.hashCode()}") diff --git a/app/src/main/java/com/gallery/free/wallpaper/MyApplication.kt b/app/src/main/java/com/gallery/free/wallpaper/MyApplication.kt index 4df3ac7..7b3bb1a 100644 --- a/app/src/main/java/com/gallery/free/wallpaper/MyApplication.kt +++ b/app/src/main/java/com/gallery/free/wallpaper/MyApplication.kt @@ -9,6 +9,7 @@ import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleObserver import androidx.lifecycle.OnLifecycleEvent import androidx.lifecycle.ProcessLifecycleOwner +import com.ad.ironsourcelibrary.ISAdManager import com.bumptech.glide.Glide import com.bumptech.glide.load.engine.DiskCacheStrategy import com.bumptech.glide.request.RequestOptions @@ -76,6 +77,12 @@ class MyApplication : Application() { validateFixedCategories() UpLoadManager.init(this,"ocean", callback = { _, _ -> }) + + ISAdManager.init("-------WallpaperGallery--------",this,"24e146eb5","1x1dmfonwgx54zkn","3r21zexffllavwqj","4v2mbujbbk8wq7ed",false,{ + + }){ + + } } /** diff --git a/app/src/main/java/com/gallery/free/wallpaper/SplaActivity.kt b/app/src/main/java/com/gallery/free/wallpaper/SplaActivity.kt index f941581..536bec3 100644 --- a/app/src/main/java/com/gallery/free/wallpaper/SplaActivity.kt +++ b/app/src/main/java/com/gallery/free/wallpaper/SplaActivity.kt @@ -5,7 +5,7 @@ import android.content.Intent import android.os.Bundle import android.os.CountDownTimer import androidx.appcompat.app.AppCompatActivity -import com.ad.tradpluslibrary.TPAdManager +import com.ad.ironsourcelibrary.ISAdManager import com.gallery.free.wallpaper.databinding.ActivitySplaBinding class SplaActivity : AppCompatActivity() { @@ -19,17 +19,8 @@ class SplaActivity : AppCompatActivity() { vb = ActivitySplaBinding.inflate(layoutInflater) Utils_com.initFull(this, true) setContentView(vb?.getRoot()) - TPAdManager.init( - this, - "ocean", - "EF4D3DDD83B3D1EF16ED3E6995AF0E11", - "58E5429FFDD5BDF2034D6D78B157C012", - "8DB63FE93F30FEA99D2D275BFC974C12", - "09E55308FBBE7CD2C0C5571EFCEB8312" - ) { - } - countDownTimer = TPAdManager.showWelcomeAd(this, totalTime, { millisUntilFinished -> + countDownTimer = ISAdManager.showWelcomeAd(this, totalTime, { millisUntilFinished -> val progressPercentage = ((100 * millisUntilFinished) / totalTime).toInt() val countdownPercentage = 100 - progressPercentage @@ -47,9 +38,7 @@ class SplaActivity : AppCompatActivity() { override fun onDestroy() { super.onDestroy() - if (countDownTimer != null) { - countDownTimer!!.cancel() - countDownTimer = null - } + countDownTimer?.cancel() + countDownTimer = null } } \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 20e2a01..97a23a8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8 # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. For more details, visit # https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects diff --git a/keystore.properties b/keystore.properties index 1248635..4ced4a0 100644 --- a/keystore.properties +++ b/keystore.properties @@ -1,6 +1,6 @@ app_name=Wallpaper Gallery package_name=com.gallery.free.wallpaper -keystoreFile=app/Wallpaper Gallery.jks +keystoreFile=Wallpaper Gallery key_alias=WallpaperGallerykey0 key_store_password=lajiaoyouyou0312 key_password=lajiaoyouyou0312 \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index d370b39..fb18af9 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -17,24 +17,25 @@ dependencyResolutionManagement { google() mavenCentral() - flatDir { - dirs("libs") - } - maven("https://jitpack.io") - // Ironsource - maven("https://android-sdk.is.com/") - // Pangle - maven("https://artifact.bytedance.com/repository/pangle") - // Chartboost - maven("https://cboost.jfrog.io/artifactory/chartboost-ads/") + //------------------------- IronSource maven { - name = "Chartboost Mediation’s maven repo" - url = uri("https://cboost.jfrog.io/artifactory/chartboost-mediation") + url = uri("https://android-sdk.is.com/") + } + maven { + url = uri("https://dl.bintray.com/ironsource-mobile/android-sdk") + } + maven { + url = uri("https://dl.bintray.com/ironsource-mobile/android-adapters") + } + maven { + url = uri("https://cboost.jfrog.io/artifactory/chartboost-ads/") + } + maven { + url = uri("https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_oversea") + } + maven { + url = uri("https://artifact.bytedance.com/repository/pangle") } - // Mintegral - //Launch GP market application, Android X Version - //If you fail to pull the code using gradle, add the maven warehouse configuration to the project root build.gradle file - maven("https://dl-maven-android.mintegral.com/repository/mbridge_android_sdk_oversea") } }