Code Monkey home page Code Monkey logo

applixirads2023's Introduction

Applixir Ads Integration:

applixir android studio example:

This is an Example on how to add Applixir android Ads in your android app 2023 The project contains java and kotin Examples on how to implement Rewarded Video Ads on native Android Apps - AppLixir:

Technical content writing about How to Integrate AppLixir Ads to your Android App:

-I helped Writing AppLixir Android Documentations about, How do you use AppLixir sdk to add Video Ads in to your android App or Game.

-Started by testing the previous documentation and edit the code Examples for implementing ads to any Android App, and How to make it less steps, clearer and faster to any android Developer to add ads.

-The Most Important steps I did inn this code enhancements were: 1-show the ads faster by creating a specific class for the webview ( contain ad site) and preparing it, before call it to show ads to the user , with that the ads will be shown faster than the normal webview. Also by adding the call back interface to this class and that's a step I did to help me to create a connection between the webview and any activity we will use to show ads.

2-create a way of communication between the each android activity and the webview (that AppLixir use to show ads in the app) and how to get user impression for the ad (watch or close the ad in this example) and then move the user to the next activity depend on that impression.

-After Enhancing the previous Sdk Code, which was written in Java only, I also added the same Code Examples in Kotlin, so any Kotlin Android Developer can also add AppLixir Ads to his App or Game.

-The Last Step, was adding explanations to every step to make it clear for any android Dev to Get Started with AppLixir Video Ads .

-Article on Applixir: (Android Sdk Documentations)

The Project and Documentation for it. are an UpWork Job to ask for a similar project

Contact me:

USAGE: How To add Applixir Ads To your android app: https://github.com/EsraaAkram/ApplixirAdsExample2023

1-adding dependency: You have 2 options:

FIRST OPTION (add Applixir SDK) : a-Add the dependency to your gradle: implementation 'com.github.esraaakram:ApplixirAdsExample2023:1.1.2' b- make sure that you added jitpack.io to gradle settings: maven { url 'https://jitpack.io' }

SECOND OPTION (add Applixir Files Manually) : create kotlin files WebViewApplixirKotlin and SimplerApplixirHelper copy and paste this classes to it: WebViewApplixirKotlin and SimplerApplixirHelper

2-In Manifest: a-add permissions to manifest: just before application tag

b- Allow HTTP and HTTPS to load in your webview : add usesCleartextTraffic in application tag: android:usesCleartextTraffic="true"

2-on the xml make sure to use RelativeLayout or ConstraintLayout As parent view for all in the layout and give it id will will use it to add the add

3-In your actvity:

-Loading the ads: Make sure too load ads early after findviewbyid that will make your ad appear faster

webViewApplixirKotlin = loadApplixirAd(webviewContainerRv, this, url) //webviewContainerRv is the parent layout in xml

-show ads:

showApplixirAd(webviewContainerRv, webViewApplixirKotlin);

the full source code in github: https://github.com/EsraaAkram/ApplixirAdsExample2023 and example of usage : https://github.com/EsraaAkram/EmptyTest

applixirads2023's People

Contributors

esraaakram avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.