Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samyak2403/admob-open-ads
https://github.com/samyak2403/admob-open-ads
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/samyak2403/admob-open-ads
- Owner: samyak2403
- Created: 2023-06-26T12:51:55.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-12T10:09:20.000Z (5 months ago)
- Last Synced: 2024-08-12T11:32:28.046Z (5 months ago)
- Language: Java
- Size: 160 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Version](https://img.shields.io/badge/version-1.0.samu-green.svg)](https://shields.io/)
[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)
![pv](https://pageview.vercel.app/?github_user=Admob-Open-Ads)# AdmobOpenAds
Implement admob open ads in your android app.
# How to Implement
To get a Git project into your build:
> Step 1. Add the JitPack repository to your build fileAdd it in your root build.gradle at the end of repositories:
```gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
> Step 2. Add the dependencyAdd it in your root app.gradle at the end of repositories:
```gradle
dependencies {
...
implementation 'com.github.samyak2403:Admob-Open-Ads:1.0.samu'
...
}
```# How do I use Admob open Ads
Simple use cases will look something like this:
> Step 1. Create a class like MyApplication.class
```java
package arrowwould.in.admobopenads;import android.app.Application;
import com.google.android.gms.ads.MobileAds;
import arrowwould.in.admobopenads.AppOpenManager;
public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
MobileAds.initialize(this);new AppOpenManager(this, "ca-app-pub-3940256099942544/9257395921");
}
}
```
> Step 2. Update menifest
```xml```
# Connect With Us
## Made with :sparkling_heart: [mr_samyakkamble X miss_samruddhi](https://www.instagram.com/mr_samyakkamble/?hl=en/)