Mitch Pronschinske is the Lead Research Analyst at DZone. Researching and compiling content for DZone's research guides is his primary job. He likes to make his own ringtones, watches cartoons/anime, enjoys card and board games, and plays the accordion. Mitch is a DZone Zone Leader and has posted 2577 posts at DZone. You can read more from them at their website. View Full User Profile

Adobe Brings Photoshop to Android Apps; Mac Dev Program Gets Revamped

03.05.2010
| 7484 views |
  • submit to reddit
Today, Adobe continues its love-fest for any Flash-supporting mobile platform while nurturing its hatred for the Flash-free iPhone.  It's great news for Android developers because they can finally embed Photoshop.com Mobile into their applications.  The Photoshop.com Mobile team just announced version 1.1 of their Android software.  Also announced today was a major remodeling of the Mac Developer Program, which is now much cheaper.

Photoshop.com Mobile 1.1 sports new Contrast and Brightness editing tools along with some other fun photo effects (photo on the right [credit: Adobe] is an example of the vignette blur effect).  They include:

  • Vibrant
  • Pop
  • Vignette Blur
  • Warm Vintage
  • Rainbow
  • White Glow
  • Soft Black & White

New third-party app integration is probably the biggest new feature in Photoshop.com Mobile for Android.  The Photoshop.com Moble developer documentation states: "The Photoshop.com Mobile editor is available as an activity that handles actions of type Intent.ACTION_EDIT, for image content that has data of mime-type image/*."  To launch the Photoshop.com Mobile editor from an activity in your Android app, use the following code snippet:
// code inside an Activity method
Uri imageToEditUri = … // uri of image to edit
String imageToEditMimeType = … // must be of type “image/*”
Intent launchEditor = new Intent();
launchEditor.setAction(Intent.ACTION_EDIT);
launchEditor.setDataAndType(imageToEditUri, imageToEditMimeType);

try
{
// start the editor activity
startActivityForResult(launchEditor, LAUNCH_EDITOR);
}
catch (ActivityNotFoundException e)
{
// Handle error condition. Correct version of
// Photoshop.com Mobile not installed?
}
The documentation continues: "To obtain the edit operation result, override onActivityResult in your activity and check the resultCode for your request. If the user has edited and saved the image, the result code returned is RESULT_OK. In this case, the URI for the saved image can be obtained using the Intent.getData() call. Otherwise, if the user cancels the editing operation, RESULT_CANCELED is returned."  Here is some sample code for the onActivityResult:

@Override
public void onActivityResult(int requestCode, int resultCode, Intent data)
{
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == LAUNCH_EDITOR)
{
if (resultCode == Activity.RESULT_OK)
{
Uri savedImage = data.getData();
// savedImage is the Uri for the newly created
// edited version of the original image.
}
else
{
// Edit Operation canceled by user
}
}
}
You can visit the developer section of the Photoshop.com Mobile site to see the source code for a sample Android app that incorporates the Photoshop.com Mobile editor.  The Photoshop.com Mobile app for Android is free to download on Adobe's Product Page.

As always, Adobe had to take it's weekly jab at the iPhone for still not letting Flash onto the iPhone after nearly three years:

"Unlike iPhone, the Android platform allows us to make the Photoshop.com editor broadly available to developers so they can provide it within any application they are working on. Photoshop functionality can then easily be accessed from an online auction, real estate, or social media application so users can quickly fix photos and make them look their best, before being showcased." --Doug Mack, general manager of Adobe's Digital Imaging and Rich Media Solutions group

Adobe has a point.  Android's 'more' open platform has gained a lot of support and is growing by leaps and bounds.  Just this week, a Android developer blogged about his $13k monthly profits from a single Android app.  Sure, that's small compared to profits of some iPhone developers, but Android is well on its way.  According to Gartner,  Android will surpass Blackberry and the iPhone in global market-share by 2012.  We know Android is the real deal even more now because this week Apple filed what many analysts believe is a strategic lawsuit against HTC, a major Android phone manufacturer.  

The big news today is Apple's massive price cuts for it's Mac Developer Program.  Before today, the program offered multiple tiers of service that cost from $499 to $3,499 per month.  The more expensive plans came with free perks and hardware discounts.  Now developers can join the program for only $99 a month.  There's no word yet on what will be eliminated or changed in the new program, but ADC accounts won't carry over to the new membership after they expire.  This move could also be a competitive response to the growth of the Android community.