├── .gitignore
├── README.md
├── barcodereceiver
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── barcodereceiver
│ │ │ └── app
│ │ │ ├── BarcodeIdUtil.java
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ ├── ic_btn_scan.png
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ ├── ic_btn_scan.png
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ ├── ic_btn_scan.png
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ └── activity_main.xml
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── basicwallet
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── basicwallet
│ │ │ └── app
│ │ │ ├── MainActivity.java
│ │ │ └── PayWithWalletActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ └── activity_pay_with_wallet.xml
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── cashdrawerexample
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── clover
│ │ │ └── cashdrawerexample
│ │ │ └── ApplicationTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── clover
│ │ │ │ └── cashdrawerexample
│ │ │ │ ├── CashDrawerAdapter.java
│ │ │ │ ├── MainActivity.java
│ │ │ │ └── TypedAdapter.java
│ │ └── res
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ └── item_cash_drawer.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── clover
│ │ └── cashdrawerexample
│ │ └── ExampleUnitTest.java
├── build.gradle
├── gradle.properties
└── settings.gradle
├── checkappsubscriptionexample
├── .gitignore
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── checkappsubscriptionexample
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ └── item_text_view.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ └── strings.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── clover-cfp-examples
├── build.gradle
├── clover-cfp-examples
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── cfp
│ │ │ └── examples
│ │ │ ├── AndroidBug5497Workaround.java
│ │ │ ├── BasicExampleActivity.java
│ │ │ ├── BasicExampleConversationalActivity.java
│ │ │ ├── CarouselActivity.java
│ │ │ ├── CarouselFragment.java
│ │ │ ├── CustomerInfoFragment.java
│ │ │ ├── CustomerLoginFragment.java
│ │ │ ├── MainRatingsActivity.java
│ │ │ ├── NFCExampleActivity.java
│ │ │ ├── RatingFragment.java
│ │ │ ├── RatingsFragment.java
│ │ │ ├── WaitingFragment.java
│ │ │ ├── WebViewActivity.java
│ │ │ └── objects
│ │ │ ├── ConversationQuestionMessage.java
│ │ │ ├── ConversationResponseMessage.java
│ │ │ ├── CustomerInfo.java
│ │ │ ├── CustomerInfoMessage.java
│ │ │ ├── MessageType.java
│ │ │ ├── PayloadMessage.java
│ │ │ ├── PhoneNumberMessage.java
│ │ │ ├── Rating.java
│ │ │ ├── RatingsMessage.java
│ │ │ └── RequestRatingsMessage.java
│ │ └── res
│ │ ├── drawable
│ │ ├── background_image.png
│ │ ├── bottom_border.xml
│ │ ├── busy_logo_base.png
│ │ ├── busy_logo_center.png
│ │ ├── button_border.xml
│ │ ├── button_green.xml
│ │ ├── clover.png
│ │ ├── flex.png
│ │ ├── ic_launcher.png
│ │ ├── ic_star_off.xml
│ │ ├── ic_star_on.xml
│ │ ├── keyboard_button_bg.xml
│ │ ├── keypad_view_del_button_gray.png
│ │ ├── loading_48x48.gif
│ │ ├── mini.png
│ │ ├── mini_phone_pay.jpg
│ │ ├── mini_yoga.jpg
│ │ ├── nfc_sign_48.png
│ │ ├── reg.jpeg
│ │ ├── register.jpg
│ │ ├── rounded_corner_blue.xml
│ │ ├── rounded_corner_green.xml
│ │ ├── star.png
│ │ ├── station_counter.jpg
│ │ ├── station_sublime_donut.jpg
│ │ ├── sushi_landscape.jpg
│ │ ├── sushi_portrait.jpg
│ │ └── sushi_roll.png
│ │ ├── layout
│ │ ├── activity_basic_example.xml
│ │ ├── activity_basic_example_portrait.xml
│ │ ├── activity_carousel.xml
│ │ ├── activity_conversational_example.xml
│ │ ├── activity_conversational_example_portrait.xml
│ │ ├── activity_main_ratings.xml
│ │ ├── activity_nfc.xml
│ │ ├── activity_web_view.xml
│ │ ├── fragment_blank.xml
│ │ ├── fragment_carousel.xml
│ │ ├── fragment_customer_landscape.xml
│ │ ├── fragment_customer_login.xml
│ │ ├── fragment_customer_portrait.xml
│ │ ├── fragment_login_landscape.xml
│ │ ├── fragment_login_portrait.xml
│ │ ├── fragment_rating.xml
│ │ ├── fragment_rating_question_landscape.xml
│ │ ├── fragment_rating_question_portrait.xml
│ │ ├── fragment_ratings.xml
│ │ ├── fragment_ratings_final_landscape.xml
│ │ └── fragment_ratings_final_portrait.xml
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── colors.xml
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── gradle.properties
├── settings.gradle
└── versions.gradle
├── cloverinventoryexample
├── .gitignore
├── README.md
├── build.gradle
└── src
│ ├── instrumentTest
│ └── java
│ │ └── com
│ │ └── clover
│ │ └── example
│ │ └── inventory
│ │ └── InventoryExampleActivityTest.java
│ └── main
│ ├── AndroidManifest.xml
│ ├── java
│ └── com
│ │ └── clover
│ │ └── example
│ │ └── inventory
│ │ └── InventoryExampleActivity.java
│ └── res
│ ├── drawable-hdpi
│ └── ic_launcher.png
│ ├── drawable-ldpi
│ └── ic_launcher.png
│ ├── drawable-mdpi
│ └── ic_launcher.png
│ ├── drawable-xhdpi
│ └── ic_launcher.png
│ ├── layout
│ └── main.xml
│ └── values
│ └── strings.xml
├── customactivity
├── .gitignore
├── CustomActivityExample
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── clover
│ │ │ └── customactivity
│ │ │ ├── MainActivity.java
│ │ │ ├── PayloadMessage.java
│ │ │ └── PayloadMessageAdapter.java
│ │ └── res
│ │ ├── drawable-v24
│ │ ├── bottom_border.xml
│ │ ├── button_border.xml
│ │ ├── ic_launcher_foreground.xml
│ │ ├── mini.png
│ │ └── reg.jpeg
│ │ ├── drawable
│ │ ├── button_green.xml
│ │ ├── ic_launcher_background.xml
│ │ ├── rounded_gray.xml
│ │ └── rounded_light_gray.xml
│ │ ├── layout-port
│ │ └── activity_main.xml
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ └── payload_message_row.xml
│ │ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ │ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-mdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ └── values
│ │ ├── colors.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── CustomActivityTester
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── clover
│ │ │ └── customactivitytester
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── clover
│ │ │ │ └── customactivitytester
│ │ │ │ ├── CustomActivityTester.java
│ │ │ │ ├── MainActivity.java
│ │ │ │ ├── PayloadMessage.java
│ │ │ │ └── PayloadMessageAdapter.java
│ │ ├── res
│ │ │ ├── drawable-v24
│ │ │ │ └── ic_launcher_foreground.xml
│ │ │ ├── drawable
│ │ │ │ ├── button_border_padding.xml
│ │ │ │ ├── clover_horizontal.jpg
│ │ │ │ ├── ic_launcher_background.xml
│ │ │ │ ├── rounded_gray.xml
│ │ │ │ └── rounded_light_gray.xml
│ │ │ ├── layout
│ │ │ │ ├── activity_custom_activity_tester.xml
│ │ │ │ ├── activity_main.xml
│ │ │ │ └── payload_message_row.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ │ ├── ic_launcher.xml
│ │ │ │ └── ic_launcher_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ └── resources
│ │ │ └── certs
│ │ │ └── clover_cacerts.p12
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── example
│ │ └── clover
│ │ └── customactivitytester
│ │ └── ExampleUnitTest.java
├── build.gradle
├── gradle.properties
└── settings.gradle
├── customerfacinguiexample
├── .gitignore
├── CustomerFacingUIExample
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── customerfacinguiexample
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ └── activity_main_customer.xml
│ │ └── values
│ │ ├── integers.xml
│ │ └── strings.xml
├── README.md
├── build.gradle
├── gradle.properties
└── settings.gradle
├── display-service-test
├── .gitignore
├── README.md
├── build.gradle
├── displayservicetest
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── displayconnectorexample
│ │ │ └── app
│ │ │ └── DisplayConnectorTestActivity.java
│ │ └── res
│ │ ├── layout
│ │ └── activity_display_connector_test.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── raw
│ │ ├── displayorder1.json
│ │ └── displayorder2.json
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── gradle.properties
└── settings.gradle
├── employeemanagement
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── employeemanagement
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ └── activity_main.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── extensibletenderexample
├── .gitignore
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── extensibletenderexample
│ │ │ ├── CustomerFacingTenderActivity.java
│ │ │ ├── MerchantFacingTenderActivity.java
│ │ │ ├── TenderActivity.java
│ │ │ ├── TestTenderInitActivity.java
│ │ │ └── Utils.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_tender.xml
│ │ └── activity_test_tender_init.xml
│ │ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ ├── thirdparty_gray_example.png
│ │ └── thirdparty_white_example.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxxhdpi
│ │ └── ic_launcher.png
│ │ └── values
│ │ └── strings.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── getcurrentemployee
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── getcurrentemployee
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ └── activity_main.xml
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ └── strings.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── getownerinformation
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── getownerinformation
│ │ │ └── app
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ └── activity_main.xml
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ └── strings.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── gettoken
├── .gitignore
├── README.md
├── build.gradle
├── gettoken
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── gettoken
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ └── activity_main.xml
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── gradle.properties
└── settings.gradle
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── merchantexample
├── README.md
├── build.gradle
└── src
│ └── main
│ ├── AndroidManifest.xml
│ ├── java
│ └── com
│ │ └── clover
│ │ └── example
│ │ └── merchantexample
│ │ └── MainActivity.java
│ └── res
│ ├── drawable-hdpi
│ └── ic_launcher.png
│ ├── drawable-mdpi
│ └── ic_launcher.png
│ ├── drawable-xhdpi
│ └── ic_launcher.png
│ ├── drawable-xxhdpi
│ └── ic_launcher.png
│ ├── layout
│ └── activity_main.xml
│ └── values
│ └── strings.xml
├── modifyamountbutton
├── .gitignore
├── README.md
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── modifyamount
│ │ │ └── app
│ │ │ ├── AddDiscountActivity.java
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ ├── activity_add_discount.xml
│ │ └── activity_main.xml
│ │ ├── menu
│ │ ├── add_discount.xml
│ │ └── main.xml
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── modifyorderbutton
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── modifyorder
│ │ │ └── app
│ │ │ ├── AddDiscountActivity.java
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ ├── activity_add_discount.xml
│ │ └── activity_main.xml
│ │ ├── menu
│ │ ├── add_discount.xml
│ │ └── main.xml
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── native-android-example-pos
└── README.md
├── oauthexample
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── oauthexample
│ │ │ └── app
│ │ │ ├── Config.java
│ │ │ ├── MainActivity.java
│ │ │ └── WebViewActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ └── activity_webview.xml
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── paywithregisterexample
├── .gitignore
├── PayWithRegisterExample
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── paywithregisterexample
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ └── activity_main.xml
│ │ └── values
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── pushnotificationexample
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── pushnotificationexample
│ │ │ ├── MainActivity.java
│ │ │ └── NotificationReceiver.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ └── activity_main.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── readcurrentorderexample
├── .gitignore
├── README.md
├── ReadCurrentOrderExample
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── readcurrentorderexample
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ └── activity_main.xml
│ │ └── values
│ │ └── strings.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── receipteditexample
├── .gitignore
├── ReceiptEditExample
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── receipteditexample
│ │ │ ├── MainActivity.java
│ │ │ └── ReceiptRegistrationProvider.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ └── activity_main.xml
│ │ └── values
│ │ └── strings.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── receipteditexample2
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── receipteditexample2
│ │ │ ├── MainActivity.java
│ │ │ └── ReceiptRegistrationProvider.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ └── activity_main.xml
│ │ └── values
│ │ └── strings.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── rotatetomerchantfragment
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── rotatetomerchantfragment
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── rotatetomerchantfragment
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ └── activity_main.xml
│ │ ├── menu
│ │ └── main.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── selectitemsexample
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── selectitemsexample
│ │ │ └── app
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ └── activity_main.xml
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
├── terminalplanpaymentexample
├── .gitignore
├── TerminalPlanPaymentExample
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.txt
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── clover
│ │ │ └── example
│ │ │ └── terminalplanpaymentexample
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-hdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-mdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ │ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── layout
│ │ └── activity_main.xml
│ │ └── values
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
└── thirdpartypendingpaymentsexample
├── ThirdPartyPendingPaymentsExample
├── build.gradle
├── proguard-rules.pro
└── src
│ └── main
│ ├── AndroidManifest.xml
│ ├── java
│ └── com
│ │ └── thirdparty
│ │ └── android
│ │ └── example
│ │ └── MainActivity.java
│ └── res
│ ├── drawable-hdpi
│ └── ic_launcher.png
│ ├── drawable-mdpi
│ └── ic_launcher.png
│ ├── drawable-xhdpi
│ └── ic_launcher.png
│ ├── drawable-xxhdpi
│ └── ic_launcher.png
│ ├── layout
│ └── activity_pending_payments_example.xml
│ └── values
│ ├── dimens.xml
│ ├── strings.xml
│ └── styles.xml
├── build.gradle
├── gradle.properties
└── settings.gradle
/.gitignore:
--------------------------------------------------------------------------------
1 | # Built application files
2 | *.apk
3 | *.ap_
4 |
5 | # Files for the Dalvik VM
6 | *.dex
7 |
8 | # Java class files
9 | *.class
10 |
11 | # Generated files
12 | bin/
13 | gen/
14 |
15 | # Gradle files
16 | .gradle/
17 | build/
18 |
19 | # Local configuration file (sdk path, etc)
20 | local.properties
21 |
22 | # Proguard folder generated by Eclipse
23 | proguard/
24 |
25 | # Intellij generated configuration
26 | .idea
27 | *.iml
28 |
29 | # Gradle Wrappers
30 | gradlew
31 | gradlew.bat
32 | */gradle
33 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Examples Instructions
2 | * Create a new directory for each example
3 | * Give it a short but useful name
4 | * Name should be lower case, inside the android project all directories should be lower case
5 | * For package names, please use "com.clover.example.yourexample"
6 | * In the readme:
7 | * at minimum write a one to two sentence summary of the objective of the tutorial.
8 | * list the connectors/services that you use.
9 |
--------------------------------------------------------------------------------
/barcodereceiver/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | .DS_Store
5 |
--------------------------------------------------------------------------------
/barcodereceiver/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/barcodereceiver/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | buildTypes {
8 | release {
9 | minifyEnabled false
10 | proguardFile getDefaultProguardFile('proguard-android.txt')
11 | }
12 | }
13 | }
14 |
15 | dependencies {
16 | compile 'com.clover.sdk:clover-android-sdk:86'
17 | }
18 |
--------------------------------------------------------------------------------
/barcodereceiver/app/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /home/michael/tools/android-sdk-linux/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/barcodereceiver/app/src/main/res/drawable-hdpi/ic_btn_scan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/barcodereceiver/app/src/main/res/drawable-hdpi/ic_btn_scan.png
--------------------------------------------------------------------------------
/barcodereceiver/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/barcodereceiver/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/barcodereceiver/app/src/main/res/drawable-mdpi/ic_btn_scan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/barcodereceiver/app/src/main/res/drawable-mdpi/ic_btn_scan.png
--------------------------------------------------------------------------------
/barcodereceiver/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/barcodereceiver/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/barcodereceiver/app/src/main/res/drawable-xhdpi/ic_btn_scan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/barcodereceiver/app/src/main/res/drawable-xhdpi/ic_btn_scan.png
--------------------------------------------------------------------------------
/barcodereceiver/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/barcodereceiver/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/barcodereceiver/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/barcodereceiver/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/barcodereceiver/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/barcodereceiver/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
7 |
--------------------------------------------------------------------------------
/barcodereceiver/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Barcode Receiver
5 | "Barcode scanned : %s"
6 | in the left corner of the navigation bar to start the scanner or use the Mobile scanner.
7 | Click
8 | Is Clover Receipt?
9 |
10 |
11 |
--------------------------------------------------------------------------------
/barcodereceiver/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/barcodereceiver/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/barcodereceiver/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/barcodereceiver/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/basicwallet/.gitignore:
--------------------------------------------------------------------------------
1 | #built application files
2 | *.apk
3 | *.ap_
4 |
5 | # files for the dex VM
6 | *.dex
7 |
8 | # Java class files
9 | *.class
10 |
11 | # generated files
12 | bin/
13 | gen/
14 |
15 | # Local configuration file (sdk path, etc)
16 | local.properties
17 |
18 | # Windows thumbnail db
19 | Thumbs.db
20 |
21 | # OSX files
22 | .DS_Store
23 |
24 | # Eclipse project files
25 | .classpath
26 | .project
27 |
28 | # Android Studio
29 | .idea
30 | #.idea/workspace.xml - remove # and delete .idea if it better suit your needs.
31 | .gradle
32 | build/
--------------------------------------------------------------------------------
/basicwallet/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/basicwallet/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | buildTypes {
8 | release {
9 | minifyEnabled false
10 | proguardFile getDefaultProguardFile('proguard-android.txt')
11 | }
12 | }
13 | }
14 |
15 | dependencies {
16 | compile 'com.clover.sdk:clover-android-sdk:86'
17 | }
18 |
--------------------------------------------------------------------------------
/basicwallet/app/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /home/michael/tools/android-sdk-linux/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/basicwallet/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/basicwallet/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/basicwallet/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/basicwallet/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/basicwallet/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/basicwallet/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/basicwallet/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/basicwallet/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/basicwallet/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/basicwallet/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
7 |
--------------------------------------------------------------------------------
/basicwallet/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Basic Wallet Example
5 | Pay with Basic Wallet
6 |
7 |
8 |
--------------------------------------------------------------------------------
/basicwallet/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/basicwallet/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/basicwallet/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/basicwallet/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/cashdrawerexample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 |
--------------------------------------------------------------------------------
/cashdrawerexample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/cashdrawerexample/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion '22.0.1'
6 |
7 | defaultConfig {
8 | minSdkVersion 17
9 | }
10 |
11 | buildTypes {
12 | release {
13 | minifyEnabled false
14 | proguardFile getDefaultProguardFile('proguard-android.txt')
15 | }
16 | }
17 | }
18 |
19 | dependencies {
20 | compile 'com.clover.sdk:clover-android-sdk:191.6'
21 | }
22 |
--------------------------------------------------------------------------------
/cashdrawerexample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /home/jeff/android-sdk-linux/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/cashdrawerexample/app/src/androidTest/java/com/clover/cashdrawerexample/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.clover.cashdrawerexample;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/cashdrawerexample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/cashdrawerexample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/cashdrawerexample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/cashdrawerexample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/cashdrawerexample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/cashdrawerexample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/cashdrawerexample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/cashdrawerexample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/cashdrawerexample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/cashdrawerexample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/cashdrawerexample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/cashdrawerexample/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 | 16dp
6 |
7 |
--------------------------------------------------------------------------------
/cashdrawerexample/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Cash Drawer Example
3 |
4 |
--------------------------------------------------------------------------------
/cashdrawerexample/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/cashdrawerexample/app/src/test/java/com/clover/cashdrawerexample/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.clover.cashdrawerexample;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * To work on unit tests, switch the Test Artifact in the Build Variants view.
9 | */
10 | public class ExampleUnitTest {
11 | @Test
12 | public void addition_isCorrect() throws Exception {
13 | assertEquals(4, 2 + 2);
14 | }
15 | }
--------------------------------------------------------------------------------
/cashdrawerexample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | google()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.1.2'
10 | }
11 | }
12 |
13 | allprojects {
14 | repositories {
15 | mavenCentral()
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/cashdrawerexample/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/cashdrawerexample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/checkappsubscriptionexample/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
15 |
--------------------------------------------------------------------------------
/checkappsubscriptionexample/README.md:
--------------------------------------------------------------------------------
1 | # Check App Subscription Example
2 |
3 | This is a simple example application that shows how you could check the current app's current and available subscriptions as well as metered information.
4 |
5 | To properly try this example, create your own version of this example (with your own package name). Then add the app on Clover Developer portal and upload the apk. Add subscriptions and/or metered information on the app and install it on your test merchant account. After a cloud sync happens (should be automatic or could be triggered by sync button on App Market), the example app should work properly pulling down the App information.
6 |
7 | # Connectors Used
8 |
9 | * AppsConnetor
10 |
--------------------------------------------------------------------------------
/checkappsubscriptionexample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/checkappsubscriptionexample/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | defaultConfig {
8 | minSdkVersion 16
9 | targetSdkVersion 17
10 | versionCode 1
11 | versionName "1.0"
12 | }
13 | buildTypes {
14 | release {
15 | minifyEnabled false
16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17 | }
18 | }
19 | }
20 |
21 | dependencies {
22 | compile fileTree(dir: 'libs', include: ['*.jar'])
23 | compile 'com.clover.sdk:clover-android-sdk:86'
24 | }
25 |
--------------------------------------------------------------------------------
/checkappsubscriptionexample/app/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/jiongshen/Documents/android-sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/checkappsubscriptionexample/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/checkappsubscriptionexample/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/checkappsubscriptionexample/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/checkappsubscriptionexample/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/checkappsubscriptionexample/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/checkappsubscriptionexample/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/checkappsubscriptionexample/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/checkappsubscriptionexample/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/checkappsubscriptionexample/app/src/main/res/layout/item_text_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/checkappsubscriptionexample/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
7 |
--------------------------------------------------------------------------------
/checkappsubscriptionexample/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | CheckAppSubscriptionExample
5 | There is no Clover account.
6 | App Name: %s
7 | Subscriptions:
8 | Metereds:
9 | %1$s : %2$s
10 | %1$s per %2$s
11 | None
12 | Launch App Store via package name
13 | Launch App Store via app id
14 | Launch App Store via app object
15 | Upgrade Subscription
16 |
17 |
--------------------------------------------------------------------------------
/checkappsubscriptionexample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/checkappsubscriptionexample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/clover-cfp-examples/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | buildscript {
3 | repositories {
4 | jcenter()
5 | google()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:4.0.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | google()
16 | jcenter()
17 | }
18 | }
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/java/com/clover/cfp/examples/objects/MessageType.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2018 Clover Network, Inc.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | *
7 | * You may obtain a copy of the License at
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.clover.cfp.examples.objects;
18 |
19 | public enum MessageType { PHONE_NUMBER, RATINGS, REQUEST_RATINGS, CUSTOMER_INFO, CONVERSATION_QUESTION, CONVERSATION_RESPONSE
20 | }
21 |
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/background_image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/background_image.png
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/bottom_border.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
6 |
7 |
8 |
9 |
10 |
11 | -
12 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/busy_logo_base.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/busy_logo_base.png
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/busy_logo_center.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/busy_logo_center.png
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/button_border.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/button_green.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/clover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/clover.png
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/flex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/flex.png
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/ic_launcher.png
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/ic_star_off.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/ic_star_on.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/keyboard_button_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
7 |
8 | -
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/keypad_view_del_button_gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/keypad_view_del_button_gray.png
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/loading_48x48.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/loading_48x48.gif
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/mini.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/mini.png
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/mini_phone_pay.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/mini_phone_pay.jpg
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/mini_yoga.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/mini_yoga.jpg
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/nfc_sign_48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/nfc_sign_48.png
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/reg.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/reg.jpeg
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/register.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/register.jpg
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/rounded_corner_blue.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/rounded_corner_green.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/star.png
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/station_counter.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/station_counter.jpg
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/station_sublime_donut.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/station_sublime_donut.jpg
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/sushi_landscape.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/sushi_landscape.jpg
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/sushi_portrait.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/sushi_portrait.jpg
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/sushi_roll.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/clover-cfp-examples/clover-cfp-examples/src/main/res/drawable/sushi_roll.png
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #547554
4 |
--------------------------------------------------------------------------------
/clover-cfp-examples/clover-cfp-examples/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 16sp
5 | 16sp
6 |
7 | 75sp
8 | 55sp
9 | 75sp
10 | 55sp
11 | 18sp
12 | 10sp
13 |
14 |
--------------------------------------------------------------------------------
/clover-cfp-examples/gradle.properties:
--------------------------------------------------------------------------------
1 | artifactory_user=""
2 | artifactory_password=""
3 | upload_release_url=""
4 | upload_snapshot_url=""
5 | upload_user=""
6 | upload_password=""
7 | android.useAndroidX=true
--------------------------------------------------------------------------------
/clover-cfp-examples/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':remote-protocol-lib',
2 | ':remote-terminal-kiosk',
3 | ':remote-protocol-merchantkeypad',
4 | ':remote-protocol-broadcast',
5 | ':remote-protocol-usb',
6 | ':remote-protocol-websocket',
7 | ':remote-test',
8 | ':clover-cfp-sdk',
9 | ':clover-cfp-examples',
10 | ':remote-protocol-zvt',
11 | ':payment-profile-common'
12 |
13 |
14 |
--------------------------------------------------------------------------------
/clover-cfp-examples/versions.gradle:
--------------------------------------------------------------------------------
1 | // Library version numbers that should be consistent across all modules.
2 | // NOTE: gradle sync after modifying this file!!!
3 | ext {
4 | GSON_VERSION = "2.3.1"
5 | GUAVA_VERSION = "20.0"
6 | ANDROID_SUPPORT_MULTIDEX_VERSION = "1.0.1"
7 | ANDROID_SUPPORT_V4_VERSION = "23.0.1"
8 | ANDROID_SUPPORT_ANNOTATIONS_VERSION = "23.0.1"
9 | ANDROID_QR_GEN_VERSION = "2.2.0"
10 | AUTO_FIX_TEXTVIEW_VERSION = "0.2.0"
11 | JAVA_WEB_SOCKET_VERSION = "1.3.0"
12 | NINE_OLD_ANDROIDS_VERSION = "2.4.0"
13 | LIST_VIEW_ANIMATIONS_CORE_VERSION = "3.1.0@aar"
14 | LIST_VIEW_ANIMATIONS_MANIPULATION_VERSION = "3.1.0@aar"
15 | }
16 |
--------------------------------------------------------------------------------
/cloverinventoryexample/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
--------------------------------------------------------------------------------
/cloverinventoryexample/README.md:
--------------------------------------------------------------------------------
1 | This project was created with the following command:
2 |
3 | android create project \
4 | --target 1 \
5 | --name CloverInventoryExample \
6 | --path ./CloverInventoryExample \
7 | --activity InventoryExampleActivity \
8 | --package com.clover.example.inventory \
9 | --gradle \
10 | --gradle-version 0.9.2
11 |
--------------------------------------------------------------------------------
/cloverinventoryexample/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/cloverinventoryexample/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/cloverinventoryexample/src/main/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/cloverinventoryexample/src/main/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/cloverinventoryexample/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/cloverinventoryexample/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/cloverinventoryexample/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/cloverinventoryexample/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/cloverinventoryexample/src/main/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/cloverinventoryexample/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | InventoryExampleActivity
4 | There is no Clover account.
5 |
6 |
--------------------------------------------------------------------------------
/customactivity/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | repositories {
4 | google()
5 | jcenter()
6 | mavenLocal()
7 | }
8 | android {
9 | compileSdkVersion 26
10 | defaultConfig {
11 | applicationId "com.example.clover.customactivity"
12 | minSdkVersion 17
13 | targetSdkVersion 26
14 | versionCode 1
15 | versionName "1.0"
16 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
17 | }
18 | buildTypes {
19 | release {
20 | minifyEnabled false
21 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
22 | }
23 | }
24 | }
25 |
26 | dependencies {
27 | implementation fileTree(dir: 'libs', include: ['*.jar'])
28 | implementation 'com.android.support:appcompat-v7:26.1.0'
29 | implementation 'com.android.support.constraint:constraint-layout:1.0.2'
30 | compile 'com.clover.cfp:clover-cfp-sdk:1.0'
31 | }
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/java/com/example/clover/customactivity/PayloadMessage.java:
--------------------------------------------------------------------------------
1 | package com.example.clover.customactivity;
2 |
3 | public class PayloadMessage {
4 |
5 | private String payloadContent;
6 | private boolean sentToCustomActivity;
7 |
8 | public PayloadMessage(String payloadContent, boolean sentToCustomActivity){
9 | this.payloadContent = payloadContent;
10 | this.sentToCustomActivity = sentToCustomActivity;
11 | }
12 |
13 | public String getPayloadContent() {
14 | return payloadContent;
15 | }
16 |
17 | public void setPayloadContent(String payloadContent) {
18 | this.payloadContent = payloadContent;
19 | }
20 |
21 | public boolean isSentToCustomActivity() {
22 | return sentToCustomActivity;
23 | }
24 |
25 | public void setSentToCustomActivity(boolean sentToCustomActivity) {
26 | this.sentToCustomActivity = sentToCustomActivity;
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/drawable-v24/bottom_border.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
6 |
7 |
8 |
9 |
10 |
11 | -
12 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/drawable-v24/button_border.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/drawable-v24/mini.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityExample/src/main/res/drawable-v24/mini.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/drawable-v24/reg.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityExample/src/main/res/drawable-v24/reg.jpeg
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/drawable/button_green.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/drawable/rounded_gray.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/drawable/rounded_light_gray.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityExample/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityExample/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityExample/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityExample/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityExample/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityExample/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityExample/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityExample/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityExample/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityExample/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 | #547554
7 | #F4F5F5
8 | #DEE0E1
9 |
10 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | CustomActivity
3 | Start Activity Payload:
4 | StartActivityForResult payload…
5 | Incoming message payload here…
6 | Because Obi-Wan Kenobi took the last two droids he was looking for.
7 | {\“value\”:{\“click\”:\“Finish!\”}, \“rejected\”:false}
8 | Finish
9 |
10 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityExample/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 26
5 |
6 |
7 |
8 | defaultConfig {
9 | applicationId "com.example.clover.customactivitytester"
10 | minSdkVersion 17
11 | targetSdkVersion 26
12 | versionCode 1
13 | versionName "1.0"
14 |
15 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
16 |
17 | }
18 |
19 | buildTypes {
20 | release {
21 | minifyEnabled false
22 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
23 | }
24 | }
25 |
26 | }
27 |
28 | dependencies {
29 | compile 'com.clover.sdk:remote-pay-android-connector:1.4.0'
30 | compile 'com.google.code.gson:gson:2.8.0'
31 | compile 'com.google.android.gms:play-services-vision:10.2.6'
32 | implementation 'com.android.support:appcompat-v7:26.1.0'
33 | }
34 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/drawable/button_border_padding.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/drawable/clover_horizontal.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityTester/src/main/res/drawable/clover_horizontal.jpg
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/drawable/rounded_gray.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/drawable/rounded_light_gray.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityTester/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityTester/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityTester/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityTester/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityTester/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityTester/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityTester/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityTester/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityTester/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityTester/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 | #F4F5F5
7 | #DEE0E1
8 | #B1B6B8
9 | #858D90
10 | #515D61
11 |
12 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/main/resources/certs/clover_cacerts.p12:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customactivity/CustomActivityTester/src/main/resources/certs/clover_cacerts.p12
--------------------------------------------------------------------------------
/customactivity/CustomActivityTester/src/test/java/com/example/clover/customactivitytester/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.example.clover.customactivitytester;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/customactivity/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 |
5 | repositories {
6 | google()
7 | jcenter()
8 | mavenLocal()
9 | }
10 | dependencies {
11 | classpath 'com.android.tools.build:gradle:3.0.1'
12 |
13 | // NOTE: Do not place your application dependencies here; they belong
14 | // in the individual module build.gradle files
15 | }
16 | }
17 |
18 | allprojects {
19 | repositories {
20 | google()
21 | jcenter()
22 | }
23 | }
24 |
25 | task clean(type: Delete) {
26 | delete rootProject.buildDir
27 | }
28 |
--------------------------------------------------------------------------------
/customactivity/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 |
--------------------------------------------------------------------------------
/customactivity/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':CustomActivityExample', ':CustomActivityTester'
2 |
--------------------------------------------------------------------------------
/customerfacinguiexample/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
15 |
--------------------------------------------------------------------------------
/customerfacinguiexample/CustomerFacingUIExample/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/customerfacinguiexample/CustomerFacingUIExample/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | defaultConfig {
8 | minSdkVersion 16
9 | targetSdkVersion 17
10 | versionCode 1
11 | versionName "1.0"
12 | }
13 | buildTypes {
14 | release {
15 | minifyEnabled false
16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17 | }
18 | }
19 | }
20 |
21 | dependencies {
22 | compile fileTree(dir: 'libs', include: ['*.jar'])
23 | compile 'com.clover.sdk:clover-android-sdk:86'
24 | }
25 |
--------------------------------------------------------------------------------
/customerfacinguiexample/CustomerFacingUIExample/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/jiongshen/Documents/android-sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/customerfacinguiexample/CustomerFacingUIExample/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customerfacinguiexample/CustomerFacingUIExample/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customerfacinguiexample/CustomerFacingUIExample/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customerfacinguiexample/CustomerFacingUIExample/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customerfacinguiexample/CustomerFacingUIExample/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customerfacinguiexample/CustomerFacingUIExample/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customerfacinguiexample/CustomerFacingUIExample/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/customerfacinguiexample/CustomerFacingUIExample/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/customerfacinguiexample/CustomerFacingUIExample/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
14 |
15 |
--------------------------------------------------------------------------------
/customerfacinguiexample/CustomerFacingUIExample/src/main/res/layout/activity_main_customer.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
15 |
16 |
--------------------------------------------------------------------------------
/customerfacinguiexample/CustomerFacingUIExample/src/main/res/values/integers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 0x10000000
6 |
--------------------------------------------------------------------------------
/customerfacinguiexample/CustomerFacingUIExample/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | CustomerFacingUIExample
5 | This is in merchant facing mode, both Action Bar and System Bar are visible.
6 | This is in customer facing mode, both Action Bar and System Bar are hidden.
7 |
8 |
--------------------------------------------------------------------------------
/customerfacinguiexample/README.md:
--------------------------------------------------------------------------------
1 | # Customer Facing UI Example
2 |
3 | This is a simple example application that shows how you should develop customer facing UI on the Clover Station (Disable System Bar and Action Bar)
4 |
5 | # Connectors Used
6 |
--------------------------------------------------------------------------------
/customerfacinguiexample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/customerfacinguiexample/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/customerfacinguiexample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':CustomerFacingUIExample'
2 |
--------------------------------------------------------------------------------
/display-service-test/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea
4 | .DS_Store
5 | /build
6 | /captures
7 | *.iml
8 | /displayservicetest/build
--------------------------------------------------------------------------------
/display-service-test/README.md:
--------------------------------------------------------------------------------
1 | Display Connector Example
2 | =========================
3 |
4 | This is an example of using the com.clover.connector.sdk.v3.DisplayConnector. It has options for
5 | * Showing The "Welcome" screen
6 | * Showing a simple text message screen
7 | * Showing The "Thank You" screen
8 | * Showing an order
9 |
10 |
11 |
--------------------------------------------------------------------------------
/display-service-test/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | google()
7 | mavenCentral()
8 | }
9 |
10 | dependencies {
11 | classpath 'com.android.tools.build:gradle:3.1.2'
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | mavenCentral()
18 | jcenter()
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/display-service-test/displayservicetest/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/michaelhampton/android-sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/display-service-test/displayservicetest/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/display-service-test/displayservicetest/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/display-service-test/displayservicetest/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/display-service-test/displayservicetest/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/display-service-test/displayservicetest/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/display-service-test/displayservicetest/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/display-service-test/displayservicetest/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/display-service-test/displayservicetest/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/display-service-test/displayservicetest/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/display-service-test/displayservicetest/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/display-service-test/displayservicetest/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | DisplayServiceTest
3 |
4 | There is no Clover account.
5 |
6 |
7 |
--------------------------------------------------------------------------------
/display-service-test/displayservicetest/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/display-service-test/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/display-service-test/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':displayservicetest'
2 |
--------------------------------------------------------------------------------
/employeemanagement/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
--------------------------------------------------------------------------------
/employeemanagement/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/employeemanagement/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 | defaultConfig {
7 | applicationId 'com.clover.example.employeemanagement'
8 | minSdkVersion 16
9 | targetSdkVersion 17
10 | versionCode 1
11 | versionName '1.0'
12 | }
13 | buildTypes {
14 | release {
15 | minifyEnabled false
16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
17 | }
18 | }
19 | productFlavors {
20 | }
21 | }
22 |
23 | dependencies {
24 | compile fileTree(dir: 'libs', include: ['*.jar'])
25 | compile 'com.clover.sdk:clover-android-sdk:86'
26 | }
27 |
--------------------------------------------------------------------------------
/employeemanagement/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Applications/Android Studio.app/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/employeemanagement/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/employeemanagement/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/employeemanagement/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/employeemanagement/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/employeemanagement/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/employeemanagement/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/employeemanagement/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/employeemanagement/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/employeemanagement/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/employeemanagement/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | permissionsexample
5 | Touch a button to test permissions.
6 | There is no Clover account.
7 | Admin
8 | Employee
9 | Manager
10 |
11 |
--------------------------------------------------------------------------------
/employeemanagement/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/employeemanagement/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/employeemanagement/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/employeemanagement/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/extensibletenderexample/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 | /captures
8 |
--------------------------------------------------------------------------------
/extensibletenderexample/README.md:
--------------------------------------------------------------------------------
1 | ## Usage
2 |
3 | To see this example in action you will need to:
4 | - Create a Clover Application via your Clover Developer dashboard (sandbox).
5 | - Under App Type select the type of Clover devices you would like the tender to be available on.
6 | - Under Requested Permissions select Merchant read and write.
7 | - Under Android APKs upload the APK that you have built from this project. Please see [working with APKs](https://docs.clover.com/docs/working-with-apks) for more information. IMPORTANT - You must modify the applicationId in build.gradle to be unique!
8 | - Install the application to your test merchant.
9 |
10 |
11 |
--------------------------------------------------------------------------------
/extensibletenderexample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/extensibletenderexample/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 29
5 |
6 | compileOptions {
7 | sourceCompatibility 1.8
8 | targetCompatibility 1.8
9 | }
10 |
11 | defaultConfig {
12 | // !!! You must modify the applicationId to be unique, otherwise, you will be unable to upload the APK.
13 | applicationId "com.example.extensibletenderexample"
14 | minSdkVersion 17
15 | //noinspection ExpiredTargetSdkVersion
16 | targetSdkVersion 25
17 | versionCode 1
18 | versionName "1.0"
19 | }
20 | }
21 |
22 | dependencies {
23 | implementation 'com.clover.sdk:clover-android-sdk:262.2'
24 | }
25 |
--------------------------------------------------------------------------------
/extensibletenderexample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/extensibletenderexample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/extensibletenderexample/app/src/main/res/mipmap-hdpi/thirdparty_gray_example.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/extensibletenderexample/app/src/main/res/mipmap-hdpi/thirdparty_gray_example.png
--------------------------------------------------------------------------------
/extensibletenderexample/app/src/main/res/mipmap-hdpi/thirdparty_white_example.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/extensibletenderexample/app/src/main/res/mipmap-hdpi/thirdparty_white_example.png
--------------------------------------------------------------------------------
/extensibletenderexample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/extensibletenderexample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/extensibletenderexample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/extensibletenderexample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/extensibletenderexample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/extensibletenderexample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/extensibletenderexample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/extensibletenderexample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/extensibletenderexample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | buildscript {
3 | repositories {
4 | mavenCentral()
5 | google()
6 | jcenter()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.1.2'
10 | }
11 | }
12 |
13 | allprojects {
14 | repositories {
15 | mavenCentral()
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/extensibletenderexample/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/extensibletenderexample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/getcurrentemployee/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
--------------------------------------------------------------------------------
/getcurrentemployee/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/getcurrentemployee/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | buildTypes {
8 | release {
9 | minifyEnabled false
10 | proguardFile getDefaultProguardFile('proguard-android.txt')
11 | }
12 | }
13 | }
14 |
15 | dependencies {
16 | compile 'com.clover.sdk:clover-android-sdk:86'
17 | }
18 |
--------------------------------------------------------------------------------
/getcurrentemployee/app/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Applications/Android Studio.app/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/getcurrentemployee/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/getcurrentemployee/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/getcurrentemployee/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/getcurrentemployee/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/getcurrentemployee/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/getcurrentemployee/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/getcurrentemployee/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/getcurrentemployee/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/getcurrentemployee/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/getcurrentemployee/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
7 |
--------------------------------------------------------------------------------
/getcurrentemployee/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | GetCurrentEmployee
5 | Current employee is:
6 | Settings
7 | There is no Clover account.
8 | Employee Role:
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/getcurrentemployee/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/getcurrentemployee/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/getcurrentemployee/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/getownerinformation/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
15 |
16 |
--------------------------------------------------------------------------------
/getownerinformation/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/getownerinformation/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | defaultConfig {
8 | minSdkVersion 16
9 | targetSdkVersion 17
10 | versionCode 1
11 | versionName "1.0"
12 | }
13 | buildTypes {
14 | release {
15 | minifyEnabled false
16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17 | }
18 | }
19 | }
20 |
21 | dependencies {
22 | compile fileTree(dir: 'libs', include: ['*.jar'])
23 | compile 'com.clover.sdk:clover-android-sdk:86'
24 | }
25 |
--------------------------------------------------------------------------------
/getownerinformation/app/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /home/michael/tools/android-sdk-linux/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/getownerinformation/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/getownerinformation/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/getownerinformation/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/getownerinformation/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/getownerinformation/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/getownerinformation/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/getownerinformation/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/getownerinformation/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/getownerinformation/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/getownerinformation/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
7 |
--------------------------------------------------------------------------------
/getownerinformation/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | getownerinformation
5 | There is no Clover account.
6 |
7 |
8 |
--------------------------------------------------------------------------------
/getownerinformation/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/getownerinformation/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/getownerinformation/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/gettoken/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | # zsh files
15 | .gradletasknamecache
16 | local.properties
17 |
--------------------------------------------------------------------------------
/gettoken/README.md:
--------------------------------------------------------------------------------
1 | # Get Token Example
2 |
3 | This is a simple example application that shows how you can use the Clover Authentication utility to get a access token. This token can then be used to make Clover Cloud API calls. It is safe to pass this token to your server to enable server-to-server communication.
4 |
--------------------------------------------------------------------------------
/gettoken/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/gettoken/gettoken/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/gettoken/gettoken/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | defaultConfig {
8 | minSdkVersion 16
9 | targetSdkVersion 19
10 | versionCode 1
11 | versionName "1.0"
12 | }
13 | buildTypes {
14 | release {
15 | minifyEnabled false
16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17 | }
18 | }
19 | }
20 |
21 | dependencies {
22 | compile fileTree(dir: 'libs', include: ['*.jar'])
23 | compile 'com.clover.sdk:clover-android-sdk:86'
24 | }
25 |
--------------------------------------------------------------------------------
/gettoken/gettoken/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /home/michael/tools/android-sdk-linux/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/gettoken/gettoken/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/gettoken/gettoken/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/gettoken/gettoken/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/gettoken/gettoken/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/gettoken/gettoken/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/gettoken/gettoken/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/gettoken/gettoken/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/gettoken/gettoken/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/gettoken/gettoken/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/gettoken/gettoken/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/gettoken/gettoken/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
7 |
--------------------------------------------------------------------------------
/gettoken/gettoken/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Get Token
5 |
6 | No Clover account found
7 | Token:
8 | Authentication Error, to get a token you need to install the app from the App Market
9 |
10 |
--------------------------------------------------------------------------------
/gettoken/gettoken/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/gettoken/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/gettoken/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':gettoken'
2 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Jun 14 15:16:56 MDT 2018
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.0-bin.zip
7 |
--------------------------------------------------------------------------------
/merchantexample/README.md:
--------------------------------------------------------------------------------
1 | # Merchant Example
2 |
3 | This is a simple example application that shows how you can use MerchantConnector in the Clover SDK to retrieve the merchant information.
4 |
5 | # Connectors Used
6 |
7 | * Merchant Connector
8 |
--------------------------------------------------------------------------------
/merchantexample/build.gradle:
--------------------------------------------------------------------------------
1 |
2 | repositories {
3 | jcenter()
4 | google()
5 | }
6 | buildscript {
7 | repositories {
8 | jcenter()
9 | google()
10 | }
11 | dependencies {
12 | classpath 'com.android.tools.build:gradle:3.2.1'
13 | }
14 | }
15 |
16 | apply plugin: 'com.android.application'
17 |
18 | android {
19 | compileSdkVersion 27
20 | buildToolsVersion '22.0.1'
21 |
22 | defaultConfig {
23 | minSdkVersion 17
24 | targetSdkVersion 27
25 | versionCode 1
26 | versionName "1.0"
27 | }
28 | buildTypes {
29 | release {
30 | minifyEnabled false
31 | }
32 | }
33 | }
34 |
35 | dependencies {
36 | compile 'com.clover.sdk:clover-android-sdk:210.1'
37 | }
38 |
--------------------------------------------------------------------------------
/merchantexample/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/merchantexample/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/merchantexample/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/merchantexample/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/merchantexample/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/merchantexample/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/merchantexample/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/merchantexample/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/merchantexample/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | MerchantExample
5 | There is no Clover account.
6 |
7 |
8 |
--------------------------------------------------------------------------------
/modifyamountbutton/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | .DS_Store
5 |
--------------------------------------------------------------------------------
/modifyamountbutton/README.md:
--------------------------------------------------------------------------------
1 | This example shows you how to add a button on the pay activity. In this case the button does not represent a tender, but allows your brand/application to launched at this point in the checkout flow. Common examples are for loyalty, promotional discounts, donations etc.
2 |
3 | Simply define an activity that reacts to the clover.intent.action.MODIFY_ORDER action. The Clover pay activity will automatically show a button for all applications that listen for this intent.
4 |
5 | For example in your AndroidManifest.xml -
6 |
7 | ```
8 |
11 |
12 |
13 |
14 |
15 |
16 | ```
17 |
--------------------------------------------------------------------------------
/modifyamountbutton/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/modifyamountbutton/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | buildTypes {
8 | release {
9 | minifyEnabled false
10 | proguardFile getDefaultProguardFile('proguard-android.txt')
11 | }
12 | }
13 | }
14 |
15 | dependencies {
16 | compile 'com.clover.sdk:clover-android-sdk:86'
17 | }
18 |
--------------------------------------------------------------------------------
/modifyamountbutton/app/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Applications/Android Studio.app/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/modifyamountbutton/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/modifyamountbutton/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/modifyamountbutton/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/modifyamountbutton/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/modifyamountbutton/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/modifyamountbutton/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/modifyamountbutton/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/modifyamountbutton/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/modifyamountbutton/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/modifyamountbutton/app/src/main/res/menu/add_discount.xml:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/modifyamountbutton/app/src/main/res/menu/main.xml:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/modifyamountbutton/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/modifyamountbutton/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
7 |
--------------------------------------------------------------------------------
/modifyamountbutton/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Modify Amount Example
5 | This app has now added a \'Modify Amount Example\' button on the Terminal Sale Activity
6 | Settings
7 | Add Discount
8 | Click this button to modify the amount with a 10% discount
9 | Add
10 |
11 |
12 |
--------------------------------------------------------------------------------
/modifyamountbutton/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/modifyamountbutton/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/modifyamountbutton/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/modifyamountbutton/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/modifyorderbutton/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | .DS_Store
5 |
--------------------------------------------------------------------------------
/modifyorderbutton/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/modifyorderbutton/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | buildTypes {
8 | release {
9 | minifyEnabled false
10 | proguardFile getDefaultProguardFile('proguard-android.txt')
11 | }
12 | }
13 | }
14 |
15 | dependencies {
16 | compile 'com.clover.sdk:clover-android-sdk:86'
17 | }
18 |
--------------------------------------------------------------------------------
/modifyorderbutton/app/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Applications/Android Studio.app/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/modifyorderbutton/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/modifyorderbutton/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/modifyorderbutton/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/modifyorderbutton/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/modifyorderbutton/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/modifyorderbutton/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/modifyorderbutton/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/modifyorderbutton/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/modifyorderbutton/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/modifyorderbutton/app/src/main/res/menu/add_discount.xml:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/modifyorderbutton/app/src/main/res/menu/main.xml:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/modifyorderbutton/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/modifyorderbutton/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
7 |
--------------------------------------------------------------------------------
/modifyorderbutton/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Modify Order Example
5 | This app has now added a \'Modify Order Example\' button on the pay screen in register
6 | Settings
7 | Add Discount
8 | Click this button to add a 10% discount to the order
9 | Add
10 |
11 |
12 |
--------------------------------------------------------------------------------
/modifyorderbutton/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/modifyorderbutton/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/modifyorderbutton/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/modifyorderbutton/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/native-android-example-pos/README.md:
--------------------------------------------------------------------------------
1 | Example app has moved to https://github.com/clover/remote-pay-android-examples
--------------------------------------------------------------------------------
/oauthexample/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
15 |
16 |
--------------------------------------------------------------------------------
/oauthexample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/oauthexample/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | defaultConfig {
8 | applicationId "com.clover.example.oauthexample.app"
9 | minSdkVersion 8
10 | targetSdkVersion 19
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:19.+'
25 | compile 'com.android.support:support-v4:19.0.0'
26 | }
27 |
--------------------------------------------------------------------------------
/oauthexample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Applications/Android Studio.app/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/oauthexample/app/src/main/java/com/clover/example/oauthexample/app/Config.java:
--------------------------------------------------------------------------------
1 | package com.clover.example.oauthexample.app;
2 |
3 | /**
4 | * Created by zach on 6/19/14.
5 | */
6 | public class Config {
7 | // Your APP_ID can be found on your developers account
8 | public static final String APP_ID = "Your App ID";
9 | // APP_DOMAIN is some dummy domain
10 | public static final String APP_DOMAIN = "http://localhost";
11 | }
12 |
--------------------------------------------------------------------------------
/oauthexample/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/oauthexample/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/oauthexample/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/oauthexample/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/oauthexample/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/oauthexample/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/oauthexample/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/oauthexample/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/oauthexample/app/src/main/res/layout/activity_webview.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
--------------------------------------------------------------------------------
/oauthexample/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/oauthexample/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/oauthexample/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | oauthexample
5 | Please click the log in button
6 | Log In
7 |
8 |
9 |
--------------------------------------------------------------------------------
/oauthexample/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/oauthexample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | mavenCentral()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/oauthexample/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/oauthexample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/paywithregisterexample/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
--------------------------------------------------------------------------------
/paywithregisterexample/PayWithRegisterExample/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/paywithregisterexample/PayWithRegisterExample/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | defaultConfig {
8 | minSdkVersion 16
9 | targetSdkVersion 17
10 | versionCode 1
11 | versionName "1.0"
12 | }
13 | buildTypes {
14 | release {
15 | minifyEnabled false
16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17 | }
18 | }
19 | }
20 |
21 | dependencies {
22 | compile fileTree(dir: 'libs', include: ['*.jar'])
23 | compile 'com.clover.sdk:clover-android-sdk:86'
24 | }
25 |
--------------------------------------------------------------------------------
/paywithregisterexample/PayWithRegisterExample/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/jiongshen/Documents/android-sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/paywithregisterexample/PayWithRegisterExample/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/paywithregisterexample/PayWithRegisterExample/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/paywithregisterexample/PayWithRegisterExample/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/paywithregisterexample/PayWithRegisterExample/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/paywithregisterexample/PayWithRegisterExample/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/paywithregisterexample/PayWithRegisterExample/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/paywithregisterexample/PayWithRegisterExample/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/paywithregisterexample/PayWithRegisterExample/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/paywithregisterexample/PayWithRegisterExample/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
13 |
14 |
20 |
21 |
--------------------------------------------------------------------------------
/paywithregisterexample/PayWithRegisterExample/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | PayWithRegisterExample
5 |
6 | There is no Clover account.
7 |
8 | Pay
9 |
10 | Pay obeying auto logout
11 |
12 | Please add an item to the inventory before attempting to take orders.
13 |
14 |
--------------------------------------------------------------------------------
/paywithregisterexample/PayWithRegisterExample/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/paywithregisterexample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/paywithregisterexample/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/paywithregisterexample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':PayWithRegisterExample'
2 |
--------------------------------------------------------------------------------
/pushnotificationexample/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
15 |
--------------------------------------------------------------------------------
/pushnotificationexample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/pushnotificationexample/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 29
5 |
6 | compileOptions {
7 | sourceCompatibility 1.8
8 | targetCompatibility 1.8
9 | }
10 |
11 | defaultConfig {
12 | applicationId "com.clover.example.pushnotificationexample"
13 | minSdkVersion 17
14 | //noinspection ExpiredTargetSdkVersion
15 | targetSdkVersion 25
16 | versionCode 1
17 | versionName "1.0"
18 | }
19 |
20 | buildTypes {
21 | release {
22 | minifyEnabled false
23 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
24 | }
25 | }
26 | }
27 |
28 | dependencies {
29 | implementation 'com.clover.sdk:clover-android-sdk:262.2'
30 | }
31 |
--------------------------------------------------------------------------------
/pushnotificationexample/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/jiongshen/Documents/android-sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/pushnotificationexample/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/pushnotificationexample/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pushnotificationexample/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/pushnotificationexample/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pushnotificationexample/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/pushnotificationexample/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pushnotificationexample/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/pushnotificationexample/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/pushnotificationexample/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/pushnotificationexample/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | pushnotificationexample
5 | POST to \"/v3/apps/{aId}/merchants/{mId}/notifications\" with the following json to test your notification receiver: \n{\n \u00A0\u00A0\"event\": \"test_notification\",\n\u00A0\u00A0\u00A0\"data\": \"Up to 4k of data\"\n}
6 | Result: %s
7 |
8 |
--------------------------------------------------------------------------------
/pushnotificationexample/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/pushnotificationexample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | buildscript {
3 | repositories {
4 | mavenCentral()
5 | google()
6 | jcenter()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.1.2'
10 | }
11 | }
12 |
13 | allprojects {
14 | repositories {
15 | mavenCentral()
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/pushnotificationexample/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/pushnotificationexample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/readcurrentorderexample/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
15 |
--------------------------------------------------------------------------------
/readcurrentorderexample/README.md:
--------------------------------------------------------------------------------
1 | # Read Current Order Example
2 |
3 | This is a simple example application that shows how you can use OrderConnector in the Clover SDK to retrieve the last order information or create a new order.
4 |
5 | # Connectors Used
6 |
7 | * Order Connector
8 |
9 |
--------------------------------------------------------------------------------
/readcurrentorderexample/ReadCurrentOrderExample/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/readcurrentorderexample/ReadCurrentOrderExample/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | defaultConfig {
8 | minSdkVersion 16
9 | targetSdkVersion 17
10 | versionCode 1
11 | versionName "1.0"
12 | }
13 | buildTypes {
14 | release {
15 | minifyEnabled false
16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17 | }
18 | }
19 | }
20 |
21 | dependencies {
22 | compile fileTree(dir: 'libs', include: ['*.jar'])
23 | compile 'com.clover.sdk:clover-android-sdk:86'
24 | }
25 |
--------------------------------------------------------------------------------
/readcurrentorderexample/ReadCurrentOrderExample/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/jiongshen/Documents/android-sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/readcurrentorderexample/ReadCurrentOrderExample/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/readcurrentorderexample/ReadCurrentOrderExample/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/readcurrentorderexample/ReadCurrentOrderExample/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/readcurrentorderexample/ReadCurrentOrderExample/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/readcurrentorderexample/ReadCurrentOrderExample/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/readcurrentorderexample/ReadCurrentOrderExample/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/readcurrentorderexample/ReadCurrentOrderExample/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/readcurrentorderexample/ReadCurrentOrderExample/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/readcurrentorderexample/ReadCurrentOrderExample/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ReadCurrentOrderExample
5 |
6 | There is no Clover account.
7 |
8 | Order Id:
9 | Number of Line Items:
10 | Total:
11 | Create Time:
12 |
13 |
--------------------------------------------------------------------------------
/readcurrentorderexample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/readcurrentorderexample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':ReadCurrentOrderExample'
2 |
--------------------------------------------------------------------------------
/receipteditexample/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
--------------------------------------------------------------------------------
/receipteditexample/ReceiptEditExample/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/receipteditexample/ReceiptEditExample/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | defaultConfig {
8 | minSdkVersion 16
9 | targetSdkVersion 17
10 | versionCode 1
11 | versionName "1.0"
12 | }
13 | buildTypes {
14 | release {
15 | minifyEnabled false
16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17 | }
18 | }
19 | }
20 |
21 | dependencies {
22 | compile fileTree(dir: 'libs', include: ['*.jar'])
23 |
24 | compile 'com.clover.sdk:clover-android-sdk:86'
25 | }
26 |
--------------------------------------------------------------------------------
/receipteditexample/ReceiptEditExample/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/jiongshen/Documents/android-sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/receipteditexample/ReceiptEditExample/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/receipteditexample/ReceiptEditExample/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/receipteditexample/ReceiptEditExample/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/receipteditexample/ReceiptEditExample/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/receipteditexample/ReceiptEditExample/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/receipteditexample/ReceiptEditExample/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/receipteditexample/ReceiptEditExample/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/receipteditexample/ReceiptEditExample/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/receipteditexample/ReceiptEditExample/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Receipt Edit Example
5 |
6 | There is no Clover account.
7 |
8 | Add text to end of the receipt
9 | Test Print
10 |
11 |
--------------------------------------------------------------------------------
/receipteditexample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenLocal()
6 | mavenCentral()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:1.3.0'
10 | }
11 | }
12 |
13 | allprojects {
14 | repositories {
15 | mavenLocal()
16 | mavenCentral()
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/receipteditexample/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/receipteditexample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':ReceiptEditExample'
2 |
--------------------------------------------------------------------------------
/receipteditexample2/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
--------------------------------------------------------------------------------
/receipteditexample2/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/receipteditexample2/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | defaultConfig {
8 | minSdkVersion 16
9 | targetSdkVersion 17
10 | versionCode 1
11 | versionName "1.0"
12 | }
13 | buildTypes {
14 | release {
15 | minifyEnabled false
16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17 | }
18 | }
19 | }
20 |
21 | dependencies {
22 | compile fileTree(dir: 'libs', include: ['*.jar'])
23 | compile 'com.clover.sdk:clover-android-sdk:86'
24 | }
25 |
--------------------------------------------------------------------------------
/receipteditexample2/app/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/jiongshen/Documents/android-sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/receipteditexample2/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/receipteditexample2/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/receipteditexample2/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/receipteditexample2/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/receipteditexample2/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/receipteditexample2/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/receipteditexample2/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/receipteditexample2/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/receipteditexample2/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ReceiptEditExample2
5 | Add Image:
6 |
7 | There is no Clover account.
8 |
9 | Test Print
10 |
11 |
--------------------------------------------------------------------------------
/receipteditexample2/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenLocal()
6 | mavenCentral()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:1.3.0'
10 | }
11 | }
12 |
13 | allprojects {
14 | repositories {
15 | mavenLocal()
16 | mavenCentral()
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/receipteditexample2/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/receipteditexample2/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/rotatetomerchantfragment/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
--------------------------------------------------------------------------------
/rotatetomerchantfragment/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/rotatetomerchantfragment/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | buildTypes {
8 | release {
9 | minifyEnabled false
10 | proguardFile getDefaultProguardFile('proguard-android.txt')
11 | }
12 | }
13 | }
14 |
15 | dependencies {
16 | compile 'com.clover.sdk:clover-android-sdk:86'
17 | }
18 |
--------------------------------------------------------------------------------
/rotatetomerchantfragment/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/jiongshen/Documents/android-sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/rotatetomerchantfragment/app/src/androidTest/java/com/clover/example/rotatetomerchantfragment/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.clover.example.rotatetomerchantfragment;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/rotatetomerchantfragment/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/rotatetomerchantfragment/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/rotatetomerchantfragment/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/rotatetomerchantfragment/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/rotatetomerchantfragment/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/rotatetomerchantfragment/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/rotatetomerchantfragment/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/rotatetomerchantfragment/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/rotatetomerchantfragment/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/rotatetomerchantfragment/app/src/main/res/menu/main.xml:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/rotatetomerchantfragment/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/rotatetomerchantfragment/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | rotatetomerchantfragment
5 | Show Rotate to Merchant Dialog
6 | Settings
7 |
8 | This is a sample instruction
9 |
10 |
11 |
--------------------------------------------------------------------------------
/rotatetomerchantfragment/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/rotatetomerchantfragment/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | mavenCentral()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/rotatetomerchantfragment/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/rotatetomerchantfragment/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/selectitemsexample/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
15 |
16 |
--------------------------------------------------------------------------------
/selectitemsexample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/selectitemsexample/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | defaultConfig {
8 | minSdkVersion 16
9 | targetSdkVersion 17
10 | versionCode 1
11 | versionName "1.0"
12 | }
13 | buildTypes {
14 | release {
15 | minifyEnabled false
16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17 | }
18 | }
19 | }
20 |
21 | dependencies {
22 | compile fileTree(dir: 'libs', include: ['*.jar'])
23 | compile 'com.clover.sdk:clover-android-sdk:86'
24 | }
25 |
--------------------------------------------------------------------------------
/selectitemsexample/app/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /home/michael/tools/android-sdk-linux/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/selectitemsexample/app/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/selectitemsexample/app/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/selectitemsexample/app/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/selectitemsexample/app/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/selectitemsexample/app/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/selectitemsexample/app/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/selectitemsexample/app/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/selectitemsexample/app/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/selectitemsexample/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/selectitemsexample/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/selectitemsexample/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
7 |
--------------------------------------------------------------------------------
/selectitemsexample/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Select Items Example
5 | There is no Clover account.
6 | Add Item
7 |
8 |
9 |
--------------------------------------------------------------------------------
/selectitemsexample/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/selectitemsexample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/selectitemsexample/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Settings specified in this file will override any Gradle settings
5 | # configured through the IDE.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m
13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14 |
15 | # When configured, Gradle will run in incubating parallel mode.
16 | # This option should only be used with decoupled projects. More details, visit
17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18 | # org.gradle.parallel=true
--------------------------------------------------------------------------------
/selectitemsexample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/terminalplanpaymentexample/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ project files
2 | *.iml
3 | *.iws
4 | *.ipr
5 | .idea/
6 | # Gradle build folder
7 | .gradle/
8 | build/
9 | # Mac HFS+ files
10 | .DS_Store
11 | # Unix editor backup files
12 | *~
13 | *.swp
14 | local.properties
--------------------------------------------------------------------------------
/terminalplanpaymentexample/TerminalPlanPaymentExample/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/terminalplanpaymentexample/TerminalPlanPaymentExample/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'android'
2 |
3 | android {
4 | compileSdkVersion 'android-17'
5 | buildToolsVersion '22.0.1'
6 |
7 | defaultConfig {
8 | minSdkVersion 16
9 | targetSdkVersion 17
10 | versionCode 1
11 | versionName "1.0"
12 | }
13 | buildTypes {
14 | release {
15 | minifyEnabled false
16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
17 | }
18 | }
19 | }
20 |
21 | dependencies {
22 | compile fileTree(dir: 'libs', include: ['*.jar'])
23 | compile 'com.clover.sdk:clover-android-sdk:86'
24 | }
25 |
--------------------------------------------------------------------------------
/terminalplanpaymentexample/TerminalPlanPaymentExample/proguard-rules.txt:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/jiongshen/Documents/android-sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the ProGuard
5 | # include property in project.properties.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
--------------------------------------------------------------------------------
/terminalplanpaymentexample/TerminalPlanPaymentExample/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/terminalplanpaymentexample/TerminalPlanPaymentExample/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/terminalplanpaymentexample/TerminalPlanPaymentExample/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/terminalplanpaymentexample/TerminalPlanPaymentExample/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/terminalplanpaymentexample/TerminalPlanPaymentExample/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/terminalplanpaymentexample/TerminalPlanPaymentExample/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/terminalplanpaymentexample/TerminalPlanPaymentExample/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/terminalplanpaymentexample/TerminalPlanPaymentExample/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/terminalplanpaymentexample/TerminalPlanPaymentExample/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/terminalplanpaymentexample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.3.0'
9 | }
10 | }
11 |
12 | allprojects {
13 | repositories {
14 | mavenCentral()
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/terminalplanpaymentexample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':TerminalPlanPaymentExample'
2 |
--------------------------------------------------------------------------------
/thirdpartypendingpaymentsexample/ThirdPartyPendingPaymentsExample/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion '27.0.0'
6 | repositories {
7 | mavenCentral()
8 | google()
9 | }
10 |
11 | defaultConfig {
12 | minSdkVersion 17
13 | }
14 |
15 | buildTypes {
16 | release {
17 | minifyEnabled false
18 | proguardFile getDefaultProguardFile('proguard-android.txt')
19 | }
20 | }
21 | }
22 |
23 | dependencies {
24 | compile fileTree(dir: 'libs', include: ['*.jar'])
25 | compile 'com.clover.sdk:clover-android-sdk:191.6'
26 | }
27 |
--------------------------------------------------------------------------------
/thirdpartypendingpaymentsexample/ThirdPartyPendingPaymentsExample/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /home/jeff/android-sdk-linux/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/thirdpartypendingpaymentsexample/ThirdPartyPendingPaymentsExample/src/main/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/thirdpartypendingpaymentsexample/ThirdPartyPendingPaymentsExample/src/main/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/thirdpartypendingpaymentsexample/ThirdPartyPendingPaymentsExample/src/main/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/thirdpartypendingpaymentsexample/ThirdPartyPendingPaymentsExample/src/main/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/thirdpartypendingpaymentsexample/ThirdPartyPendingPaymentsExample/src/main/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/thirdpartypendingpaymentsexample/ThirdPartyPendingPaymentsExample/src/main/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/thirdpartypendingpaymentsexample/ThirdPartyPendingPaymentsExample/src/main/res/drawable-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/clover/android-examples/b423a471a80b02b5262b63e83bbb550679e144fc/thirdpartypendingpaymentsexample/ThirdPartyPendingPaymentsExample/src/main/res/drawable-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/thirdpartypendingpaymentsexample/ThirdPartyPendingPaymentsExample/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 | Third Party Get Pending Payments Example
19 |
20 |
--------------------------------------------------------------------------------
/thirdpartypendingpaymentsexample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | mavenCentral()
6 | google()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.1.2'
10 | }
11 | }
12 |
13 | allprojects {
14 | repositories {
15 | mavenCentral()
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/thirdpartypendingpaymentsexample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':ThirdPartyPendingPaymentsExample'
2 |
--------------------------------------------------------------------------------