GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mcsong/AppStoreLibrary: Android AppStore library for Play, Amazon, and OneStore(one of the korean appstore) app store

BranchesTags
Open more actions menu

Latest commit

 

History

45 Commits
45 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
Demo
Demo
 
 
Library
Library
 
 
gradle/wrapper
gradle/wrapper
 
 
.gitignore
.gitignore
 
 
AppStoreLibrary.iml
AppStoreLibrary.iml
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

AppStore Library

Release Android Arsenal

Buy Me a Coffee at ko-fi.com

Overview

This library makes easy to use the AppStore app's features.

Features

  • Detect a store app is installed or not.
  • Open app via store app.
  • Search apps with publisher via store app.
  • Search apps within store app.

Supported AppStore apps

  • Play Store
  • Amazon AppStore
  • OneStore

Gradle & Maven

Gradle

    dependencies {
    	implementation 'net.sjava:appstore:1.1.0'
    }

Maven

    <dependency>
     <groupId>net.sjava</groupId>
     <artifactId>appstore</artifactId>
     <version>1.1.0</version>
    </dependency>

Usage

	private void initPlayAppStore() {
		Button btn01 = findViewById(R.id.play_button_01);
		Button btn02 = findViewById(R.id.play_button_02);
		Button btn03 = findViewById(R.id.play_button_03);
		Button btn04 = findViewById(R.id.play_button_04);

		btn01.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View v) {
				appStore = PlayAppStore.newInstance();
				Toast.makeText(ctx, "isInstalled : " + appStore.isInstalled(ctx), Toast.LENGTH_SHORT).show();
			}
		});

		btn02.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View v) {
				appStore = PlayAppStore.newInstance();
				appStore.openApp(ctx, "com.google.android.gm");
			}
		});

		btn03.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View v) {
				publisherAppOpener = PlayAppStore.newInstance();
				publisherAppOpener.openPublisherApps(ctx, "Google Inc.");
			}
		});

		btn04.setOnClickListener(new View.OnClickListener() {
			@Override
			public void onClick(View v) {
				appStore = PlayAppStore.newInstance();
				appStore.searchApp(ctx, "gmail");
			}
		});
	}

License

Copyright 2020 MooChan(Justin) Song

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Follow me

Twitter Follow

About

Android AppStore library for Play, Amazon, and OneStore(one of the korean appstore) app store

github.com/mcsong/AppStoreLibrary

Topics

androidandroid-libraryappstoreappstore-librarygradlejava

Resources

Readme
Activity

Stars

89 stars

Watchers

6 watching

Forks

15 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.