Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
ly.kite:image-picker
Advanced tools
The Kite Android Print SDK makes it easy to add print on demand functionality to your app.
Harness our worldwide print and distribution network. We'll take care of all the tricky printing and postage stuff for you!
To get started, you will need to have a free Kite developer account. Go to kite.ly to sign up for free.
Use print to unlock hidden revenue streams and add value for your users. In under an hour you could be using our Android Print SDK to print:
See Installing the library - Eclipse
We publish builds of our SDK to the Maven central repository as an .aar file. This file contains all of the classes, resources, and configurations that you'll need to use the library. To install the library inside Android Studio, you can simply declare it as dependecy in your build.gradle file.
dependencies {
compile 'ly.kite:kite-print-sdk:5.+'
}
Once you've updated your build.gradle file, you can force Android Studio to sync with your new configuration by selecting Tools -> Android -> Sync Project with Gradle Files
This should download the aar dependency at which point you'll have access to the Kite Print SDK API calls. If it cannot find the dependency, you should make sure you've specified mavenCentral() as a repository in your build.gradle
If you don't want to build your own shopping journey user experience you can integrate the SDK in a matter of minutes:
private final boolean PRODUCTION_RELEASE = false;
public void onLaunchSDKButtonClicked(View button) {
ArrayList<Asset> assets = new ArrayList<>();
try {
assets.add(new Asset(new URL( "http://psps.s3.amazonaws.com/sdk_static/4.jpg" )));
} catch (MalformedURLException ex) {/* ignore */}
if (PRODUCTION_RELEASE) {
KiteSDK.getInstance(this, "<YOUR_LIVE_API_KEY>", KiteSDK.DefaultEnvironment.LIVE).startShopping(this, assets);
} else {
KiteSDK.getInstance(this, "<YOUR_TEST_API_KEY>", KiteSDK.DefaultEnvironment.TEST).startShopping(this, assets);
}
}
The Asset
class has several constructors not shown above so that you can launch the SDK with your images in a manner that fits your application. You can find your Kite Print API credentials under the Credentials section of the development dashboard.
When launching the SDK, it is possible to limit the set of products (by supplying product ids) that you wish to offer to the user:
ArrayList<Asset> assets = new ArrayList<>();
try
{
assets.add(new Asset(new URL( "http://psps.s3.amazonaws.com/sdk_static/4.jpg" )));
}
catch (MalformedURLException ex) {/* Do something sensible */}
KiteSDK.getInstance(this, "<YOUR_LIVE_API_KEY>", KiteSDK.DefaultEnvironment.LIVE).startShoppingForProducts( this, assets, "my_product_id" );
The SDK may be launched directly into a product group or product:
KiteSDK.getInstance(this, "<YOUR_LIVE_API_KEY>", KiteSDK.DefaultEnvironment.LIVE).startShoppingForProductGroup( this, myAssets, "My Product Group Label" );
KiteSDK.getInstance(this, "<YOUR_LIVE_API_KEY>", KiteSDK.DefaultEnvironment.LIVE).startShoppingForProductGroup( this, "My Product Group Label" );
KiteSDK.getInstance(this, "<YOUR_LIVE_API_KEY>", KiteSDK.DefaultEnvironment.LIVE).startShoppingForProduct( this, myAssets, "my_product_id" );
KiteSDK.getInstance(this, "<YOUR_LIVE_API_KEY>", KiteSDK.DefaultEnvironment.LIVE).startShoppingForProduct( this, "my_product_id" );
You can build your own UI if you don't want to use or customize the provided checkout and payment experience. You can still use the Kite Print SDK to handle the print order creation and submission:
Your mobile app integration requires different API Key values for each environment: Live and Test (Sandbox).
You can find your Kite Print API credentials under the Credentials section of the development dashboard.
Your Sandbox API Key can be used to submit test print orders to our servers. These orders will not be printed and posted but will allow you to integrate the Print SDK into your app without incurring cost. During development and testing you'll primarily want to be using the sandbox environment to avoid moving real money around.
When you're ready to test the end to end printing and postage process; and before you submit your app to the App Store, you'll need to swap in your live API key.
Your Live API Key is used to submit print orders to our servers that will be printed and posted to the recipient specified. Live orders cost real money. This cost typically passed on to your end user (although this doesn't have to be the case if you want to cover it yourself).
Logging in to our Developer Dashboard allow's you to dynamically change the end user price i.e. the revenue you want to make on every order. Payment in several currencies is supported so that you can easily localize prices for your users. The dashboard also provides an overview of print order volume and the money you're making.
Push notifications are a powerful marketing tool that if used effectively can increase both user engagement and customer life time value by driving more sales within your application.
A guide to configuring push notifications in your app can be found here.
The Android Print SDK uses software created by the Open Source community, you can find a full list of acknowledgements here.
Kite Android Print SDK is available under a modified MIT license. See the LICENSE file for more info.
FAQs
An Android image picker.
We found that ly.kite:image-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.