×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    1

    The green plus sign

    Dear all,
    how to display the green plus sign of the minimized view when the widget has new feed items?
    i've tried use reference from http://dev.widsets.com/wiki/Syndication_widgets but the green plus sign still not display.
    Any ideas?Thank you.

    regards,
    vis'

    This is my code
    wigdet.xml

    <parameters>
    <parameter name="widgetname">Syndication Service</parameter>
    <parameter type="url" name="url" editable="false">
    <value>http://rss.detik.com/index.php</value>
    </parameter>
    <service type="picviewer" id="widgetImages"/>
    </parameters>

    <services>
    <service type="syndication" id="syndService">
    <reference from="url" to="feedurl"/>
    </service>

    </services>


    syndication_service.he
    class
    {
    void startWidget()
    {
    setMinimizedView(createMinimizedView("viewMini", getStyle("default")));
    }

    Shell openWidget()
    {
    fetch();

    return null;
    }

    void fetch()
    {
    Value arg = [
    "refresh"=>true,
    "max" => 20
    ];

    call(null, "syndService", "getItems", arg, ok, nok);
    }

    void ok(Object state, Value ret)
    {
    setBubble(null, "Got "+ret.size()+" items");
    printf(ret);
    foreach (Value item : ret) {
    printf("subject: "+item.title);

    }
    }


    void nok(Object state, String error)
    {
    setBubble(null, "Syndication get failed: "+error);
    }

    } //class

  2. #2
    Regular Contributor
    Join Date
    Jul 2004
    Posts
    52

    Re: The green plus sign

    To display green plus just: setUpdated(true);

    It will be cleared automatically when widget is opened.

    /render

Similar Threads

  1. Sign MIDlet...The right steps
    By matteopiccioni in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2009-12-02, 15:31
  2. Is it necessary to Sign all embedded files to get express sign certificate>
    By Prexa in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 3
    Last Post: 2008-07-15, 09:07
  3. Why is there always tip message show before SMS after JAVA Sign?
    By nb0574119 in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2007-11-29, 00:16
  4. Midlet sign
    By z80z80 in forum Mobile Java Networking & Messaging & Security
    Replies: 7
    Last Post: 2007-10-14, 21:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •