GithubHelp home page GithubHelp logo

kookydroid-apps / crosspromote Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 3.61 MB

Cross promote and share your other Android applications with this library.

License: GNU General Public License v3.0

Java 100.00%
android android-library sharing cross promote first-project open-source

crosspromote's Introduction

Crosspromote

Cross promote your android apps by using this library. We use it in most of our applications to cross promote our other android apps.

Preview:

Requirements:

To use this library you need a list of app from a JSON web service. The schema should be as follows:

Api Endpoint

[{
    "description": "Collection of Best Pakistani Recipes in Urdu.",
    "downloadUrl": "https://play.google.com/store/apps/details?id=com.kookydroidapps.pakistanifoodrecipes.urdu",
    "iconUrl": "https://goodfood.recipes/public/app/pakistaniUrduAppLogo.png",
    "isFree": true,
    "name": "Pakistani Recipes in Urdu",
    "order": 0,
    "visibile": true
}, {
    "description": "Collection of Best Pakistani Recipes in English.",
    "downloadUrl": "https://play.google.com/store/apps/details?id=com.kookydroidapps.pakistanifoodrecipes.english",
    "iconUrl": "https://goodfood.recipes/public/app/pakistaniEnglishAppLogo.png",
    "isFree": true,
    "name": "Pakistani Recipes in English",
    "order": 1,
    "visibile": true
}]

Usage:

  1. Add the crosspromote library dependency:

    implementation 'com.github.kookydroid-apps:crosspromote:${latest_version}' \\v0.1.4.5-alpha

    Latest version from the release tab.

  2. Add the crosspromote Activity in the AndroidManifest.xml file.

    <activity android:name="com.kookydroidapps.crosspromote.CrossPromote"></activity>
  3. Start this intent from anywhere inside your Android application, passing the endpoint of your webservice for JSON apps list:

    Intent intent = new Intent(MainActivity.this, CrossPromote.class);
    intent.putExtra("url", "https://crosspromote.firebaseio.com/recipe.json");
    startActivity(intent);
    That's it!

Contributors:

If you want to contribute, please open a issue and/or create a Pull Request.

Used by:

If you want your app listed here, drop me a message on Twitter.

Icon App link
Pakistani Recipes in Urdu اردو

crosspromote's People

Contributors

arshad115 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

kartikhimself

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.