Introduction
HD MX Player is a free Android application that has taken the video playing experience to a whole new level. With its ability to play a wide range of video formats, including 4K, this player has become a favorite among Android users. Not only does it provide an immersive video experience, but it also offers a host of features that make it stand out from the crowd.
Features and Functionality
One of the standout features of HD MX Player is its ability to automatically detect all videos on your device, including those on your SD card. This means that you can access all your videos in one place, without having to search for them manually. The player also supports all video formats, including HD videos, making it compatible with a wide range of files.
Another notable feature is its sound effects. The player comes equipped with an equalizer, bass booster, and stereo surround sound effect, which gives you an immersive audio experience. This is perfect for movie lovers who want to feel like they are in a cinema.
In addition to its impressive video and audio features, HD MX Player also offers a range of customization options. You can increase or decrease the brightness and volume, lock the screen, and even auto-rotate the screen to suit your preferences.
Performance and Speed
One of the most impressive aspects of HD MX Player is its performance and speed. The player is designed to optimize file playback speed and effectiveness, ensuring that your videos play smoothly and efficiently. This means that you can enjoy your videos without any lag or buffering, even if you have a slower device.
Admob Integration
HD MX Player also comes with Admob integration, which allows developers to monetize their app through online advertising. This feature is particularly useful for developers who want to earn revenue from their app.
Conclusion
In conclusion, HD MX Player is an impressive video player that offers a wide range of features and functionalities. With its ability to play a wide range of video formats, impressive sound effects, and customization options, it is an ideal choice for anyone who wants to enjoy their videos on the go. The addition of Admob integration makes it a valuable tool for developers who want to monetize their app.
Rating: 5/5
Price: Free
Download Link: [Insert Download Link]
DEMO APK: https://bit.ly/32yzBnb
Note: The DEMO APK is available for download, and the price of the app is free.
User Reviews
Be the first to review “HD MX Player – 4K Video Player – Android App + Admob Integration”
Introduction to HD MX Player - 4K Video Player and Admob Integration Tutorial
HD MX Player is a powerful and feature-rich video player app for Android devices that allows users to play high-definition video files with ease. With its sleek interface and advanced features, HD MX Player is a popular choice among Android users. In this tutorial, we will guide you through the process of integrating Admob into your HD MX Player app, allowing you to monetize your app and earn revenue from ad impressions.
Prerequisites
- Basic knowledge of Android app development
- Eclipse or Android Studio installed on your computer
- HD MX Player source code (available on GitHub)
- Admob account and API key
- Android device for testing
Step 1: Set up Admob in your HD MX Player App
To integrate Admob into your HD MX Player app, you need to create a new Admob project and obtain the API key. Follow these steps:
- Log in to your Admob account and click on the "Create a new ad unit" button.
- Select "Banner" as the ad type and choose the desired ad size (e.g. 320x50).
- Give your ad unit a name and create it.
- Note down the ad unit ID, which will be used later in your app.
Step 2: Add Admob SDK to your HD MX Player App
To add the Admob SDK to your HD MX Player app, you need to add the following dependency to your app's build.gradle file:
dependencies {
implementation 'com.google.android.gms:play-services-ads:18.3.0'
}
Next, you need to add the Admob SDK initialization code to your app's MainActivity:
import com.google.android.gms.ads.MobileAds;
import com.google.android.gms.ads.initialization.InitializationStatus;
import com.google.android.gms.ads.initialization.OnInitializationCompleteListener;
public class MainActivity extends AppCompatActivity {
//...
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
MobileAds.initialize(this, new OnInitializationCompleteListener() {
@Override
public void onInitializationComplete(InitializationStatus initializationStatus) {
}
});
//...
}
}
Step 3: Add Admob Banner Ad to your HD MX Player App
To add the Admob banner ad to your HD MX Player app, you need to create a new layout file for the ad (e.g. ad_layout.xml):
<?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="horizontal">
<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
ads:adSize="BANNER"
ads:adUnitId="YOUR_ADMOB_AD_UNIT_ID">/>
</LinearLayout>
Next, you need to add the ad view to your app's layout file (e.g. activity_main.xml):
<?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="match_parent"
android:orientation="vertical">
<!-- Your app's content here -->
<include layout="@layout/ad_layout" />
</LinearLayout>
Finally, you need to load the ad and display it in your app:
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);
//...
adView = findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder().build();
adView.loadAd(adRequest);
}
}
Step 4: Test your Admob Integrated HD MX Player App
To test your Admob integrated HD MX Player app, you need to run the app on your Android device and verify that the ad is displayed correctly. You can use the Admob debugger to test the ad:
- Open the Admob debugger app on your device.
- Go to the "Ad Units" tab and select your ad unit.
- Click the "Test" button to test the ad.
If the ad is displayed correctly, you can conclude that the Admob integration is successful. If you encounter any issues, you can debug your app using the Android Studio debugger or the Admob debugger.
Conclusion
In this tutorial, we have covered the process of integrating Admob into your HD MX Player app. By following these steps, you can monetize your app and earn revenue from ad impressions. Remember to update your Admob ad unit ID and replace it with your own ad unit ID to ensure that the ad is displayed correctly in your app.
Here is a complete settings example for HD MX Player – 4K Video Player - Android App + Admob Integration:
Admob Settings
Go to the Admob console and create a new app. Add your Android app package name and the signing-certificate fingerprint.
Add a new ad unit, choosing the "Interstitial" type and set the ad unit ID. Then, go to the "Mediation" tab and add a new network, choosing "Android SDK" and selecting the "HD MX Player - 4K Video Player" ad unit.
AndroidManifest.xml File
Add the following lines of code inside the "application" tag in the AndroidManifest.xml file:
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub- YOUR_ADmob_ID/app-GAME_ID "/>
Replace "YOUR_ADmob_ID" with your Admob app ID and "GAME_ID" with your app's unique ID.
Initialization in Your Activity
Add the following code in the onCreate
method of your main activity:
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);
// Initialize Admob
MobileAds.initialize(this, "YOUR_ADmob_ID");
// Create and display the ad
adView = new AdView(this);
adView.setAdSize(AdSize.SMART_BANNER);
adView.setAdUnitId("YOUR_ADmob_UNIT_ID");
((LinearLayout) findViewById(R.id.adContainer)).addView(adView);
adView.loadAd(new AdRequest.Builder().build());
}
}
Replace "YOUR_ADmob_ID" with your Admob app ID and "YOUR_ADmob_UNIT_ID" with the ID of your Admob ad unit.
Showing the Ad
Add the following code where you want to show the ad:
// Show the ad
adView.show();
Replace the code "adView.show();" with your preferred code to show the ad at a specific time or when a specific condition is met.
Here are the features of the HD MX Player Android app with Admob integration:
Main Features:
- Automatic Video Detection: Automatically detects all videos on your phone or tablet.
- Multi-Format Support: Plays all video formats, including HD videos.
- Small Size: Small size player that works quickly.
- Volume and Brightness Controls: Increase or decrease controls for volume and brightness.
- Auto-Rotation: Auto-rotation functionality available.
- Screen Gesture Detecting: Screen gesture detecting feature in brightness and volume control.
- Ultra HD Video Player: Supports 4K video playback.
- Hardware Acceleration: Enables hardware acceleration for smoother video playback.
- Pop-up Window, Split Screen, and Background Play: Play video in pop-up window, split screen, or background.
- Auto-Identification of Video Files: Identifies all video files on your device and SD Card automatically.
- Easy Video Management: Manage or share videos easily.
Additional Features:
- Equalizer, Bass Booster, and Stereo Surround Sound: Enhance your audio experience with equalizer, bass booster, and stereo surround sound.
- Lock Screen: Lock the screen while playing videos.
- All Format Support: Supports AVI, 3GP, MKV, TS, MPG, M4V, MOV, MP4, WMV, RMVB, FLV, and MP3 formats.
Admob Integration:
- Admob Advertise: Admob integration for revenue through online advertising.
- Replace Admob IDs: Replace Admob Banner, Rewards, and Interstitial IDs.
Requirements:
- Android Studio: Required to build and run the app.
- Admob Account: Required to integrate Admob into the app.
- Playstore Account: Required to publish the app on the Play Store.
Instructions:
- Build the App: Use Android Studio to build the app.
- Replace Admob IDs: Replace Admob Banner, Rewards, and Interstitial IDs.
- Reskin the App: Easy to reskin the app by changing colors.
- Generate Signed APK: Generate a signed APK and publish it on the Play Store.
Demo APK:
The demo APK is available at https://bit.ly/32yzBnb.
$29.00
There are no reviews yet.