Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
Posts: 30
Registered: ‎06-22-2012
My Device: Blackberry Curve 8520
Accepted Solution

Synchronize data from Blog to app

Hello , can I update my blackberry playbook app with data from my blog?, My app talks about tips, a blog is possible to synchronize the data, that whenever I actualize the blog, or facebook, thanks

Developer
Developer
Posts: 607
Registered: ‎04-29-2011
My Device: PlayBook 16GB, BB10 LE Z10 (red)
My Carrier: none

Re: Synchronize data from Blog to app

If your blog is able to deliver the updated informations via an API you should be able to update the informations within your PlayBook app using an XHR request. I think you could use a setTimeout/setInterval or even a button to call the blog API to request for changes.


"Like" if you liked the post.
"Accept as Solution" if the post solves your question.
Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,

Re: Synchronize data from Blog to app

The easiest way would be to load the RSS feed of your blog, as for Facebook, you would need to use their graph API which would be much more complicated since you would have to use authentication.

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Developer
Posts: 30
Registered: ‎06-22-2012
My Device: Blackberry Curve 8520

Re: Synchronize data from Blog to app

Hello!, The blog that I use is the one offered by Google, blogger, I'm going to check the API to see how I think the code to update, my app, thank you very much!

Developer
Posts: 30
Registered: ‎06-22-2012
My Device: Blackberry Curve 8520

Re: Synchronize data from Blog to app

Hello, I going to chek, how to use the RSS sevices, thanks a lot!

Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,

Re: Synchronize data from Blog to app

Check this out:

http://support.google.com/blogger/bin/answer.py?hl=en&answer=97933

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Developer
Posts: 30
Registered: ‎06-22-2012
My Device: Blackberry Curve 8520

Re: Synchronize data from Blog to app

Hi, thanks a lot!

Developer
Posts: 134
Registered: ‎05-19-2012
My Device: Torch 9800, PlayBook 64GB, Dev Alpha

Re: Synchronize data from Blog to app

If you're working with jQuery I suggest you to take a look at the jFeed plugin which makes a lot easier to retrieve and parse RSS on your WebWorks app.

If I helped you please click the "Like" button to support my work.
My apps: CherryNotes - Bookmarked - Requests
Social Me: about.me - Twitter
Developer
Posts: 30
Registered: ‎06-22-2012
My Device: Blackberry Curve 8520

Re: Synchronize data from Blog to app

Yes , I work with Jquery and Jequry mobile, thanks