diff --git a/OpenAds/.gitignore b/OpenAds/.gitignore
deleted file mode 100644
index 42afabf..0000000
--- a/OpenAds/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/build
\ No newline at end of file
diff --git a/OpenAds/build.gradle b/OpenAds/build.gradle
deleted file mode 100644
index 15106ec..0000000
--- a/OpenAds/build.gradle
+++ /dev/null
@@ -1,42 +0,0 @@
-plugins {
- id 'com.android.library'
- id 'org.jetbrains.kotlin.android'
-}
-
-android {
- namespace 'com.samyak2403.banner'
- compileSdk 34
-
- defaultConfig {
- minSdk 21
-
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- }
-
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
-}
-
-dependencies {
-
- implementation 'androidx.core:core-ktx:1.13.1'
- implementation 'androidx.appcompat:appcompat:1.7.0'
- implementation 'com.google.android.material:material:1.12.0'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.2.1'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
-
- implementation 'com.google.android.gms:play-services-ads:21.2.0'
-}
\ No newline at end of file
diff --git a/OpenAds/consumer-rules.pro b/OpenAds/consumer-rules.pro
deleted file mode 100644
index e69de29..0000000
diff --git a/OpenAds/proguard-rules.pro b/OpenAds/proguard-rules.pro
deleted file mode 100644
index 481bb43..0000000
--- a/OpenAds/proguard-rules.pro
+++ /dev/null
@@ -1,21 +0,0 @@
-# Add project specific ProGuard rules here.
-# You can control the set of applied configuration files using the
-# proguardFiles setting in build.gradle.
-#
-# For more details, see
-# http://developer.android.com/guide/developing/tools/proguard.html
-
-# If your project uses WebView with JS, uncomment the following
-# and specify the fully qualified class name to the JavaScript interface
-# class:
-#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
-# public *;
-#}
-
-# Uncomment this to preserve the line number information for
-# debugging stack traces.
-#-keepattributes SourceFile,LineNumberTable
-
-# If you keep the line number information, uncomment this to
-# hide the original source file name.
-#-renamesourcefileattribute SourceFile
\ No newline at end of file
diff --git a/OpenAds/src/androidTest/java/com/samyak2403/banner/ExampleInstrumentedTest.kt b/OpenAds/src/androidTest/java/com/samyak2403/banner/ExampleInstrumentedTest.kt
deleted file mode 100644
index 64468ad..0000000
--- a/OpenAds/src/androidTest/java/com/samyak2403/banner/ExampleInstrumentedTest.kt
+++ /dev/null
@@ -1,24 +0,0 @@
-package com.samyak2403.banner
-
-import androidx.test.platform.app.InstrumentationRegistry
-import androidx.test.ext.junit.runners.AndroidJUnit4
-
-import org.junit.Test
-import org.junit.runner.RunWith
-
-import org.junit.Assert.*
-
-/**
- * Instrumented test, which will execute on an Android device.
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
-@RunWith(AndroidJUnit4::class)
-class ExampleInstrumentedTest {
- @Test
- fun useAppContext() {
- // Context of the app under test.
- val appContext = InstrumentationRegistry.getInstrumentation().targetContext
- assertEquals("com.samyak2403.banner.test", appContext.packageName)
- }
-}
\ No newline at end of file
diff --git a/OpenAds/src/main/AndroidManifest.xml b/OpenAds/src/main/AndroidManifest.xml
deleted file mode 100644
index a5918e6..0000000
--- a/OpenAds/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/OpenAds/src/test/java/com/samyak2403/banner/ExampleUnitTest.kt b/OpenAds/src/test/java/com/samyak2403/banner/ExampleUnitTest.kt
deleted file mode 100644
index ab7d401..0000000
--- a/OpenAds/src/test/java/com/samyak2403/banner/ExampleUnitTest.kt
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.samyak2403.banner
-
-import org.junit.Test
-
-import org.junit.Assert.*
-
-/**
- * Example local unit test, which will execute on the development machine (host).
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
-class ExampleUnitTest {
- @Test
- fun addition_isCorrect() {
- assertEquals(4, 2 + 2)
- }
-}
\ No newline at end of file
diff --git a/bannerads/.gitignore b/bannerads/.gitignore
deleted file mode 100644
index 42afabf..0000000
--- a/bannerads/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/build
\ No newline at end of file
diff --git a/bannerads/build.gradle b/bannerads/build.gradle
deleted file mode 100644
index ca04b3e..0000000
--- a/bannerads/build.gradle
+++ /dev/null
@@ -1,42 +0,0 @@
-plugins {
- id 'com.android.library'
- id 'org.jetbrains.kotlin.android'
-}
-
-android {
- namespace 'com.samyak2403.bannerads'
- compileSdk 34
-
- defaultConfig {
- minSdk 21
-
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- }
-
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_17
- targetCompatibility JavaVersion.VERSION_17
- }
- kotlinOptions {
- jvmTarget = '17'
- }
-}
-
-dependencies {
-
- implementation 'androidx.core:core-ktx:1.13.1'
- implementation 'androidx.appcompat:appcompat:1.7.0'
- implementation 'com.google.android.material:material:1.12.0'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.2.1'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
-
- implementation 'com.google.android.gms:play-services-ads:21.2.0'
-}
\ No newline at end of file
diff --git a/bannerads/consumer-rules.pro b/bannerads/consumer-rules.pro
deleted file mode 100644
index e69de29..0000000
diff --git a/bannerads/proguard-rules.pro b/bannerads/proguard-rules.pro
deleted file mode 100644
index 481bb43..0000000
--- a/bannerads/proguard-rules.pro
+++ /dev/null
@@ -1,21 +0,0 @@
-# Add project specific ProGuard rules here.
-# You can control the set of applied configuration files using the
-# proguardFiles setting in build.gradle.
-#
-# For more details, see
-# http://developer.android.com/guide/developing/tools/proguard.html
-
-# If your project uses WebView with JS, uncomment the following
-# and specify the fully qualified class name to the JavaScript interface
-# class:
-#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
-# public *;
-#}
-
-# Uncomment this to preserve the line number information for
-# debugging stack traces.
-#-keepattributes SourceFile,LineNumberTable
-
-# If you keep the line number information, uncomment this to
-# hide the original source file name.
-#-renamesourcefileattribute SourceFile
\ No newline at end of file
diff --git a/bannerads/src/androidTest/java/com/samyak2403/bannerads/ExampleInstrumentedTest.kt b/bannerads/src/androidTest/java/com/samyak2403/bannerads/ExampleInstrumentedTest.kt
deleted file mode 100644
index 5d0754a..0000000
--- a/bannerads/src/androidTest/java/com/samyak2403/bannerads/ExampleInstrumentedTest.kt
+++ /dev/null
@@ -1,24 +0,0 @@
-package com.samyak2403.bannerads
-
-import androidx.test.platform.app.InstrumentationRegistry
-import androidx.test.ext.junit.runners.AndroidJUnit4
-
-import org.junit.Test
-import org.junit.runner.RunWith
-
-import org.junit.Assert.*
-
-/**
- * Instrumented test, which will execute on an Android device.
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
-@RunWith(AndroidJUnit4::class)
-class ExampleInstrumentedTest {
- @Test
- fun useAppContext() {
- // Context of the app under test.
- val appContext = InstrumentationRegistry.getInstrumentation().targetContext
- assertEquals("com.samyak2403.bannerads.test", appContext.packageName)
- }
-}
\ No newline at end of file
diff --git a/bannerads/src/main/AndroidManifest.xml b/bannerads/src/main/AndroidManifest.xml
deleted file mode 100644
index 294dbaa..0000000
--- a/bannerads/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/bannerads/src/main/java/com/samyak2403/bannerads/Control.kt b/bannerads/src/main/java/com/samyak2403/bannerads/Control.kt
deleted file mode 100644
index 25fbe57..0000000
--- a/bannerads/src/main/java/com/samyak2403/bannerads/Control.kt
+++ /dev/null
@@ -1,193 +0,0 @@
-/*
- * Created by Samyak Kamble on 8/11/24, 8:29 PM
- * Copyright (c) 2024. All rights reserved.
- * Last modified 8/11/24, 8:29 PM
- */
-
-package com.samyak2403.bannerads
-
-import android.app.Activity
-import android.util.DisplayMetrics
-import android.widget.LinearLayout
-import android.widget.Toast
-import com.google.android.gms.ads.AdListener
-import com.google.android.gms.ads.AdRequest
-import com.google.android.gms.ads.AdSize
-import com.google.android.gms.ads.AdView
-import com.google.android.gms.ads.LoadAdError
-
-class Control(private val activity: Activity) {
-
- // Function to load and display a banner ad in the specified LinearLayout
- // निर्दिष्ट LinearLayout मध्ये एक बॅनर अॅड लोड आणि प्रदर्शित करण्यासाठी फंक्शन
- fun loadBannerAd(linearLayoutId: Int, adUnitId: String) {
- // Find the LinearLayout by ID
- // ID द्वारे LinearLayout शोधा
- val linearLayout: LinearLayout? = activity.findViewById(linearLayoutId)
- if (linearLayout != null) {
- // Create a new AdView instance
- // नवीन AdView इंस्टन्स तयार करा
- val adView = AdView(activity)
- // Set the ad unit ID
- // अॅड युनिट ID सेट करा
- adView.adUnitId = adUnitId
-
- // Get the appropriate ad size for the device
- // डिव्हाइससाठी योग्य अॅड साइज प्राप्त करा
- val adSize = getAdSize()
- adView.setAdSize(adSize)
-
- // Add the AdView to the LinearLayout
- // AdView ला LinearLayout मध्ये जोडा
- linearLayout.addView(adView)
- // Set up an AdListener to handle ad events
- // अॅड इव्हेंट्स हाताळण्यासाठी AdListener सेट करा
- adView.adListener = object : AdListener() {
- override fun onAdClicked() {
- super.onAdClicked()
- // Called when the user clicks on the ad
- // वापरकर्ता अॅडवर क्लिक केल्यावर कॉल केले जाते
- }
-
- override fun onAdClosed() {
- super.onAdClosed()
- // Called when the ad is closed
- // अॅड बंद झाल्यावर कॉल केले जाते
- }
-
- override fun onAdFailedToLoad(loadAdError: LoadAdError) {
- super.onAdFailedToLoad(loadAdError)
- // Called when the ad fails to load
- // अॅड लोड होण्यात अपयशी झाल्यावर कॉल केले जाते
- // Uncomment the line below to show a Toast message when the ad fails to load
- // अॅड लोड होण्यात अपयशी झाल्यावर Toast संदेश दाखवण्यासाठी खालील ओळ अनकमेंट करा
- // Toast.makeText(activity, "Ad Failed", Toast.LENGTH_SHORT).show()
- }
-
- override fun onAdImpression() {
- super.onAdImpression()
- // Called when an impression is recorded for the ad
- // अॅडसाठी इंप्रेशन नोंदवले गेल्यावर कॉल केले जाते
- }
-
- override fun onAdLoaded() {
- super.onAdLoaded()
- // Called when the ad has finished loading
- // अॅड लोड होणे समाप्त झाल्यावर कॉल केले जाते
- }
-
- override fun onAdOpened() {
- super.onAdOpened()
- // Called when the ad is opened
- // अॅड उघडल्यावर कॉल केले जाते
- }
- }
- // Create an ad request and load the ad
- // अॅड विनंती तयार करा आणि अॅड लोड करा
- val adRequest = AdRequest.Builder().build()
- adView.loadAd(adRequest)
- } else {
- // Show a Toast message if the LinearLayout was not found
- // LinearLayout सापडला नाही तर Toast संदेश दर्शवा
- Toast.makeText(activity, "LinearLayout not found", Toast.LENGTH_SHORT).show()
- }
- }
-
- // Function to get the appropriate ad size based on the device's screen width and density
- // डिव्हाइसच्या स्क्रीन चौडाई आणि घनता यांच्या आधारावर योग्य अॅड साइज प्राप्त करण्यासाठी फंक्शन
- private fun getAdSize(): AdSize {
- val outMetrics = DisplayMetrics()
- // Get the display metrics of the device
- // डिव्हाइसच्या डिस्प्ले मेट्रिक्स प्राप्त करा
- activity.windowManager.defaultDisplay.getMetrics(outMetrics)
- val density = outMetrics.density
-
- // Calculate the ad width in pixels
- // पिक्सेल्समध्ये अॅडची चौडाई गणना करा
- val adWidthPixels = outMetrics.widthPixels.toFloat()
- // Convert pixels to dp (density-independent pixels)
- // पिक्सल्सना dp (घनत्व-स्वतंत्र पिक्सल्स) मध्ये रूपांतरित करा
- val adWidth = (adWidthPixels / density).toInt()
-
- // Return the ad size based on the current orientation and ad width
- // वर्तमान ओरिएंटेशन आणि अॅड चौडाईच्या आधारावर अॅड साइज परत करा
- return AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize(activity, adWidth)
- }
-}
-
-///*
-// * Created by Samyak kamble on 8/11/24, 8:29 PM
-// * Copyright (c) 2024 . All rights reserved.
-// * Last modified 8/11/24, 8:29 PM
-// */
-//
-//package com.samyak2403.bannerads
-//
-//
-//
-//import android.app.Activity
-//import android.util.DisplayMetrics
-//import android.widget.LinearLayout
-//import android.widget.Toast
-//import com.google.android.gms.ads.AdListener
-//import com.google.android.gms.ads.AdRequest
-//import com.google.android.gms.ads.AdSize
-//import com.google.android.gms.ads.AdView
-//import com.google.android.gms.ads.LoadAdError
-//
-//class Control(private val activity: Activity) {
-//
-// fun loadBannerAd(linearLayoutId: Int, adUnitId: String) {
-// val linearLayout: LinearLayout? = activity.findViewById(linearLayoutId)
-// if (linearLayout != null) {
-// val adView = AdView(activity)
-// adView.adUnitId = adUnitId
-//
-// val adSize = getAdSize()
-// adView.setAdSize(adSize)
-//
-// linearLayout.addView(adView)
-// adView.adListener = object : AdListener() {
-// override fun onAdClicked() {
-// super.onAdClicked()
-// }
-//
-// override fun onAdClosed() {
-// super.onAdClosed()
-// }
-//
-// override fun onAdFailedToLoad(loadAdError: LoadAdError) {
-// super.onAdFailedToLoad(loadAdError)
-// // Toast.makeText(activity, "Ad Failed", Toast.LENGTH_SHORT).show()
-// }
-//
-// override fun onAdImpression() {
-// super.onAdImpression()
-// }
-//
-// override fun onAdLoaded() {
-// super.onAdLoaded()
-// }
-//
-// override fun onAdOpened() {
-// super.onAdOpened()
-// }
-// }
-// val adRequest = AdRequest.Builder().build()
-// adView.loadAd(adRequest)
-// } else {
-// Toast.makeText(activity, "LinearLayout not found", Toast.LENGTH_SHORT).show()
-// }
-// }
-//
-// private fun getAdSize(): AdSize {
-// val outMetrics = DisplayMetrics()
-// activity.windowManager.defaultDisplay.getMetrics(outMetrics)
-// val density = outMetrics.density
-//
-// val adWidthPixels = outMetrics.widthPixels.toFloat()
-// val adWidth = (adWidthPixels / density).toInt()
-//
-// return AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize(activity, adWidth)
-// }
-//}
diff --git a/bannerads/src/test/java/com/samyak2403/bannerads/ExampleUnitTest.kt b/bannerads/src/test/java/com/samyak2403/bannerads/ExampleUnitTest.kt
deleted file mode 100644
index 58d9183..0000000
--- a/bannerads/src/test/java/com/samyak2403/bannerads/ExampleUnitTest.kt
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.samyak2403.bannerads
-
-import org.junit.Test
-
-import org.junit.Assert.*
-
-/**
- * Example local unit test, which will execute on the development machine (host).
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
-class ExampleUnitTest {
- @Test
- fun addition_isCorrect() {
- assertEquals(4, 2 + 2)
- }
-}
\ No newline at end of file