`
tanglei198577
  • 浏览: 59955 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类

Widget developpment by JIL SDK

    博客分类:
  • java
阅读更多

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.

 

1
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics