You Are Here:

Community: Blogs

Who am I?

rdrincon

I work as Senior Developer Consultant based in Mexico City. I have been working with mobile related technologies for 5 years, I'm a specialist in J2ME (SCMAD) which I have followed since its early stage. I also know well the whole mobile distribution landscape since I have worked either with developers and aggregators for several years and have also been involved in the academic area as university professor in mobile related technologies and java programming. I have also experience in web development and scripting languages and look forward to support the developer community in all these mobile emerging technologies.

 

Calendar

« February 2009 »
Mo Tu We Th Fr Sa Su
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28  
 

Ruben Rincon's Forum Nokia Blog

Widget Example: Using google calendar and S60 Platform Services

rdrincon | 04 February, 2009 01:32

This is a simple and basic example widget that uses google calendar and  the platform services of the S60 5ed.

 

It shows how to access the google calendar javascript API to retrieve information of a public calendar.  In this case a test calendar I created but you can changed for your own.

The widget is composed by two basic screens, each screen represented by a <div> tag within the .html file.

The First screen will show a list of events ordered by date.  The name of the event and the date will be displayed in each entry.

The second screen will show the details of a picked event.  It also contains an options menu with two actions, the first one allows to store the event in the default phone calendar, the second one allows to return to the event list.

 

The Javascript Calendar Service API is used to store the event in the phone. 

 

Two important notes:

1.  The application does not check if the calendar already has a specific entry, so if you add it twice you will see it twice on the phone.

2.  Since the WebKit is not yet supported by the google Calendar API, you will see a message asking you to use it at your own risk... well, you'd better take the risk, works just fine.


Here... a couple sceenshots and the link download the example. 

 Download Google Calendar Widget example

Screenshot of Google calendar widget

Let me know your comments. 

 

RSSComments

Re: Widget Example: Using google calendar and S60 Platform Services

wmseto | 04/02/2009, 20:02

wmseto

Good work! Now I just need to find a 5th edition device to test it. :p

Re: Widget Example: Using google calendar and S60 Platform Services

jappit | 04/02/2009, 21:51

jappit

Cool example! Increasing resources and available APIs on S60 5th edition devices will dramatically boost usage of available JavaScript/REST APIs in WRT widgets, and so also development of widgets itself. Only limit I can see is current "lack of appeal" (from a market point of view) of WRT widgets when compared to other technologies. But we're just at the beginning... :)

Re: Widget Example: Using google calendar and S60 Platform Services

rdrincon | 05/02/2009, 05:41

rdrincon

As most of you guys, in my career I have used several programming languages to create applications. If we talk about mobile, Widgets is so far the technology with more advantage at UI level and fastest development. That brings a lot of market value since time to market is a key element of succesfull applications. Now, platform Services allow you to go further and integrate with phone capabilities .. that means, create a compelling mobile app only using web tecnologies :)

Re: Widget Example: Using google calendar and S60 Platform Services

uptian | 07/02/2009, 18:30

uptian

WRT widgets are meant to bring web services to mobile to help web service providers expanding web services to millions of s60 phone users. In a way, it is not the same as 'traditional mobile apps' model where a developer looking at monetize it by one time fee. Widget is more about distributing web content, get more eye-balls, optimised interaction with mobile users and expand existing web biz case to mobile.

for example, widgets with google calendar helps to provide access to Google calendar while on the move. This adds value to Google calendar users and also to Google biz!

cheers!

Does not work on N97

renehagen | 06/07/2009, 14:26

I was looking for something like this but the sample does not work when running on my N97.

Pops up alerts:

1st Message:[object Event]
2nd Root cause: HTTP error 400 with status text of:[object Event]

RE: Does not work on N97

rdrincon | 09/07/2009, 20:09

rdrincon

I have been checking and it seems that google calendar is no longer working for Webkit, not even a warning message is displayed, content is just not sent.
Anyway, there was a small bug and I corrected at parsing the time.

You must login to post comments. Login
 

Rate This

 
 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fblogsE2eforumE2enokiaE2ecomE2fblogE2farabellaE2ddavidsE2dforumE2dnokiaE2dblogE2f2009E2f04E2f03E2fwrtE5fforE5fdesignersX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZBlogContentQ qdcZtypeQUqfntypeZBlogE45ntryQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fFNE2d1E2fBlogTopicE2fgeneralX qfnZtopicQUqfnTopicZwebE5frunE5ftimeQ qfnZtopicQUqfnTopicZwebE5ftechnologyQ qfnZtypeQUqfntypeZBlogContentQ qfnZtypeQUqfntypeZBlogE45ntryQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZBlogContentQ qrdfZtypeQUqfntypeZBlogE45ntryQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ
User Rating: qfnZuserE5FratingQNx5E2E0000X