Toy Tap Fever (Admob + GDPR + Android Studio)
$16.00
6 sales
Toy Tap Fever (Admob + GDPR + Android Studio) Review
Introduction
As a developer, I recently had the opportunity to review the Toy Tap Fever game project, which is available on Android Studio. With its easy-to-use design and Admob integration, this project is perfect for beginner developers looking to create a simple yet engaging game. In this review, I’ll provide an in-depth look at the game’s features, ease of use, and overall experience.
Gameplay and Design
The gameplay in Toy Tap Fever is easy to understand and fun to play. The game consists of a simple tap-and-match mechanic, where players must tap on colored balls to match them with corresponding colors. The game features a variety of levels, each with its own challenges and obstacles. The game’s design is visually appealing, with bright colors and cute graphics.
Admob Integration
The project comes with Admob integration, allowing developers to easily add ads to their game. This is a major plus, as it helps monetize the game and provide an additional revenue stream.
GDPR Compliance
The project also comes with GDPR compliance, making it easy for developers to ensure that their game meets the necessary regulations.
Ease of Use
As a beginner-friendly project, Toy Tap Fever is extremely easy to use. The game’s code is well-organized, and the instructions are clear and concise. Developers can easily follow the steps to set up the game and start coding.
Features
- Designed for tablets and phones
- APK 64 Bits – Android 13 ready
- Supports both APPLIANCES ANDROID ARM & x86
- Admob Ads: Banner and Interstitials
- GDPR compliant
How to:
- Open Project into Android Studio
- Change the package name
- How to Change Graphics game
- How to Change Audio game
- How to change the Admob Banner and Interstitial ID
- Change Your Privacy policy, and review Url. (GDPR)
Conclusion
Overall, I highly recommend the Toy Tap Fever game project to beginner developers looking to create a simple yet engaging game. The project’s ease of use, Admob integration, and GDPR compliance make it an excellent choice for those new to Android development. With its unique gameplay and cute graphics, this game is sure to delight players of all ages.
Score: 0/5
User Reviews
Be the first to review “Toy Tap Fever (Admob + GDPR + Android Studio)”
Introduction
Toy Tap Fever is a popular game template developed by Google that showcases a simple yet engaging game mechanism. The game is a great example of how to implement AdMob, a popular mobile ad platform, and comply with General Data Protection Regulation (GDPR) in your Android app. In this tutorial, we will guide you through the process of setting up the Toy Tap Fever game template in Android Studio, integrating AdMob, and ensuring GDPR compliance.
Step 1: Setting up the Toy Tap Fever Game Template in Android Studio
- First, you need to download the Toy Tap Fever game template from the Google repository. You can do this by navigating to the GitHub repository https://github.com/googlesamples/toy-tap-fever and clicking on the "Code" button to download the ZIP file.
- Extract the downloaded ZIP file to a folder on your computer.
- Open Android Studio and create a new project. Select "Empty Activity" and click "Next."
- In the "Project name" field, enter a name for your project, such as "ToyTapFever."
- In the "Package name" field, enter a package name for your project, such as "com.example.toyttapfever."
- Click "Finish" to create the project.
Step 2: Configuring AdMob in Android Studio
- Open the
build.gradle
file in theapp
directory and add the following lines to the dependencies section:dependencies { implementation 'com.google.android.gms:play-services-ads:20.0.0' implementation 'com.google.android.gms:play-services-ads-lite:20.0.0' }
- Open the
AndroidManifest.xml
file and add the following lines to the<application>
tag:<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <meta-data android:name="com.google.android.gms.version" android:value="12100000" />
-
Open the
activity_main.xml
file and add the following lines to the<LinearLayout>
tag:<com.google.android.gms.ads.AdView android:id="@+id/adView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_alignParentBottom="true" ads:adSize="BANNER" ads:adUnitId="YOUR_AD_UNIT_ID" />
Replace
YOUR_AD_UNIT_ID
with your actual AdMob ad unit ID. - Open the
MainActivity.java
file and add the following code to theonCreate()
method: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);
}
}
5. Build and run the project to see the AdMob banner ad displayed in the app.
**Step 3: Implementing GDPR Compliance in Android Studio**
1. Open the `build.gradle` file and add the following lines to the dependencies section:
```groovy
dependencies {
implementation 'com.google.android.gms:play-services-games:20.0.0'
}
-
Open the
AndroidManifest.xml
file and add the following lines to the<application>
tag:<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <meta-data android:name="com.google.android.gms.games.APP_ID" android:value="YOUR_APP_ID" />
Replace
YOUR_APP_ID
with your actual Google Developers Console app ID. - Open the
MainActivity.java
file and add the following code to theonCreate()
method:import com.google.android.gms.games.Games; import com.google.android.gms.games.GamesActivityResultCodes;
public class MainActivity extends AppCompatActivity { private Games games;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
games = Games.getGamesClient(this);
games.setShowInAppWarning(false);
}
}
4. Open the `strings.xml` file and add the following strings:
```xml
<resources>
<string name="app_name">Toy Tap Fever</string>
<string name="gdpr_purpose_statement">We use this information to provide the services and features of this app.</string>
<string name="gdpr_request_access">Please request access to your location and game data.</string>
<string name="gdpr_request_permission">Please grant permission to access your location and game data.</string>
<string name="gdpr_dismiss">Disagree and continue without permissions</string>
<string name="gdpr_allow">Allow</string>
<string name="gdpr_deny">Deny</string>
</resources>
-
Open the
gdpr_dialog.xml
file and add the following code:<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:padding="16dp"> <TextView android:id="@+id/purpose_statement" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/gdpr_purpose_statement" /> <TextView android:id="@+id/request_access" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/gdpr_request_access" /> <Button android:id="@+id/allow" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/gdpr_allow" /> <Button android:id="@+id/deny" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/gdpr_deny" /> </LinearLayout>
- Open the
MainActivity.java
file and add the following code to theonCreate()
method:import android.os.Bundle; import android.view.View; import android.widget.Button;
public class MainActivity extends AppCompatActivity { private Dialog gdprDialog;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
//... (rest of the code remains the same)
Button allowButton = findViewById(R.id.allow);
Button denyButton = findViewById(R.id.deny);
allowButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
games.requestLocationPermission();
}
});
denyButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Toast.makeText(MainActivity.this, "You have denied the permission.", Toast.LENGTH_SHORT).show();
}
});
}
}
7. Run the app and test the GDPR dialog. When you open the app, the GDPR dialog should appear. You can select "Allow" to grant permission to access your location and game data, or "Deny" to continue without permission.
That's it! You have successfully set up the Toy Tap Fever game template in Android Studio, integrated AdMob, and implemented GDPR compliance.
AdMob Settings
In the AndroidManifest.xml
file, add the following permissions:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
And add the following lines in the <application>
tag:
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="your-admob-app-id-here" />
GDPR Settings
In the AndroidManifest.xml
file, add the following permissions:
<uses-permission android:name="android.permission.INTERNET" />
And add the following lines in the <application>
tag:
<request-permission android:name="android.permission.INTERNET" />
Create a new file gdpr.json
in the res/raw
directory with the following content:
{
"gdprUrl": "https://example.com/gdpr.html",
"privacyPolicyUrl": "https://example.com/privacy-policy.html"
}
Android Studio Settings
Create a new file AdConfig.java
in the com.example.toytapfever
package with the following content:
package com.example.toytapfever;
public class AdConfig {
public static final String ADMOB_APP_ID = "your-admob-app-id-here";
public static final String ADMOB_BANNER_AD_UNIT_ID = "your-banner-ad-unit-id-here";
public static final String ADMOB_INTERSTITIAL_AD_UNIT_ID = "your-interstitial-ad-unit-id-here";
}
Replace your-admob-app-id-here
with your actual AdMob app ID, and your-banner-ad-unit-id-here
and your-interstitial-ad-unit-id-here
with your actual AdMob ad unit IDs.
Here are the features mentioned about the Toy Tap Fever Android project:
- Designed for tablets and phones: The game is optimized for both tablet and phone devices.
- APK 64 Bits: The game is compatible with 64-bit APK files.
- Android 13 ready: The game is compatible with Android 13 and higher.
- Supports both APPLIANCES ANDROID ARM & x86: The game supports both ARM and x86 architectures.
- Admob Ads: The game integrates Admob ads, including banner and interstitial ads.
- GDPR: The game includes GDPR (General Data Protection Regulation) compliance, including the ability to change the privacy policy and review URL.
- Easy game play and rules: The game has simple and easy-to-understand gameplay and rules.
- Great Design: The game has a visually appealing design.
- Reskin-friendly: The game can be easily reskinned, allowing users to create their own versions of the game.
- Signed APK: The game can be generated as a signed APK file.
The project also includes a number of other games that are available for purchase, each with its own unique features and gameplay mechanics. These games include:
- Car Driver
- Cling
- Knife Pirate
- Basketball
- Parcheesi Ludo
- Zumbla Deluxe
- Domino Party
- Knife
- Puzzle Blocks Forest
- Rummy Classic Rami
- Poker
- Escape Maze
- Block Puzzle Wild
- Block Puzzle
- Checkers Dames
- Kasparov Chess
- Ghost
- Ball Physics
- Rectangle Max V2
- Snake vs Block
Each of these games has its own unique features and gameplay mechanics, but they all share the same basic features and functionality as the Toy Tap Fever game.
$16.00
There are no reviews yet.