Announcing Creative SDK v0.9.1251 for Android

Posted on Wednesday, February 15th, 2017 by Ash Ryan
Category: Android

Android builder

Hi Android developers! We’ve got a new version of the Creative SDK for Android that you can get started with in your apps.

This version of the SDK features two changes that you can start taking advantage of today: Android N (API 25) Support and a more convenient, expanded IAdobeAuthClientCredentials interface.

Android N (API 25) Support

The Creative SDK now supports Android N (API 25). This is now the maximum API level supported.

All you need to do to enable support for Android N is to update your Gradle settings. Example settings can be found in our Getting Started guide for Android.

Expanded IAdobeAuthClientCredentials interface

The previous version of the Creative SDK (v0.9.1186) introduced Redirect URI and Scope requirements for User Auth.

Those requirements are now part of the IAdobeAuthClientCredentials interface.

This means you can set the values centrally in a single interface, instead of potentially needing multiple interfaces or extra method calls depending on which components you use.

In accordance with the unified Client Auth interface, the Image Editor-only IAdobeAuthRedirectCredentials interface has been deprecated. This interface will continue to work for this version, but it will be removed in upcoming versions of the Android SDK, so we encourage you to move over the IAdobeAuthClientCredentials interface now.

Migrating your code

The update in your code is quite simple:

  1. Remove the IAdobeAuthRedirectCredentials interface, if you were using it
  2. Remove the .withRedirectURI() and .withAdditionalScopes() methods from the AdobeAuthSessionLauncher.Builder, if you were using it (this functionality is handled for you via the Client Auth interface)
  3. Implement the new methods for the IAdobeAuthClientCredentials interface (namely, getRedirectURI() and getAdditionalScopesList())

See the “Integrating the Client Auth component” of the Getting Started guide in the Android documentation for further details and a sample Application subclass that implements this interface.


Want to try the Adobe Creative SDK? Learn more about the Creative SDK for iOS, Android, and Web on the Creative SDK developer portal.

PhoneGap Plugin Roundup

Posted on Tuesday, September 20th, 2016 by Ash Ryan
Categories: Android, iOS, Web
Tags: Client Auth, Image Editor UI, PhoneGap, Send To Desktop API, User Auth UI

PhoneGap Logo

We’ve had a lot of PhoneGap news recently, with the release of our first 4 PhoneGap plugins and 2 PhoneGap templates.

PhoneGap makes it possible for Web developers to build apps for iOS and Android using the languages they know and love: HTML, CSS, and JavaScript. Our PhoneGap plugins are also compatible with Cordova and Ionic.

Creative SDK Image Editor PhoneGap template

Image Editor UI PhoneGap plugin

Creative SDK Send To Desktop API PhoneGap plugin

Send To Desktop API PhoneGap plugin

Learn more

For an overview of these new offerings, head over to the PhoneGap blog, where they talk about the Image Editor UI plugin, Send To Desktop API plugin, and more!

To see all of the Creative SDK PhoneGap plugins and templates, also be sure to check out the Plugins section of the Creative SDK GitHub page.

If there’s another Creative SDK PhoneGap plugin you’d like to see, let us know in the comments!

PhoneGap template for the Creative SDK Send To Desktop API

Posted on Wednesday, September 7th, 2016 by Ash Ryan
Categories: Android, iOS, Web
Tags: Client Auth, Image Editor UI, PhoneGap, Send To Desktop API, User Auth UI

PhoneGap Logo

Hi Web developers! We’ve had a lot of PhoneGap + Creative SDK announcements for you recently. We announced our first PhoneGap plugins, a PhoneGap template for the Image Editor, and another batch of PhoneGap plugins.

As a companion to that second batch of plugins, today we are releasing a PhoneGap template for the Creative SDK Send To Desktop API.

A template is a great way to start learning about a PhoneGap plugin. Templates are essentially sample apps that you can download via NPM, build from your command line, and run on your device (these plugins support iOS and Android).

When you try out the Creative SDK Send To Desktop PhoneGap template, without writing any code, you’ll have a sample app for your reference that looks like this:

Creative SDK Send To Desktop API PhoneGap plugin

In the template app, you can:

Try it out

You can get started with the Creative SDK Send To Desktop template for PhoneGap by checking out the repo on GitHub.

The README covers everything you need to get going, including prerequisites, setup steps, and files to check for sample code.

Learn more

After you’ve tried the template and you’re ready to learn more about the plugins that make the template possible, check out these GitHub repos:

The READMEs for the plugin repos on GitHub contain Setup and API guides, as well as sample code, to help you get started quickly.

If there’s another Creative SDK PhoneGap plugin you’d like to see, let us know in the comments!

New PhoneGap plugins: Send To Desktop API and User Auth UI

Posted on Tuesday, August 30th, 2016 by Ash Ryan
Categories: Android, iOS, Web
Tags: Client Auth, Image Editor UI, PhoneGap, Send To Desktop API, User Auth UI

PhoneGap Logo

Hi Web developers! Joining our first two PhoneGap plugins, we’re excited to announce a new batch of plugins that let you use the Creative SDK in your PhoneGap app.

Adobe PhoneGap lets you easily create apps using the web technologies you know and love: HTML, CSS, and JavaScript.

With our growing catalogue of PhoneGap plugins, you can build apps using the Creative SDK native components for iOS and Android without writing a single line of Objective-C, Swift, or Java.

About the plugins

Our newest plugins make available the Creative SDK Send To Desktop API and User Auth UI components.

With the Send To Desktop API plugin, your users can send images from your mobile app and have them open automatically in Photoshop, Illustrator, or InDesign on the desktop.

For the user, this interaction feels like magic; for the developer, it’s a single function call.

Send To Desktop API

Send To Desktop API: Send images from your app to Photoshop, Illustrator, or InDesign

The Send To Desktop workflow makes use of the user’s Adobe Creative Cloud account, which you can access via the User Auth UI plugin.

All of the heavy lifting for User Auth login and logout is handled by the plugin, making the integration quick and simple to set up.

Get the plugins

Check out our PhoneGap plugins on GitHub:

  • Client Auth: The starting point for all Creative SDK integrations
  • Image Editor UI: Powerful photo editing for mobile apps
  • New! User Auth UI: Let users log in to their Adobe Creative Cloud accounts, right from within your app
  • New! Send To Desktop API: Magically send images from mobile to Photoshop, Illustrator, or InDesign

The READMEs for the plugin repos contain Setup and API guides, as well as sample code, to help you get started quickly.

We’ll have more Creative SDK + PhoneGap news for you soon. As always, feel free to reach out if you have any requests related to our PhoneGap plugins.

(Oh, and while you’re digging in, try out our PhoneGap template for the Image Editor!)

PhoneGap template for the Creative SDK Image Editor

Posted on Wednesday, August 24th, 2016 by Ash Ryan
Categories: Android, iOS, Web
Tags: Image Editor UI, PhoneGap

Hi Web developers! Last week we announced our first PhoneGap plugins for the Creative SDK.

As a companion to those plugins, today we are releasing a PhoneGap template for the Creative SDK Image Editor.

A template is a great way to start learning about a PhoneGap plugin. Templates are essentially sample apps that you can download via NPM, build from your command line, and run on your device (these plugins support iOS and Android).

When you try out the Creative SDK Image Editor PhoneGap template, without writing any code, you’ll have a sample app for your reference that looks like this:

Creative SDK Image Editor PhoneGap template

The buttons let you use the Creative SDK Image Editor to edit the photo on the screen or use the camera to take a new photo for editing.

Try it out

You can get started with the Creative SDK Image Editor template for PhoneGap by checking out the repo on GitHub.

The README covers everything you need to get going, including prerequisites, setup steps, and files to check for sample code.

Learn more

After you’ve tried the template and you’re ready to learn more about the plugins that make the template possible, check out these GitHub repos:

The READMEs for the plugin repos on GitHub contain Setup and API guides, as well as sample code, to help you get started quickly.

We’ll have more PhoneGap plugins to announce very soon. In the meantime, if there’s a Creative SDK PhoneGap plugin you’d like to see, let us know in the comments!

PhoneGap plugins for the Creative SDK

Posted on Friday, August 19th, 2016 by Ash Ryan
Categories: Android, iOS, Web
Tags: Client Auth, Image Editor UI, PhoneGap

PhoneGap Logo
(Update: you can also check out our latest batch of plugins after reading this article.)

Hi Web developers! We’re excited to announce our first PhoneGap plugins for the Creative SDK.

PhoneGap lets you easily create apps using the web technologies you know and love: HTML, CSS, and JavaScript.

We’ve been working in collaboration with the Adobe PhoneGap team to bring the power of the Creative SDK to even more developers with PhoneGap. Now, you can take advantage of the Creative SDK native components for iOS and Android without writing a single line of Objective-C, Swift, or Java.

Get the plugins

As of today, you can start using these Creative SDK PhoneGap plugins:

(Update: be sure to check out our latest batch of plugins too.)

The READMEs for the plugin repos contain Setup and API guides, as well as sample code, to help you get started quickly.

We have more PhoneGap plugins on the way. In the meantime, if you have a request for a PhoneGap plugin for a specific Creative SDK component, let us know in the comments!

Send To Desktop API for Android

Posted on Monday, April 4th, 2016 by Ash Ryan
Category: Android
Tag: Send To Desktop API

Hi Android developers! As part of our latest release of the Creative SDK, we’ve published our first developer guide for the Send To Desktop API on Android.

With the Send To Desktop API, your app becomes a seamless part of the creative workflow, letting users send images from your app directly to Photoshop, Illustrator, or InDesign on the desktop.

Send To Desktop API

To your users, it feels like magic: with the push of a button on their Android device, Photoshop (or Illustrator, or InDesign) launches on the desktop with the image open and ready for work.

In the code, a single method call is all you need to add to your Creative SDK integration. Let’s take a quick look.

Content

How it works

The Send To Desktop API offers a few methods you can choose from to send the kind of content your app is working with.

Say, for example, you have a bitmap that you’d like to send over to Photoshop. You could do it like this:

AdobeSendToDesktopApplication.sendImage(bitmap, creativeCloudApplication, "My image title", sendToDesktopCallBack);

A common approach is make a helper method in your code, where you define the arguments to AdobeSendToDesktopApplication.sendImage().

Here’s a basic example of such a helper method:

private void sendToDesktop() throws IOException {
    /* 1) Get the image Bitmap */
    Bitmap bitmap = MediaStore.Images.Media.getBitmap(getContentResolver(), mSelectedImageUri);

    /* 2) Specify the Adobe desktop app to send to */
    AdobeCreativeCloudApplication creativeCloudApplication = AdobeCreativeCloudApplication.AdobePhotoshopCreativeCloud;

    /* 3) Make a callback to handle success and error */
    final IAdobeSendToDesktopCallBack sendToDesktopCallBack = new IAdobeSendToDesktopCallBack() {
        @Override
        public void onSuccess() {
            // Success case example
            Toast.makeText(MainActivity.this, "Opening in Photoshop on your desktop!", Toast.LENGTH_LONG).show();
        }

        @Override
        public void onError(AdobeSendToDesktopException e) {
            // Error case example
            Toast.makeText(MainActivity.this, "Failed!", Toast.LENGTH_LONG).show();

            e.printStackTrace();
        }
    };

    /* 4) Send the image to the desktop! */
    AdobeSendToDesktopApplication.sendImage(bitmap, creativeCloudApplication, "My image title", sendToDesktopCallBack);
}

Developer guide and GitHub repo

To learn more, visit our developer guide for the Send To Desktop API. The guide will walk you through how to create a basic app that integrates the Send To Desktop API.

If you’d like to look at code for a sample app, go fork our Getting Started example repos for Android on GitHub.

We’ve got GitHub repos

Posted on Thursday, March 24th, 2016 by Ash Ryan
Categories: Android, iOS, Web
Tags: Asset Browser UI, Client Auth, GitHub, Image Editor UI, Repo, Send To Desktop API, User Auth UI

Adobe Creative SDK repos on GitHub

When you start your Creative SDK integration, the best place to learn what the SDK can do for your app is to check out our developer guides for your platform. The guides walk you through step-by-step example integrations for each Creative SDK component, complete with code snippets and screenshots.

But sometimes you just want to see top-to-bottom working code.

If that’s the case for you, go have a look at our GitHub repos for iOS, Android, and Web. These Getting Started repos contain multiple apps that accompany the developer guides on our portal.

For example, if you’re looking to integrate the Asset Browser UI component on Android, see the example app in our Android GitHub repo. The code in this app mirrors what is covered in our Asset Browser UI guide.

Our current developer guide and GitHub repo offerings

We offer GitHub repos and companion developer guides for iOS, Android, and Web.

The lineup will naturally change over time. You can check the latest developer guides on our developer portal, and the latest repos on our GitHub org.

We hope the example GitHub repos make it easy for you to get up and running with the Creative SDK.

Head on over to GitHub to fork a repo and try out our Creative SDK example apps.

New developer guides for Android

Posted on Tuesday, March 15th, 2016 by Ash Ryan
Category: Android
Tags: Image Editor UI, Send To Desktop API

Hi Android developers! To accompany our latest release of the Creative SDK for Android, we have both new and updated developer guides for you.

Let’s take a look at the highlights.

Content

New guides

We’ve got two brand-new guides for you to use when integrating the Creative SDK into your Android app: the Send To Desktop API guide and the Framework Dependencies guide.

Send To Desktop API guide

First up, we have a brand-new guide for the Send To Desktop API. Using the Send To Desktop API, you can let your users send their work from your app straight to Photoshop, Illustrator, or InDesign on the desktop. With the push of a button in your app, the desktop application will open on your user’s computer and load the image from your app.

Send To Desktop API

The Send To Desktop API is a simple integration in your code, and it will feel like magic to your users. Go check out our Send To Desktop API guide to learn more.

Framework Dependencies guide

Thanks to your feedback last year, we divided the Creative SDK up into a collection of smaller frameworks so you can take just what you need for your app.

We now have a Framework Dependencies guide that shows you exactly which dependencies you need for the Creative SDK components that your app integrates. With this guide, it’s crystal clear which dependencies you need for Creative Cloud APIs, the Image Editor, the Asset Browser, Send To Desktop API and more.

Learn more by having a look at our Framework Dependencies guide.

Updated guides

All of our existing Android guides have been updated for the latest version of the Creative SDK.

We will take a quick look at two significant updates below, but if you are migrating an existing integration to the latest version of the Creative SDK, be sure to have a look at our Migration guide for v0.9.7.

Getting Started guide

Our Getting Started guide is the first stop all developers should make in our documentation. It walks you through how to register your app for the Creative SDK, how to implement Client Auth, and more.

The biggest change to the Getting Started guide is that we now offer the Creative SDK as a remote Maven repo, instead of as a download from our developer portal.

To learn more, visit our Getting Started guide for Android.

Image Editor UI guide

The Creative SDK’s Image Editor has seen a major upgrade in our latest release. We now support Android API 23, offer a modern Material Design UI, and introduce a new “Adjust” tool for editing images.

Creative SDK Image Editor UI

From a coding perspective, the biggest change is that the old AviaryIntent is now called AdobeImageIntent. You will need to update references to the Intent in your code.

See our updated Image Editor UI guide to take advantage of this big update to the Image Editor.

Learn more

These are the latest highlights, but there are plenty of resources on our developer portal for you to dive into.

Check out our Asset Browser and User Auth guides, as well as our complete class references where you can learn more about our Behance UI component, Color Tool UI component, and more.

If you’d like to come learn directly from the Creative SDK team, come join us at Droidcon SF this week on Thursday and Friday.

New release for the Creative SDK on iOS and Android

Posted on Monday, March 7th, 2016 by Ash Ryan
Categories: Android, iOS

The Adobe Creative SDK logo

Today we’re excited to announce a new version of the Creative SDK for iOS and Android!

On iOS, we’ve released PSD extraction support for iPhone and the ability for users to browse Creative Cloud Market without logging in.

On Android, we’re announcing Android API 23 (Marshmallow) support, a fresh new look for the Image Editor with Material Design, and a remote Maven repo for the SDK.

To see everything that’s new for your platform, check out the changelogs on our developer portal.

You can dive straight in to our revamped developer guides for iOS and for Android if you’d like to get started right away.