This is a migrated thread and some comments may be shown as answers.

is it a way to store photos in an icenium so i can retrieve the picture and put on top of my taken picture from my camera

1 Answer 52 Views
News & Updates
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rozen
Top achievements
Rank 1
Rozen asked on 09 Aug 2013, 08:34 AM
step1 taking a picture 
step 2 importing picture from the icenium cloud and putting that picture on top of the picture taken(step1)
step 3 resizing step 2 picture
step 4 uploading final picture to face book or uploading to photo liabary 

i having problem with step 2 3 and 4. could you please help me

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 13 Aug 2013, 02:30 PM
Hello Rozen,

Thanks for your interest in Icenium. Up to your question: step 2 cannot happen as nothing from an app build with Icenium is stored in our cloud. When you take a picture on a device, it would be stored either on the device or on a server (depending what your goal is). The Camera and Capture Cordova APIs involve basic configuration which does not involve complex operations like combining images but you should be able to resize the image by using the getPicture method and the quality,targetWidth and targetHeight options. There is also a Cordova plugin that could get the job done for you: https://github.com/raananw/PhoneGap-Image-Resizer. Please go through the Working with Custom Plugins documentation to understand how to integrate this plugin to your app.
Uploading files from Cordova is accomplished via the FileTransfer. By passing the Facebook Access Token and the Image as a message, you should be able to upload the image to Facebook, here is a nice tutorial to check: http://www.drewdahlman.com/meusLabs/?p=171
or you can use the Facebook Connect Cordova plugin from this forum thread.

Regards,
Steve
Telerik

Do you enjoy Icenium? Vote for it as your favorite new product here (use short code H048S).
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
News & Updates
Asked by
Rozen
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or