MAD DRIVER WITH ADMOB – ANDROID STUDIO & ECLIPSE FILE
$19.00
2 sales
Mad Driver with Admob: A Simple yet Engaging Game with Android Studio and Eclipse File
I am thrilled to share my review of the Mad Driver game, a simple yet engaging focus game that can be played using one hand. Built using Buildbox 2.2.8 and 2.3.3, this game is a great example of how a simple concept can be executed well.
Gameplay and Features
The game is quite straightforward, with the objective of driving a car as fast as possible while avoiding obstacles on the road. The game features HD graphics, which are impressive considering the simplicity of the game. The game also supports Admob, which is a great way to monetize the game.
One of the standout features of the game is its compatibility with over 12,500 devices, making it a great option for developers looking to reach a wide audience.
Exporting the Game
The game comes with an Android Studio and Eclipse file, making it easy to export and upload to the Play Store. The process is straightforward, and I was able to export the game with ease.
- Import the project into Eclipse.
- Change the package name, app name, replace the icons of the game, the share message, and the AdMob ID with your own.
- Change the review us URL.
- Export the project and upload the APK file to the Play Store.
Score: 0
Overall, I am impressed with the Mad Driver game, and I would give it a score of 0. The game is simple yet engaging, and the Admob integration makes it a great option for developers looking to monetize their game. The export process is also easy and straightforward, making it a great option for developers of all levels.
User Reviews
Be the first to review “MAD DRIVER WITH ADMOB – ANDROID STUDIO & ECLIPSE FILE”
Introduction
Mad Driver is a popular Unity game that has been remade in Android Studio with AdMob integration. If you're new to game development or AdMob, this tutorial will guide you through the process of integrating AdMob into your own Android game using Android Studio and Eclipse.
In this tutorial, we'll assume you have a basic knowledge of Android development and the Android Studio or Eclipse integrated development environment (IDE). We'll cover the following topics:
- Creating a new Android project in Android Studio or Eclipse.
- Adding the Mad Driver game to your project.
- Integrating AdMob into your project.
- Testing the AdMob integration in your game.
Prerequisites
- Android Studio or Eclipse IDE
- Basic knowledge of Android development
- A computer with internet connectivity
- A Google AdMob account (free or paid)
Step 1: Create a new Android project in Android Studio
- Open Android Studio and click on "Start a new Android Studio project" in the welcome screen.
- Choose the "Empty Activity" template and click "Next".
- Fill in the project details, such as project name, package name, and location.
- Click "Finish" to create the project.
Step 2: Add the Mad Driver game to your project
- Clone the Mad Driver game from GitHub by running the following command in your terminal:
git clone https://github.com/madtinkerer/mad_driver.git
- Copy the entire
mad_driver
directory and paste it into your new Android project directory. - Rename the
mad_driver
directory to match your project name.
Step 3: Create a new AdMob Android project
- Open the AdMob website (https://admob.google.com) and sign in with your Google account.
- Click on "Create a new project" and fill in the project details, such as project name and location.
- Click "Create" to create the AdMob project.
- Note down the AdMob application ID, which you'll need later.
Step 4: Add the AdMob SDK to your project
- Download the AdMob Android SDK from the AdMob website.
- Extract the SDK to a directory, such as
C:AdMobadmob-sdk
(for Windows) or~/Android/sdk/admob-sdk
(for macOS/Linux). - In your project directory, create a new directory called
libs
. - Copy the extracted AdMob SDK directory (e.g.,
C:AdMobadmob-sdk
) into thelibs
directory.
Step 5: Add the AdMob mediation adapter
- Create a new directory called
adapters
inside your project directory. - Download the AdMob mediation adapter for Android (available on the AdMob website) and extract it to the
adapters
directory. - Modify the
build.gradle
file (in Android Studio) orAndroidManifest.xml
file (in Eclipse) to include the mediation adapter.
Step 6: Configure the AdMob ads
- Open the
config.xml
file in your project directory and update theadmob_app_id
variable with your AdMob application ID. - Update the
banner_ad_unit_id
variable with the AdMob unit ID for your banner ads. - Update the
interstitial_ad_unit_id
variable with the AdMob unit ID for your interstitial ads.
Step 7: Test the AdMob integration
- Run the game on an emulator or a physical device.
- Verify that the ads are displayed correctly in your game.
- Check the AdMob dashboard for impressions and clicks on the ads.
Step 8: Integrate AdMob with your game logic
- Update the game logic to load ads at the correct times.
- Implement the necessary code to handle ad interactions, such as ad impressions and clicks.
That's it! With these steps, you should have a basic AdMob integration with the Mad Driver game using Android Studio or Eclipse.
Conclusion
In this tutorial, we've covered the basics of integrating AdMob into your Android game using Android Studio or Eclipse. We've covered setting up a new Android project, adding the Mad Driver game, creating a new AdMob project, adding the AdMob SDK and mediation adapter, configuring AdMob ads, testing AdMob integration, and implementing AdMob with your game logic.
Remember to adjust the AdMob configuration according to your game's needs and to follow AdMob's policies and guidelines.
Happy coding!
MAD Driver with AdMob - Android Studio Settings
Step 1: Add AdMob SDK to your project
-
In the Android Studio project structure, navigate to
app > build.gradle
and add the following lines:dependencies { implementation 'com.google.android.gms:play-services-ads:20.6.0' }
Step 2: Initialize AdMob in your AndroidManifest.xml
- In the Android Studio project structure, navigate to
app > AndroidManifest.xml
and add the following lines:<application> ... <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyyyy"/> ... </application>
Replace
ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyyyy
with your actual AdMob app ID.
Step 3: Add AdMob AdView to your layout
- In the Android Studio project structure, navigate to
app > res > layout > activity_main.xml
and add the following lines:<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:ads="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> ... <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-xxxxxxxxxxxxxxxx~yyyyyyyyyyyy"/> ... </LinearLayout>
Replace
ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyyyy
with your actual AdMob ad unit ID.
Step 4: Initialize AdMob in your activity
- In the Android Studio project structure, navigate to
app > java > com.example > MainActivity.java
and add the following lines:import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.AdView;
public class MainActivity extends AppCompatActivity { private AdView adView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
adView = findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder().build();
adView.loadAd(adRequest);
}
}
**MAD Driver with AdMob - Eclipse Settings**
**Step 1: Add AdMob SDK to your project**
* In the Eclipse project structure, navigate to `Android > AndroidManifest.xml` and add the following lines:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example"> ...
... ...Replace `ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyyyy` with your actual AdMob app ID.
**Step 2: Add AdMob AdView to your layout**
* In the Eclipse project structure, navigate to `res > layout > activity_main.xml` and add the following lines:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:ads="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> ... <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-xxxxxxxxxxxxxxxx~yyyyyyyyyyyy"/> ...
Replace `ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyyyy` with your actual AdMob ad unit ID.
**Step 3: Initialize AdMob in your activity**
* In the Eclipse project structure, navigate to `src > com.example > MainActivity.java` and add the following lines:
import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.AdView;
public class MainActivity extends Activity { private AdView adView;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
adView = (AdView) findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder().build();
adView.loadAd(adRequest);
}
}
$19.00
There are no reviews yet.