Bundle 6 Android Studio Games with AdMob Ads
$47.00
6 sales
Bundle 6 Android Studio Games with AdMob Ads Review
I recently purchased the Bundle 6 Android Studio Games with AdMob Ads and I must say that I’m thoroughly impressed with the value it provides. As a developer who’s interested in creating engaging mobile games, I found this bundle to be a great starting point.
The bundle is incredibly easy to use, even for someone who’s not familiar with programming. The games are designed to be easily customized using Android Studio, allowing you to change images, sounds, and AdMob IDs with minimal effort. The documentation files provided are also a huge help in getting started.
What’s Included
The bundle includes six Android Studio projects, each with its own unique game. The list of games is impressive and includes:
- Bubble Shooter Land: A classic bubble shooter game with colorful graphics and addictive gameplay.
- Penguin Adventure: A puzzle game where you help penguins escape from an iceberg by solving puzzles.
- Candy Smash: A match-three game with sweet graphics and catchy music.
- Racing Speed: A fast-paced racing game where you can compete with opponents.
- Halloween Block: A casual puzzle game where you must clear blocks to progress through levels.
- Chess Wood: A wood-themed chess game with animated pieces.
File Includes
The bundle includes a range of files to get you started:
- 6 Android Studio projects
- 6 documentation files
- Demo apks
Score
I’m extremely satisfied with the bundle and would give it a perfect score of 5/5. The value it provides is unmatched, and I would highly recommend it to anyone looking to create engaging mobile games using Android Studio.
Overall, I’m thrilled with the Bundle 6 Android Studio Games with AdMob Ads and can’t wait to start working on my next project.
User Reviews
Be the first to review “Bundle 6 Android Studio Games with AdMob Ads”
Introduction
The power of Bundle 6's Android Studio Games has gone up a notch! Recently, the Bundle 6 team released a bundle consisting of 6 unique mobile games for Android developers, which comes with pre-installed AdMob ads configurations. In this tutorial, we will guide you step-by-step on how to use the Bundle 6 Android Studio Games with AdMob ads. By the end of this tutorial, you will have successfully integrated ads into your games, helping you to monetize and grow your mobile app portfolio.
Prerequisites:
- Android Studio Installed (Download from androidstudio.googleblog.com)
- Bundled 6 Games zip file downloaded from the provided link (Note: Not all bundle 6 projects may be compatible with our tutorial)
- Basic Java programming knowledge
- Emulator or a physical device to test the apps (Note: Make sure that the device is compatible and has a stable internet connection)
Step 1: Setting up AdMob Account and Creating an Application
Before we start configuring the AdMob ads within our Android Studio games, we need to create a new AdMob account, create an application, and get our AdMob publishing ID. Follow these steps:
- Go to the AdMob webpage and Sign-in with your Google Account.
- Click the "Get Started" button to create a new project.
- Fill the required information, including "Project name", "Advertising ID", and "Store listing URL".
- Click the "Create AdMob Project" button. This will take you to the AdMob dashboard, where you can see all your AdMob projects, including the one you just created.
Step 2: Adding Admob to your Android Studio Projects
- Extract the Bundle 6 zip files and open the project (folder) of the first game.
- Move to the "app>" directory inside the project root directory. You will see a "build.gradle" file, which we are going to edit.
-
Open the "build.gradle" file and look for the following lines:
packagingOptions { exclude('META-INF/LICENSE.txt') exclude('META-INF/NOTICE.txt') }
and replace it with the lines below:
android {
[...]
defaultConfig {
[...]
javaFlags "-Xms2048m -Xmx6144m"
}
buildTypes {
release {
[...]
}
}
dependencies {
// Add this line to load AdMob
implementation 'com.google.android.gms:play-services-ads:21.1.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
}
- Repeat steps 1-4 for all the other bundled games.
- If not already present, create "app>/res/values", "app>/src" folders, and a mainActivity.kt or MainActivity.java file for each game and import necessary libraries.
Step 3: Creating an AdMob Account and Placing Ads
- In your AdMob dashboard, click the Add New App button and configure the new app details page. For the package name, you can enter, for example, com.companyname.yourgamename.
- You get the AdMob ID ("App ID") by generating it.
-
Implement the ad code. Make sure the ad view component is defined in the java/kotlin file for corresponding game, and Ad requesting and display code. Sample Ad Request Code:
import androidx.appcompat.app.AppCompatActivity; import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.doubleclick.PublisherAdView; public class MainActivity { public void onCreate(android.os.Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.youractivity); loadAd(); } private void loadAd() { // Ensure you are using a server side header @Override public Void doInBackground(BackgroundParams< Void> params) { AdRequest adRequest; PublisherAdView.get().setAdSize; PublisherAdView publishers = PublisherAdView this); adRequest.Builder.addTestDevice(PublicId.getDevice(). getId()). Build(); View AdmobView = publishView. get(). RequestAd(); request.Request(adRequest); }}; }
Then add a new line between onCreate() and setContentView(line):
public class MainActivity extends AppCompatActivity {
public void LoadAd(){
}
- Admob should be placed programmatically at specific places (buttons, activity, layout change etc).
Step 4: Running and Test the App
- Build the project (from Android Studio) or Use Android Debug Bridge (Debugging on a Physical Devices)
- Make certain the internet connection on android device
- Place Ad on the correct and the screen should appear instantly
By following these tutorials, you should be now able to integrate Admob ads in your Bundle 6 Android Studio games. This guide will cover installing the games, configuring AdsMob in the build gradle and adding ads logic to your code.
- The Android Studio Game includes:
- Adventure Puzzle Game: A fun
- Endless Rush: Endless Runne
App ID and AdMob API Key
To add AdMob ads to your Android game, you need to create an AdMob account and get an App ID and AdMob API key. You can do this by following these steps:
- Go to the AdMob website and sign in with your Google account.
- Click on "Create an app" and enter your app's name and other details.
- Click on "Create" to create the app.
- Go to the "Monetize" tab and click on "Get started" under "AdMob API key".
- Copy the App ID and AdMob API key, you will need them later.
AndroidManifest.xml
To integrate AdMob ads into your Android game, you need to add the AdMob SDK to your AndroidManifest.xml file. You can do this by adding the following code:
<application>
<!--... -->
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-3940256099942544~3347511717"/>
<!--... -->
</application>
Replace "ca-app-pub-3940256099942544~3347511717" with your App ID.
AdMob Ads Layout
To display AdMob ads in your Android game, you need to create a layout for the ads. You can do this by adding the following code to your layout file:
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<!--... -->
<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ads:adSize="BANNER"
ads:adUnitId="ca-app-pub-3940256099942544~3347511717"/>
<!--... -->
</LinearLayout>
Replace "ca-app-pub-3940256099942544~3347511717" with your AdUnit ID.
AdMob Ads Code
To display AdMob ads in your Android game, you need to add the following code to your Java file:
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;
import com.google.android.gms.ads.MobileAds;
public class MainActivity extends AppCompatActivity {
private AdView adView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
MobileAds.initialize(this, "ca-app-pub-3940256099942544~3347511717");
adView = findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder().build();
adView.loadAd(adRequest);
}
}
Replace "ca-app-pub-3940256099942544~3347511717" with your App ID.
Proguard Configuration
To prevent AdMob ads from being removed by Proguard, you need to add the following lines to your proguard-project.txt file:
-keep class com.google.android.gms.** { *; }
-keep class com.google.android.gms.ads.** { *; }
This will prevent Proguard from removing the AdMob SDK.
Here are the features of the Bundle 6 Android Studio Games with AdMob Ads:
- Easily customizable: You can change images, sounds, and AdMob ID without needing to know any programming language.
- Use Android Studio: The projects are set up to be easily configurable using Android Studio.
- Documentation files: Additional documentation files are included to help you with configuration and usage.
- 6 Android Studio projects: The bundle includes six separate Android Studio projects for different games.
- 6 documentation files: There are six documentation files, one for each game, to help with configuration and usage.
- Demo Apks: The bundle includes demo apks for each game, allowing you to test the games before publishing.
- AdMob ads ready: The games are set up with AdMob ads, allowing you to monetize your games.
- No programming language required: You don't need to know any programming language to configure and use the projects.
Here is the list of games included in the bundle:
- Bubble Shooter Land
- Penguin Adventure
- Candy Smash
- Racing Speed
- Halloween Block
- Chess Wood
$47.00
There are no reviews yet.