All Projects → p32929 → HouseAds2

p32929 / HouseAds2

Licence: MIT license
A library ( V2 ) for cross promoting own apps within own apps - for Android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to HouseAds2

locus-android
An Awesome Kotlin Location library to retrieve location merely in 3 lines of code
Stars: ✭ 280 (+1117.39%)
Mutual labels:  android-development, android-studio
awesome-android-tips
😎 A curated list of awesome Android tips
Stars: ✭ 34 (+47.83%)
Mutual labels:  android-development, android-studio
GitReposCompose
GitReposCompose is an Android application 📱 for showcasing Jetpack Compose for building declarative UI in Android. This demo app uses Github public API for fetching public repositories.
Stars: ✭ 32 (+39.13%)
Mutual labels:  android-development, android-studio
HouseAds
A simple Android library to cross promote your apps, websites!
Stars: ✭ 39 (+69.57%)
Mutual labels:  cross-promotion, custom-ads
android-clean-code
Writing Clean Code in Android
Stars: ✭ 22 (-4.35%)
Mutual labels:  android-development, android-studio
MyNotes
📒Note taking app, MVVM with Google Architectural components Room, LiveData and ViewModel written in Kotlin, androidx libraries
Stars: ✭ 60 (+160.87%)
Mutual labels:  android-development, android-studio
AndroidTips
A collections of tips in Android developing.Android开发总结。我的博客:
Stars: ✭ 721 (+3034.78%)
Mutual labels:  android-development, android-studio
Androidstandarddevelop
🌟 Best practices in Android develop(final).
Stars: ✭ 2,798 (+12065.22%)
Mutual labels:  android-development, android-studio
Android-MonetizeApp
A sample which uses Google's Play Billing Library and it makes In-app Purchases and Subscriptions.
Stars: ✭ 149 (+547.83%)
Mutual labels:  android-development, android-studio
Biometric-Authentication-Android
A sample implementation of AndroidX biometrics API using Kotlin. Authenticate using biometrics or PIN/Password if biometrics isn't available on device. Fully implemented in Jetpack compose using Material 3 dynamic theming and also has a separate implementation in xml with MDC 3.
Stars: ✭ 29 (+26.09%)
Mutual labels:  android-development, android-studio
ValidUtil
No description or website provided.
Stars: ✭ 23 (+0%)
Mutual labels:  android-development, android-studio
media-picker
Easy customizable picker for all your needs in Android application
Stars: ✭ 167 (+626.09%)
Mutual labels:  android-development, android-studio
VideoPreLoading
Demo for video PreLoading/ PreCaching using ExoPlayer 2.13.3 in Android.
Stars: ✭ 61 (+165.22%)
Mutual labels:  android-development, android-studio
Chat-App-Android
Chat app based on the MVVM architecture using Kotlin, ViewModel, LiveData, DataBinding and more.
Stars: ✭ 70 (+204.35%)
Mutual labels:  android-development, android-studio
FusedBulb
Location fetch library.
Stars: ✭ 22 (-4.35%)
Mutual labels:  android-development, android-studio
Whatsapp Android App
This is sample code for layout for chatting app like Whatsapp.
Stars: ✭ 32 (+39.13%)
Mutual labels:  android-development, android-studio
K4kotlin
A sweet, small set of Kotlin functions to reduce your android boilerplate code
Stars: ✭ 210 (+813.04%)
Mutual labels:  android-development, android-studio
Modern Android Development
Modern Android Development tools & key points
Stars: ✭ 219 (+852.17%)
Mutual labels:  android-development, android-studio
campaign-manager
The Camapign Management UI for RTB4Free, the open source bidder / DSP.
Stars: ✭ 24 (+4.35%)
Mutual labels:  banner, advertising
partner-bot
Automates partnerships in the big community of discord.
Stars: ✭ 119 (+417.39%)
Mutual labels:  advertisement, advertising

HouseAds2

A library ( V2 ) for cross promoting own apps within own apps - for Android

Share

Sharing with your friends is just one click away from here

facebook twitter tumblr pocket pinterest reddit linkedin whatsapp

Support

If you like my works and want to support me/my works, feel free to support or donate. My payment details can be found here: https://p32929.github.io/SendMoney2Me/

(V1 here: https://github.com/p32929/MyHouseAdsAndroid)

Screenshot:

Banner Ad

Interstitial ad:

Rating Dialog:

How to use:

Steps:

  • Initialize
  • Show ads

Installation

Add it in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Add the dependency

dependencies {
	        implementation 'com.github.p32929:HouseAds2:1.0.0.16'
	}

Code Example:

Initialization:

If you just want to show interstitial ads , initialize like this:

HouseAds houseAds = new HouseAds(this,
                "https://raw.githubusercontent.com/p32929/SomeHowTosAndTexts/master/HouseAdsJson/house_ads2.json"
        );

If you want to show both interstitial ads and banner ads, initialize like this:

HouseAds houseAds = new HouseAds(this,
                "https://raw.githubusercontent.com/p32929/SomeHowTosAndTexts/master/HouseAdsJson/house_ads2.json",
                linearLayout
        );

To show interstitial ad on back press:

houseAds.showInterAds();

The banner ad will be added on the json data load.

If you want to change the banner ads every n seconds:

houseAds.autoChangeBannerAds(seconds);

If you want to show a Rating Dialog before sending the user to the Google Play Store, you need to set a feedback email using setFeedbackEmail method like this:

houseAds.setFeedbackEmail("[email protected]");

The JSON data should be like this:

[
	{
		"appIcon": "https://lh3.googleusercontent.com/vvp6Ev33xPerWBBOtIRyAHl7k5c4wQ72hGwG3EU4JC-BTjfvb5DSJDeMABaRg0fy_KI",
		"appName": "Sleepy - Phone Addiction Controller",
		"appDescription": "The smartest app to reduce phone addiction",
		"url": "https://play.google.com/store/apps/details?id=p32929.lazyphone"
	},
	{
		"appIcon": "https://lh3.googleusercontent.com/EPW9ERgwRYA47SsgLCiA0vF7irRoPIhS0tA3JdIrgQ5-xmaqVBJKt69-jLW1JAtgD6w",
		"appName": "Best CGPA Calculator",
		"appDescription": "Best CGPA Calculator app for Android",
		"url": "https://play.google.com/store/apps/details?id=p32929.cgpa_calculator2"
	},
	{
		"appIcon": "https://lh3.googleusercontent.com/xtHAhxY3kp0O2hDSgLIQlXvreSQsHV-6ApulPeLJ-j4QrjyXD_OQfYdk88hbFYad8q0",
		"appName": "Buy Sell BD",
		"appDescription": "Buy-Sell everything easily in Bangladesh",
		"url": "https://play.google.com/store/apps/details?id=p32929.buysellbd"
	},
	{
		"appIcon": "https://lh3.googleusercontent.com/ILrto9KguXlr-clbhYKUonpnHszgNp_N5Qvc8_u9QaM71oaqNKcYql2sV3sqZ7nqzsc",
		"appName": "Desplash",
		"appDescription": "Beautiful automatic wallpapers from Unsplash",
		"url": "https://play.google.com/store/apps/details?id=p32929.desplash"
	},
	{
		"appIcon": "https://lh3.googleusercontent.com/ni-lk3b2nTMZyC7r1wYBW6cm9eYqGAN-t6fXV-kD0lSyw1lO3kenC1We71fZjSryvFII",
		"appName": "The Great Postman",
		"appDescription": "Best REST API Client for Android",
		"url": "https://play.google.com/store/apps/details?id=p32929.greatpostman"
	},
	{
		"appIcon": "https://lh3.googleusercontent.com/X8mRJd7JajvDXoW7NaluKt2IvC3osH6czkTPoWeSYJ96U2LWLKT4xiFgvNouwf-UvEk",
		"appName": "ExIn",
		"appDescription": "A very simple Income-Expense tracker",
		"url": "https://play.google.com/store/apps/details?id=p32929.exin"
	}
]

Check the app example in the project. Hope, you will enjoy using the library :)

License

MIT License

Copyright (c) 2019 Fayaz Bin Salam

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].