public abstract class AppStore
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected android.content.Intent |
intent |
protected static java.lang.String |
PACKAGE_NAME_AMAZON |
protected static java.lang.String |
PACKAGE_NAME_NSTORE |
protected static java.lang.String |
PACKAGE_NAME_PLAY_NEW |
protected static java.lang.String |
PACKAGE_NAME_PLAY_OLD |
protected static java.lang.String |
PACKAGE_NAME_TSTORE |
| Constructor and Description |
|---|
AppStore() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isAppInstalled(android.content.Context ctx,
java.lang.String packageName) |
abstract boolean |
isInstalled(android.content.Context ctx)
Check store app is installed.
|
abstract void |
openApp(android.content.Context ctx,
java.lang.String uniqueId)
Open app with store app.
|
abstract void |
searchApp(android.content.Context ctx,
java.lang.String keyword)
Search app with store app.
|
protected static final java.lang.String PACKAGE_NAME_PLAY_OLD
protected static final java.lang.String PACKAGE_NAME_PLAY_NEW
protected static final java.lang.String PACKAGE_NAME_AMAZON
protected static final java.lang.String PACKAGE_NAME_TSTORE
protected static final java.lang.String PACKAGE_NAME_NSTORE
protected android.content.Intent intent
protected boolean isAppInstalled(android.content.Context ctx,
java.lang.String packageName)
public abstract boolean isInstalled(android.content.Context ctx)
ctx - public abstract void openApp(android.content.Context ctx,
java.lang.String uniqueId)
ctx - uniqueId - public abstract void searchApp(android.content.Context ctx,
java.lang.String keyword)
ctx - keyword -