if i have 3 activities, do i have to paste into the xml of each activity the adview (com.google.android.gms.ads.Adview) ? Or only in main activity xml only?
If you want the app to appear in all three activities you will need to paste the code into each activities layout file. Don't for get to add the java code in each as well.
hi there. for example, if i have first, second, and third activity and i want only the 2nd and third activity to require users for internet connection, is it possible? how to do it?
For example, you only want your 2nd and 3rd activity to display ads? Or have internet access in general? When you grant your app permission to use the internet you grant the app as a whole permission. Even though your app has permission to use the internet, you don't have to do anything that requires the internet unless the action you are trying to do requires it. In this case, any activity that uses an ad from AdMob would be using an internet connection rather it be the phone's cellular data or wifi. Hope that wasn't too long. Let me know if you need any further help.
Please make one on interstitial ads. The one i tried could get my app suspended coz it is disallowed by google, it loads the page then the interstitial ad pops up, google requires to show the interstitial ad first before the next activity is loaded or shown
there was a notification "com.google.android.gms:play-services-ads:10.2.1 is available". i changed it from 8.4.0 to the latest version. does this mean i have to change my app that i uploaded on google play from time to time?
Yes, as time goes on, the Google libraries get updated so you will need to update them in your app and then publish an update. Always test the updated versions before you release an update to your app. If you need help figuring out how to release an update, let me know and I'll create a tutorial on it.
Thanks :)
You're welcome! If you have any other request, send them my way. :)
Listview pls. :) . Images with descriptions. Thanks
That was actually next on my list! You must be reading my mind. :)
thanks. :)
im excited to see it.
Almost finished with my listview tutorial! I'll reply to your comment again when it is uploaded. :)
if i have 3 activities, do i have to paste into the xml of each activity the adview (com.google.android.gms.ads.Adview) ? Or only in main activity xml only?
If you want the app to appear in all three activities you will need to paste the code into each activities layout file. Don't for get to add the java code in each as well.
ah ok. thank you
hi there. for example, if i have first, second, and third activity and i want only the 2nd and third activity to require users for internet connection, is it possible? how to do it?
For example, you only want your 2nd and 3rd activity to display ads? Or have internet access in general? When you grant your app permission to use the internet you grant the app as a whole permission. Even though your app has permission to use the internet, you don't have to do anything that requires the internet unless the action you are trying to do requires it. In this case, any activity that uses an ad from AdMob would be using an internet connection rather it be the phone's cellular data or wifi. Hope that wasn't too long. Let me know if you need any further help.
got it sir. thank for this info.
Please make one on interstitial ads. The one i tried could get my app suspended coz it is disallowed by google, it loads the page then the interstitial ad pops up, google requires to show the interstitial ad first before the next activity is loaded or shown
I would be happy to make a tutorial on Interstitial Ads. Consider it done my friend.
Thank you in advance
there was a notification "com.google.android.gms:play-services-ads:10.2.1 is available". i changed it from 8.4.0 to the latest version. does this mean i have to change my app that i uploaded on google play from time to time?
Yes, as time goes on, the Google libraries get updated so you will need to update them in your app and then publish an update. Always test the updated versions before you release an update to your app. If you need help figuring out how to release an update, let me know and I'll create a tutorial on it.
pls do make a tutorial on it some other time.
Consider it done my friend.