Archive for the 'Adobe Share' Category

11
May

Adobe Share ActionScript library goes community - Updated! Now with PDF Support!

sharelogolong.jpg

Don’t you just love an exciting headline. If you haven’t heard by now, Share (Document Services API) is an online service provided by Adobe that allows you to share, publish, and organize documents online. Share is already a good service, but it can be an even better service with a little help from all of us. How can we make the service better?

1. Use the service and give feedback on the Share Forum. Whether you’re happy or not they want to hear about it. Have a feature idea, pass it on.
Share Forum
Share API Forum

2. Tell other people about the service. Its 1gb of free space for your documents. Who doesn’t like free.
https://share.acrobat.com

3. Create and share your own projects around the service.

4. Contribute to open source projects that use the Share API.

There are many open source libraries that allow you to easily use the Share Service in your applications (listed at the bottom). One of these libraries is the ActionScript library. Developed internally at Adobe, it has the full original functionality of the service but has fallen behind in the latest revisions of the Share Service. So when speaking to Fang Chang (Adobe Product Manager in charge of the Share APIs) this past week I offered to help bring an updated version of the ActionScript library into the hands of the community. Fang who is a very patient man, (listened to all my feature idea ramblings) felt like it would be a great move. So here we are.

What has been done?

1. The as3 library has been updated to work with the new endpoint and pdf creation support has been added
2. Updated AirShare demo for the release version of AIR.
3. The code has been checked into subversion

4. Documentation has been generated

5. A release has been made that includes the updated source/example.

Example of upload with pdf creation:

import com.adobe.share.api.ShareAPIToken;
import com.adobe.share.api.ShareAPIEvent;
import com.adobe.share.api.ShareAPIUser;
import com.adobe.share.api.ShareAPI;
 
private var _shareAPI:ShareAPI = new ShareAPI("<api key>", "<secret>");
private var _shareAPIUser:ShareAPIUser = new ShareAPIUser("<share user name>", "<share password>");
 
private var _file:File = new File();
 
private function initApp():void{
	var shareAPIToken:ShareAPIToken = _shareAPI.login(_shareAPIUser);
 
	shareAPIToken.addEventListener(ShareAPIEvent.API_AUTHENTICATED, function():void{
		_file.browse();
		_file.addEventListener(Event.SELECT, onFileSelected);
		_file.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, onFileUploadComplete);				
	});
 
}
private function onFileSelected(event:Event):void{
	_shareAPI.uploadFile(_shareAPIUser, _file, null, _file.name, "", true, true);
}
private function onFileUploadComplete(event:DataEvent):void{
	trace("complete");
}

Want to contribute to the Library?
Please contact me or select join from the project site.

Other Share Libraries:
Java Library
Ruby (Developed by Hideyuki KATO) Ruby
Python (Developed by Vivek Kapoor) Python
Cold Fusion (Developed by Ray Camden) Cold Fusion

29
Mar

Handout updated to use Share improvements (Well, the ones you can use more than 5 times)

Adobe Share has received a much needed update to its document embed capability. The previous version required keen eyesight or the use of a magnifying glass to read the embedded docs. The new version has received the “fullscreen” button treatment. I consider this the only real way to read these documents. Really… how many times have you read embedded documents in blog pages even if they have adequate scaling controls in place (Scribed, etc…)?

Magnifying Glass

The second update to Share is the ability to generate PDF versions of your uploaded documents. Which is really awesome all “five” times you’re able to do it. As advertised on the login page you get 5 conversions. There doesn’t seem to be any way to get additional conversions and there isn’t any explanation on whether more will be possible in the future (that I could find). I recommend you just ignore that “Convert to PDF” button for now. Why? Because if you’re anything like me the “neat” factor will be far outweighed by the “aggravation” factor in this case.

Sharelimit

If in the future they do open up the PDF creation, then I will definitely add it to the Handout program. In conclusion it is good to see improvements being made to the Share service. I expect these improvements to get more exciting in the future, hopefully with ties coming between applications and services such as Buzzword, Share, Digital Editions, etc…

Get the latest version of Handout
Read more about Share updates at the Share Blog

03
Jan

Handout Share Application Updated to AIR Beta 3

The simplest way to update your AIR application to Beta 3 is to read through the AIR release notes and update your code. You could try to update your application without reading the notes but that would be just silly, but hey maybe you’re in to that.

apollo_50×50.jpghandout_50×50.png

Not much of importance has been added to this release. A few bug fixes and file filtering has been added since the original version.

The most significant improvement has been the Share service itself. If you tried the service originally and found it to be slow and full of delays then now is the time to try it again. The Share service has matured and the performance has vastly improved.

To install the new version:
1. Uninstall the current version
2. Go here and click the badge or download the AIR file

26
Oct

New AIR App: “Handout” powered by Adobe SHARE


Handout is a desktop application I’ve made that allows you to drag and drop upload your documents to Adobe SHARE.

GO HERE TO INSTALL THE LATEST VERSION OF HANDOUT

 

Features

1. Drag and Drop upload multiple files to Share

2. Public share any of your Share Files.

3. Send Share file links directly to Pownce or Twitter. (With message)

4. Create a tinyurl for a Share public link.

5. Quickly get embed code for a shared file.

6. Share links and direct file links.

 

handout_48.png

Handout Screen Shots

 

- File upload 

Uploading SHARE File

 

- SHARE the file

 Share a file

 

- Send a share link to Pownce

 Send a link to Pownce

 

Putting it together (Mash-up)

If you haven’t noticed the Flex/Flash community has come a long way in the last year. We now have tons of resources made available through the community. Whether its API’s, frameworks, skins, etc, its the pieces we need to realize our ideas quickly. 

 

Another great mashup:

Mashup 1

 

 

Thats really the basis for this little project. Making use of community resources and sharing the results. In future posts I’m planning on discussing in detail the elements that go into concepting, creating, and distributing an AIR app. 

 

Known Issues with Handout (If i know about it, I might as well share it, right?)

1. Deleting a file takes a long time. I believe this is something the Share people are working on.

2. Getting the list of files takes a long time (5-10 seconds). This just started with the last Share update and I’ve reported it. 

3. You must delete a file before you upload the same file again. 

4. On the first login for twitter and pownce you have to click the files icon again to send the link.

5. This app has been tested by my top notch QA team which includes no less than myself, my girlfriend, 2 cats, my brother, and anyone else i could force to look at it and manage to keep their attention for 5 minutes.. so.. you know its solid

6. Code cut off was 5 minutes ago

 

 

Many Thanks to these people who unknowingly contributed

———-

Adobe SHARE

AS3 API & Service

https://share.adobe.com/adc/adc.do?docid=72b0d849-7863-11dc-b75f-151d3f6d9313

http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=656

Share has amazing potential and it will be fun to see what these guys come up with.

 

AirUpdateManager

http://blog.everythingflex.com/2007/10/01/air-update-manager/

 

as3corelib-src

http://code.google.com/p/as3corelib/

 

ASCript32

http://ascrypt3.riaforge.org/index.cfm

 

pownce

http://www.pownce.com

 

twitter

http://www.twitter.com

 

Icons

http://famfamfam.com/ and other places on my computer

 

Handout - Application Icon

- My girlfriend

All developers dream of having a girlfriend who is a designer. I’m living that dream.

 

People at the SHARE forum 

http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=656

Thanks to Raymond Camden for finding some of the bugs before me. Also, a big thanks to the SHARE people who always respond quickly to questions.

 

AS3notification Library

http://code.google.com/p/as3notificationlib/

Also the sliding dialogs are based on the ones from Salsa


TinyURL

http://tinyurl.com

 

Scale Nine - Share Icon

http://scalenine.com/blog/2007/10/16/thoughts-on-adobe-share/

I think Juan Sanchez made the icon but I may be wrong, its where i got it from…

 

Flex Builder 3 Public Beta 2 

http://labs.adobe.com/technologies/flex/flexbuilder3/

 

Adobe AIR

http://labs.adobe.com/technologies/air/




flickr