Widget is an application that can be run in the ophone ,You can develop lots of applications, like some logic games,weather forecast and so on.
It must follow the specification of JIL, or it cannot be installed.
Basically, a widget including these things:
Root:
|
+--css
|
--main.css - (cascading style sheets),define the style of the showing pages.
+--js
|
--widget.js,common.js - (javascript),implement the function of the widget application
--config.xml - all the configurations are setting here
--Icon.png - the pic for your application,also defined in config.xml
--index.html - welcome page for application,also defined in config.xml
JIL SDK is a Development kit including eclipse and some plugins,doc,phone emulator.
Eclipse and some plugins here is a development role. in my opinion,all the classes files are packaged in plugin.
Doc is the description of all the API that you used for developping.
Phone emulator is lunch when you want to test your widget. after all ,your widget should run in OMS.
Now, the question is what the widget based on? just mean what has the role like JDK when we use java for
developping,(Donot confuse by the JDK and SDK,SDK here like myeclipse in Java).
The answer is APK-(android package).All the API are packaged in *.apk file.
The tree of the API included is:
Object
|
+--Widget
|
+--PIM
+--Messaging
+--Device
+--..
When I want to create an short message:
Widget.Messaging.createMessag(Widget.Messaging.MessageTypes.SMSMessage);
If any opinions different,pls say it,thanks.