11-23-2009 02:44 PM
Can someone point me in right direction or give some sample code?
11-23-2009 04:31 PM
We currently don't have a tutorial up on the web on how to do this. It isn't fully supported yet, but we did show a way to make it work with the existing SDK at the BlackBerry Developer Conference.
It is a bit of a hack, but it works
I'll talk to the team and see if we can get the tutorial posted online.
11-23-2009 06:47 PM
A good place to start looking is the Scriptable class:
Also the WidgetExtension Interface:
Putting a widget extension together for inclusion in a BlackBerry widget uses these different pieces... We will try and get a tutorial up on how to use them to achieve an extension soon.
Essentially you can create your Scriptable objects and functions, and then create a class that implements the WidgetExtension interface so that it plugs into the widget framework.
The trick is then getting it to compile into your BlackBerry Widget.. this is where the tutorial comes in handy
01-19-2010 05:57 PM
I'm currently looking to do the same thing, more specifically using the bluetooth api inside a widget. I have not been able to find any information on creating the custom widget extensions, except that I'm suppose to use the net.rim.device.api.script and net.rim.device.api.web packages.
Has the tutorial been created for creating custom widget extensions, and if so where might I be able to find it?
01-19-2010 09:20 PM
There is another thread on the topic here:
I've seen Adam's first draft and provided comments and suggestions back . We are going through the second review process right now.
The tutorial shows how to write extensions that will work with the existing Beta software. There will be a more elegant process moving forward, but the tutorial will get you started. You will be able to reuse all your code in the final solution, you will just package it slightly different.
We are trying to push this tutorial through the process and get it up as quickly as we can.
02-02-2010 03:04 PM