Android Studio is the recommended integrated development environment (IDE) because it offers some of the fastest tools available for building apps, including the IntelliJ code editor and a flexible Gradle-based build system.
Import android.os.Build;
// In-App payment supported on Android M or above for Stripe merchants
// Check Android version of the device
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
// Hide Samsung Pay button
}
| Folder | Contents |
|---|---|
| Docs | Javadoc – API reference documentation |
| Libs | samsungpay.jar – SDK Java Archive file; contains the Samsung Pay APIs that will be used the partner app |
| Samples | Sample apps |
dependencies {
compile files('libs/samsungpay.jar')
}
import com.samsung.android.sdk.samsungpay.v2;