Results 1 to 19 of 19
Like Tree5Likes
  • 3 Post By nithinphilips
  • 1 Post By Kneelbeforezod
  • 1 Post By heino
  1.    #1  
    Update 2011-11-02: Updated patches for correct cycling through different 3rd party services.

    Right now TouchPad does not support any photo synergy services besides Facebook, Snapfish and Photobucket, which are build in webOS 3.x.

    This is hardcoded into com.palm.service.photos service, which returns specific data only for those accounts.

    For other accounts with PHOTO.UPLOAD capability it returns just the set of permissions without link to actual service.

    This is the patch for com.palm.service.photos so it will read serviceName and serviceCapability(for set of permissions) from account template and use them accordingly to be able to synchronize, upload and comment photos.

    Links for patch files for corresponding webOS versions.

    v3.0.4 - 3rd-party-photo-synergy-enabler-3.0.4.patch

    v3.0.2 - 3rd-party-photo-synergy-enabler-3.0.2.patch

    v3.0.0 - 3rd-party-photo-synergy-enabler-3.0.0.patch

    Information for synergy developers

    Your account template capability section for PHOTO.UPLOAD should contain at least "serviceName" definition. It should contain the id of yor service, dealing with photo sync.

    Another property is optional. It should contain object for list of available actions permissions. Namely
    getAlbums
    getPhotos
    getCaptions
    addCaption
    updateCaption
    getComments
    updateComments
    photoUpload
    videoDownload
    getUserInfo
    videoUpload
    createAlbum
    deleteAlbum
    deletePhoto
    computeNumFiles

    Mostly they should be set to either true or false. Example:
    Code:
    {
        "capability": "PHOTO.UPLOAD",
        "id": "com.example.capability.id",
        "implementation": "palm://com.example.service.id/upload",
        "serviceName": "com.example.service.id",
        "serviceCapability": {
            "getAlbums": true,
            "getPhotos": true,
            "getCaptions": false,
            "addCaption": false,
            "updateCaption": false,
            "getComments": true,
            "updateComments": true,
            "photoUpload": true,
            "videoDownload": true,
            "getUserInfo": false,
            "videoUpload": false,
            "createAlbum": false,
            "deleteAlbum": false,
            "deletePhoto": false,
            "computeNumFiles": false
        }
    },
    "implementation" property can be used for compatibility with webOS 2.x devices as it is not used in webOS 3.x devices.

    Despite large list of permissions, there are only 5 methods implemented right now in webOS. They should be supported by your service

    listPhotos *
    listAlbums *
    upload
    getPhotoComments
    addPhotoComments

    * Almost compulsory methods as without them service is mostly useless.
    Last edited by Compvir; 11/01/2011 at 02:28 PM.
    --
    Code to live, live to ride, ride to the end...
    My Father used to say: "Give an axe to a cave man and he will be grateful. Teach cave man to make axes and he will be grateful for the rest of his life"
    [Patch]3rd party photo synergy enabler.
    Virtual keyboard layouts patches with arrow keys
  2. #2  
    Good work. Now all we need is a Flickr synergy service.
  3. spud101's Avatar
    Posts
    868 Posts
    Global Posts
    876 Global Posts
    #3  
    Is somebody actually going to work on Flickr (or other functionality)? I personally would als like to see uPNP/DLNA over Synergy for photo's. No idea whether that's possible, but that way my photo collection on my NAS shows up in the Touchpad main photo app.

    Synergy is nice, but since webOS 2 and Palm/HP opening it up I still have to see the first ever third party addon.. That search for services in webOS still results in nothing.
  4. doc31's Avatar
    Posts
    707 Posts
    Global Posts
    919 Global Posts
    #4  
    anyone wanna to help getting this to work with 500px (500px for Developers)
    I don't care what you say SPRINT kicks
    Treo650/Treo700p/Treo700wx/Treo755/HTC Touch/ Treo Pro/ Touch Pro/ Touch Diamond / Palm Pre / HTC EVO Shift / Nexus S 4G
    My Themes - Prethemer
  5. #5  
    Quote Originally Posted by Doc31 View Post
    anyone wanna to help getting this to work with 500px (500px for Developers)
    500px RSS feeds work with my app Slide RSS (and most other RSS-enabled photo-sharing websites as well).
  6.    #6  
    Quote Originally Posted by nithinphilips View Post
    Good work. Now all we need is a Flickr synergy service.
    Will look on Flickr API when have some time.

    Quote Originally Posted by spud101 View Post
    Is somebody actually going to work on Flickr (or other functionality)? I personally would als like to see uPNP/DLNA over Synergy for photo's. No idea whether that's possible, but that way my photo collection on my NAS shows up in the Touchpad main photo app.

    Synergy is nice, but since webOS 2 and Palm/HP opening it up I still have to see the first ever third party addon.. That search for services in webOS still results in nothing.
    Well I've made homebrew synergy service for Russian social network Vkontakte about a year ago. Supporting it now.

    uPNP/DLNA will take really a lot time to implement due to not web-based api.
    Last edited by Compvir; 11/01/2011 at 02:46 PM.
    --
    Code to live, live to ride, ride to the end...
    My Father used to say: "Give an axe to a cave man and he will be grateful. Teach cave man to make axes and he will be grateful for the rest of his life"
    [Patch]3rd party photo synergy enabler.
    Virtual keyboard layouts patches with arrow keys
  7. #7  
    I saw this patch in Preware today.

    It's most curious because it's the first time I've seen a Preware patch that had a totally-blank description page! (which is why I found this thread to see what this new patch is for )
  8.    #8  
    Quote Originally Posted by friedscones View Post
    I saw this patch in Preware today.

    It's most curious because it's the first time I've seen a Preware patch that had a totally-blank description page! (which is why I found this thread to see what this new patch is for )
    Really it was a mystery for me too, as I wrote all the desription.
    Even more, I manually downloaded ipk, generated by webos-internals and it had all the info in it. So I suppose it is some bug with submiting process (Saw the same thing with 15px font patch for Pre 3)

    Submited update today and hope the issue will be fixed after confirmation.
    --
    Code to live, live to ride, ride to the end...
    My Father used to say: "Give an axe to a cave man and he will be grateful. Teach cave man to make axes and he will be grateful for the rest of his life"
    [Patch]3rd party photo synergy enabler.
    Virtual keyboard layouts patches with arrow keys
  9. #9  
    need zenfolio support here
    doc31 likes this.
  10. #10  
    Quote Originally Posted by Compvir View Post
    Submitted update today and hope the issue will be fixed after confirmation.
    Been tracking this in Preware since Monday--still no description.

    Am I correct that this is a service for developers to hook into, not an end-user enhancement to webOS?
  11.    #11  
    Quote Originally Posted by bethel95 View Post
    Been tracking this in Preware since Monday--still no description.

    Am I correct that this is a service for developers to hook into, not an end-user enhancement to webOS?
    Yup. It just helps webOS photo app/service to detect actual syncing software.

    -- Sent from my Palm Pre3 using Forums
    --
    Code to live, live to ride, ride to the end...
    My Father used to say: "Give an axe to a cave man and he will be grateful. Teach cave man to make axes and he will be grateful for the rest of his life"
    [Patch]3rd party photo synergy enabler.
    Virtual keyboard layouts patches with arrow keys
  12. MiDoJo's Avatar
    Posts
    168 Posts
    Global Posts
    182 Global Posts
    #12  
    package information fixed due to the new preware release
  13. #13  
    This is promising. I would be very interested in a service for Flickr. I always wondered why it was not included by default given it is one of the more popular photo sites.
  14. #14  
    now an example service that uses it would be totally amazing
    Author:
    Remove Messaging Beeps patch for webOS 3.0.5, Left/Right bezel gestures in LunaCE,
    Whazaa! Messenger and node-wa, SynerGV 1 and 2 - Google Voice integration, XO - Subsonic Commander media streamer, AB:S Launcher
    (1:39:33 PM) halfhalo: Android multitasking is like sticking your fingers into a blender
    GO OPEN WEBOS!
    People asked me for a donate link for my non-catalog work, so here you are:
  15.    #15  
    Quote Originally Posted by Scotland View Post
    This is promising. I would be very interested in a service for Flickr. I always wondered why it was not included by default given it is one of the more popular photo sites.
    I've looked into API and I suppose it is mostly due to the fact they don't have "offline" oauth procedure. I.e. they are not giving auth tokens that do not expire, and they expire after time and needs to be reauthed by user. Which is really not very suitable for service type of use.

    Quote Originally Posted by eblade View Post
    now an example service that uses it would be totally amazing
    Unfortunately webOS development is not my main occupation (and will never be) so it will take a while to find time to implement. But I have plans to look into Flickr support.
    --
    Code to live, live to ride, ride to the end...
    My Father used to say: "Give an axe to a cave man and he will be grateful. Teach cave man to make axes and he will be grateful for the rest of his life"
    [Patch]3rd party photo synergy enabler.
    Virtual keyboard layouts patches with arrow keys
  16. #16  
    picasa webalbums would be an ideal candidate for this or google + :-)
    Subito likes this.
  17. #17  
    I'd love to plug into this for my own website. I wrote an app for uploading pics, but having it integrated would be awesome.
  18.    #18  
    Quote Originally Posted by Grabber5.0 View Post
    I'd love to plug into this for my own website. I wrote an app for uploading pics, but having it integrated would be awesome.
    Sure thing. You just need to write synergy connectior as stated in docs on developer.palm.com and node photo service.
    After that add information stated in first post to your account template for photo capability and all will be done.

    Methods' list for photo service are as follows:
    (where have code bb-tag gone?)

    listAlbums
    Arguments(this.controller.args):
    {accountId: <id of synergy account>}
    Returns:
    {
    returnValue: <true or false>,
    albums: [<array of album objects>]
    }
    album object
    {
    aid: <unique album id>,
    name: <album title>,
    size: {
    images: <count of images>
    }
    }

    listPhotos
    Arguments:
    {
    accountId: <id of synergy account>,
    aid: <unique album id>
    }
    Returns:
    {
    returnValue: <true or false>,
    photos: [<array of photo objects>]
    }
    photo object
    {
    pid: <unique photo id>,
    src_small: <url to thumbnail>,
    src_big: <url to actual photo>,
    caption: <photo caption>,
    type: "image"
    }

    upload
    Arguments:
    {
    accountId: <id of synergy account>,
    path: <local path to photo file>,
    albumId: <only for touchpad, for smartphones it is empty, unique album id>
    }
    Returns:
    {
    returnValue: <true or false>
    }

    getPhotoComments
    Arguments:
    {
    accountId: <id of synergy account>,
    pid: <unique photo id>
    }
    Returns:
    {
    returnValue: <true or false>,
    comments: [<array of comments objects>]
    }
    comment object
    {
    cid: <unique comment id>,
    text: <comment text>,
    time: <comment's timestamp>,
    uid: <unique user id>,
    user: <user name>,
    profilePic: <url to user's avatar>
    }

    addPhotoComments
    Arguments:
    {
    accountId: <id of synergy account>,
    pid: <unique photo id>,
    text: <comment text>
    }
    Returns:
    {
    returnValue: <true or false>,
    cid: <unique comment id>
    }
    --
    Code to live, live to ride, ride to the end...
    My Father used to say: "Give an axe to a cave man and he will be grateful. Teach cave man to make axes and he will be grateful for the rest of his life"
    [Patch]3rd party photo synergy enabler.
    Virtual keyboard layouts patches with arrow keys
  19. #19  
    anyone working on Flickr synergy for this?

Posting Permissions