{"id":19404140,"url":"https://github.com/p32929/myhouseadsandroid","last_synced_at":"2026-05-15T13:35:54.496Z","repository":{"id":50234586,"uuid":"192062874","full_name":"p32929/MyHouseAdsAndroid","owner":"p32929","description":"A library for cross promoting own apps within own apps - for Android","archived":false,"fork":false,"pushed_at":"2021-06-01T05:27:09.000Z","size":269,"stargazers_count":16,"open_issues_count":1,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-25T00:36:35.630Z","etag":null,"topics":["advertisement","advertisements","advertiser-self-service","advertising","android","android-development","android-library","android-studio","cross-promote","cross-promote-apps-websites","cross-promotion","custom-ads","promotion"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/p32929.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-15T09:53:16.000Z","updated_at":"2023-12-16T21:41:11.000Z","dependencies_parsed_at":"2022-08-31T16:01:46.745Z","dependency_job_id":null,"html_url":"https://github.com/p32929/MyHouseAdsAndroid","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/p32929/MyHouseAdsAndroid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p32929%2FMyHouseAdsAndroid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p32929%2FMyHouseAdsAndroid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p32929%2FMyHouseAdsAndroid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p32929%2FMyHouseAdsAndroid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p32929","download_url":"https://codeload.github.com/p32929/MyHouseAdsAndroid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p32929%2FMyHouseAdsAndroid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260963124,"owners_count":23089549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advertisement","advertisements","advertiser-self-service","advertising","android","android-development","android-library","android-studio","cross-promote","cross-promote-apps-websites","cross-promotion","custom-ads","promotion"],"created_at":"2024-11-10T11:33:18.021Z","updated_at":"2026-05-15T13:35:49.455Z","avatar_url":"https://github.com/p32929.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## MyHouseAdsAndroid\nA library for cross promoting own apps within own apps - for Android\n\nA newer and better version of this library can be found here: https://github.com/p32929/HouseAds2\n\n[![](https://badgen.net/github/release/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/release/p32929/MyHouseAdsAndroid/stable)]() [![](https://badgen.net/github/tag/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/watchers/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/checks/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/status/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/stars/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/forks/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/issues/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/open-issues/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/closed-issues/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/label-issues/p32929/MyHouseAdsAndroid/help-wanted/open)]() [![](https://badgen.net/github/prs/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/open-prs/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/closed-prs/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/merged-prs/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/commits/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/last-commit/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/branches/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/releases/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/tags/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/license/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/contributors/p32929/MyHouseAdsAndroid)]() [![](https://badgen.net/github/dependents-pkg/p32929/MyHouseAdsAndroid)]() \n\n## Share\nSharing with your friends is just one click away from here\n\n[![facebook](https://image.flaticon.com/icons/png/32/124/124010.png)](https://www.facebook.com/sharer/sharer.php?u=https://github.com/p32929/MyHouseAdsAndroid)\n[![twitter](https://image.flaticon.com/icons/png/32/124/124021.png)](https://twitter.com/intent/tweet?source=https://github.com/p32929/MyHouseAdsAndroid)\n[![tumblr](https://image.flaticon.com/icons/png/32/124/124012.png)](https://www.tumblr.com/share?v=3\u0026u=https://github.com/p32929/MyHouseAdsAndroid)\n[![pocket](https://image.flaticon.com/icons/png/32/732/732238.png)](https://getpocket.com/save?url=https://github.com/p32929/MyHouseAdsAndroid)\n[![pinterest](https://image.flaticon.com/icons/png/32/124/124039.png)](https://pinterest.com/pin/create/button/?url=https://github.com/p32929/MyHouseAdsAndroid)\n[![reddit](https://image.flaticon.com/icons/png/32/2111/2111589.png)](https://www.reddit.com/submit?url=https://github.com/p32929/MyHouseAdsAndroid)\n[![linkedin](https://image.flaticon.com/icons/png/32/1409/1409945.png)](https://www.linkedin.com/shareArticle?mini=true\u0026url=https://github.com/p32929/MyHouseAdsAndroid)\n[![whatsapp](https://image.flaticon.com/icons/png/32/733/733585.png)](https://api.whatsapp.com/send?text=https://github.com/p32929/MyHouseAdsAndroid)\n\n## Support\nIf 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/\n\n## Screenshots:\n### Banner Ad:\n\n![Screenshot_2019-06-15-19-47-55](https://user-images.githubusercontent.com/6418354/59552318-2daaf600-8fa7-11e9-84eb-1c322fb51344.png)\n\n### Interstitial ad on any button press:\n\n![Screenshot_2019-06-17-10-09-33](https://user-images.githubusercontent.com/6418354/59578030-16275680-90e8-11e9-8e05-7f4b0c75e6df.png)\n\n### Interstitial ad on back press:\n\n![Screenshot_2019-06-17-10-07-54](https://user-images.githubusercontent.com/6418354/59577985-e24c3100-90e7-11e9-828f-1dc0a1a7e389.png)\n\n## Installation\nAdd it in your root build.gradle at the end of repositories:\n```\nallprojects {\n  repositories {\n    maven { url 'https://jitpack.io' }\n  }\n}\n```\n\nAdd the dependency\n```\ndependencies {\n     implementation 'com.github.p32929:MyHouseAdsAndroid:1.0.2'\n}\n```\n\n## How to use\n### Code Example:\n\nAdding ads data:\n```\nMyAdsAdder myAdsAdder = new MyAdsAdder(\n                this, linearLayout,\n                \"https://raw.githubusercontent.com/p32929/SomeHowTosAndTexts/master/HouseAdsJson/house_ads.json\"\n);\n```\n\nor\n```\nMyAdsAdder myAdsAdder = new MyAdsAdder(\n                this, linearLayout,\n                new MyAd(R.drawable.cgpa, \"CGPA Calculator\", \"https://play.google.com/store/apps/details?id=p32929.cgpa_calculator2\"),\n                new MyAd(R.drawable.desplash, \"Desplash - Automatic Unsplash Wallpapers\", \"https://play.google.com/store/apps/details?id=p32929.desplash\"),\n                new MyAd(R.drawable.postman, \"The Great REST API Client\", \"https://play.google.com/store/apps/details?id=p32929.greatpostman\"),\n                new MyAd(R.drawable.sleepy, \"Sleepy - Phone Addiction Conroller\", \"https://play.google.com/store/apps/details?id=p32929.lazyphone\"),\n                new MyAd(R.drawable.gpd, \"Google Play APK Downloader\", \"https://github.com/p32929/EasyGooglePlayDownloader/releases/download/1.0.0.8/EasyGooglePlayDownloader-1.0.0.8.apk\")\n);\n```\n\nTo show interstitial ads anywhere:\n\n```\nmyAdsAdder.showInterAd(this, false);\n```\n\nTo show interstitial ads on back press:\n\n```\n@Override\npublic void onBackPressed() {\n    if (!myAdsAdder.showInterAd(this, true)) {\n        super.onBackPressed();\n    }\n}\n```\n\n## License\n```\nMIT License\n\nCopyright (c) 2019 Fayaz Bin Salam\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp32929%2Fmyhouseadsandroid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp32929%2Fmyhouseadsandroid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp32929%2Fmyhouseadsandroid/lists"}