01-30-2010 10:58 AM
OS: Windows Vista Enterprise 32 bit
I have installed the Widget plugin for Visual Studio 2008 and started to build a widget application. Have tried all features roaming around inside this forum so far. That's why i wonder if these features below exists too :
1. I know the widget SDK support saving and loading Local File with Blob/Binary mode. The problem is what if i want to get a remote file and save it locally. For example i want to fetch a list of images from my remote server and cached them locally so that it will saved the bandwidth later when the user view them again.
But the rule is i can't shipped them with the widget since the images will be constantly changes from time to time. That's why i need them to be fetched from the server regularly by the widget.
2. I know that the Java development have support on listening and intercept an Event such as On Call Receives, etc. The question is the widget support this feature too ? Is there any example which can be tested out?
I would love to see SMS/Email incoming-outgoing and Phone call incoming-outgoing event handler sample if they supported.
Solved! Go to Solution.
01-30-2010 07:49 PM
For your first question... you can use the Gears HttpRequest object where you can request your images and grab their contents using the "responseBlob" property. You can then save this Blob down to the file system locally.
For events on incoming call and new email messages... they are coming as quickly as we can create them. However, there will also be a lab released early next week that will step you through how to wrap any of the existing Java APIs so that they can be used in your Widget.
That may be a topic of interest for you as well
01-31-2010 02:46 AM
01-31-2010 08:21 AM
We are considering building this functionality into the product, but I couldn't tell you if or when it may be available.
01-31-2010 10:37 AM
I was hoping it's build in by default since I thought that the purchased key will enabled this option as an added value.
However it's really a great environment which enable web based apps developer move their apps into mobile based version. Looking forward for new development options .
Thank you verymuch for the response tneil.