Android Open Source - Android-MarketBin Market Descriptor






From Project

Back to project page Android-MarketBin.

License

The source code is released under:

MIT License

If you think the Android project Android-MarketBin listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.haunted.marketbin;
//from  ww w.  j a v a  2  s  . c o  m
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class MarketDescriptor implements IMarketDescriptor {
    private final String marketName;
    private final String intentFormat;
    private final String packageName;

    public MarketDescriptor(@NotNull String marketName,
                            @Nullable String intentFormat,
                            @Nullable String packageName) {
        this.marketName = marketName;
        this.intentFormat = intentFormat;
        this.packageName = packageName;
    }

    @Override
    public String getMarketName() {
        return marketName;
    }

    @Override
    public String getPackageName() {
        return packageName;
    }

    @Override
    public String getIntentFormat() {
        return intentFormat;
    }

    @Override
    public String toString() {
        return marketName + " - " + packageName;
    }
}




Java Source Code List

com.haunted.marketbin.IMarketDescriptor.java
com.haunted.marketbin.MarketBin.java
com.haunted.marketbin.MarketDescriptor.java
com.haunted.marketbin.MarketLocator.java
com.haunted.marketbin.MarketUI.java
com.haunted.marketbin.sample.FragmentCredits.java
com.haunted.marketbin.sample.FragmentMultiple.java
com.haunted.marketbin.sample.FragmentSingle.java
com.haunted.marketbin.sample.MainActivity.java
com.haunted.marketbin.sample.PackageDialogFragment.java