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.
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
Let me know your comments.
Web Runtime (WRT) |
Next |
Previous |
Comments (6) |
Trackbacks (0)
jappit | 04/02/2009, 21:51
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... :)
rdrincon | 05/02/2009, 05:41
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 :)
uptian | 07/02/2009, 18:30
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!
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]
rdrincon | 09/07/2009, 20:09
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.
Re: Widget Example: Using google calendar and S60 Platform Services
wmseto | 04/02/2009, 20:02
Good work! Now I just need to find a 5th edition device to test it. :p