10-19-2013 12:19 PM
I am developing my app using BlackBerry 10 WebWorks SDK 188.8.131.52. I want to share the images to an external Server. I am having issues having a menu item (I am trying to add a context menu) in the Share menu which will invoke my app to do the uploading and then taking it from there.
However, I am not able to add a menu ( I believe its a context menu) to the Share options ( Camera > Images > Share ). Could not find out any example or any guidance as well.
Any help ?
10-21-2013 09:32 AM
I think I understand what you're trying to do, and I think the best way would be to make use of our FileTransfer API.
This will allow you to upload a file from the device, to a server.
Sample Application: https://github.com/blackberry/BB10-WebWorks-Sample
10-21-2013 11:25 AM
The file transfer is the second part. First I want to add my app to the Share Menu. So when the user opens the Share menu, he should see my app as one option.
10-21-2013 11:53 AM - edited 10-21-2013 11:55 AM
Yes, thats what I want to do, it should show up as a Share target in the images. That means, if a user trys to share, he should see my app as one option. I did all the config changes going through the doc. Added the feature, invoke target element, rim-invoke target, rim permissions, but nothing works.
10-21-2013 03:42 PM
We have a great community sample that shows how to do this here:
The first part of it is declaring the share target in your config.xml file and including the right parameters for the content you want to handle. Check out that file in the sample to see what was done there.