ANDROID STUDIO MA INTERSTITIALS ADS KAYSA LAGA TA HA
Hello friends This is me Gour hari ghosh
Aap Kaysa Ek Interstitials Ads laga sak ta ho Android Studio ka under.Friends Ek achisi bat batana
chata hoo Aaplogo ko Agar aap Andriod Studio ka under ad coading karo ga to koy bhi aap ka aap
ka Ads ko hata nahi sak ha. Dosto apk editor ka madat sa Bhat sara log dus ra ka ads ko hata ka khud
ka Ads laga da ta ha.Iss li Dosto ma kay hoo ka aap Android Studio ka madat sa koy bhi Ads ko
lagaie.to chali suru karta ha .
Dosto Android Studio ka under aap phela ek Project Create korli ja Project Name kuchbi deja or
domen Name exemple.com Mat deja ga Nahie to google play Store ma aap ka app ko Nahie laga.
Aapp uha pa kuchbi Name dade ja ga Dosto. ush ka Next Next kar ka Finish kar dija ga Dosto.
Android Studio ka under gradle script pa click koro ga to buid.gradel ka do option aya ga jis ma
dost(Project aap ka app name) or (module app) hoga dosto. Aap ko build.gradel (module app) Click
kar na ha. dosto ush ka bad picture ka under jo app ka gole ki hua ha use tari ka sa app ka upor
Mouse ka Right button click ka gradedle module setting Click kor ka dependice ma gana ha. usha ka
bad + singe ma click ka la na ha scrch box ma type gsm ads service to bhot sara comple file aa jia ga
dosto. implementation 'com.google.android.gms:play-services-ads:17.1.2' eha pa jo verson
Latest varsion ha. google devloper.com sa koye bhi implesementation la sak ta ho dosto.
Dosto ushka bad app ma ja ka Right Mouse click kara ka New And go to Activity And go to
Ematy Activity you name this any Name.And finish create new xml file and java file friends
first MainActivaty.xml ma ek button create kar ka dosto buttton ki id and buttton text you
any Name Create puplicy class MainActivaty extends AppcompatActivity ka under dosto app ko
phile custing karna ha button to dosto ma isha pa casting kar ta hu
Friends upor ka picture ma jis tari ka sa dia hua ha usi tari ka sa ma ish pa casting kar ta hu ok
private
Button button;
InterstitialsAd minterstitialsads;
ok Friends ho chuka ha aab @Overide ActivatyMain ka nicha button ko custingg karna ha ok to
main dekha ta hu
button =(Button)findViewByid(R.id.dosto phila jo button id dea tha usa dana ha eaha pa ) ;ush kas bad
interstitials ka custing kar naha
minterstitialsad = new InterstitialsAd(this);
minterstitialsad.setAdUnitId("ca-app-pub-3940256099942544/1033173712");
AdRequest adrequest = new AdRequest.Bulleder.builde().build();
minterstitialsad.loadAd(adrequest);
Dosto Android Studio ka under aap phela ek Project Create korli ja Project Name kuchbi deja or
domen Name exemple.com Mat deja ga Nahie to google play Store ma aap ka app ko Nahie laga.
Aapp uha pa kuchbi Name dade ja ga Dosto. ush ka Next Next kar ka Finish kar dija ga Dosto.
Android Studio ka under gradle script pa click koro ga to buid.gradel ka do option aya ga jis ma
dost(Project aap ka app name) or (module app) hoga dosto. Aap ko build.gradel (module app) Click
kar na ha. dosto ush ka bad picture ka under jo app ka gole ki hua ha use tari ka sa app ka upor
Mouse ka Right button click ka gradedle module setting Click kor ka dependice ma gana ha. usha ka
bad + singe ma click ka la na ha scrch box ma type gsm ads service to bhot sara comple file aa jia ga
dosto. implementation 'com.google.android.gms:play-services-ads:17.1.2' eha pa jo verson
Latest varsion ha. google devloper.com sa koye bhi implesementation la sak ta ho dosto.
Dosto ushka bad app ma ja ka Right Mouse click kara ka New And go to Activity And go to
Ematy Activity you name this any Name.And finish create new xml file and java file friends
first MainActivaty.xml ma ek button create kar ka dosto buttton ki id and buttton text you
any Name Create puplicy class MainActivaty extends AppcompatActivity ka under dosto app ko
phile custing karna ha button to dosto ma isha pa casting kar ta hu
Friends upor ka picture ma jis tari ka sa dia hua ha usi tari ka sa ma ish pa casting kar ta hu ok
private
Button button;
InterstitialsAd minterstitialsads;
ok Friends ho chuka ha aab @Overide ActivatyMain ka nicha button ko custingg karna ha ok to
main dekha ta hu
button =(Button)findViewByid(R.id.dosto phila jo button id dea tha usa dana ha eaha pa ) ;ush kas bad
interstitials ka custing kar naha
minterstitialsad = new InterstitialsAd(this);
minterstitialsad.setAdUnitId("ca-app-pub-3940256099942544/1033173712");
AdRequest adrequest = new AdRequest.Bulleder.builde().build();
minterstitialsad.loadAd(adrequest);
button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { if(minterstialsad.isLoaded());{ minterstialsad.show(); } Intent i =new Intent(MainActivity.this,Main2Activity.class); startActivity(i); } });so frinds maina laga dia ha aapp ko kuch iss tari ka sa kar na ha ush ka bad app ko runkar ka dekna jabe bhi app button upor click koro ga to Intertitials Ad show kara ga okjab aap ka tes ho jia usha ka bad aap ka khud ka app id deda na sing apk create kar la na dosto
No comments