×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    5

    Why does my rss feed crash my widget

    I have 2 rss feeds at http://www.kino.dk/Nyheder.aspx?rss=1 and http://www.kino.dk/Film.aspx?rss=1 which I have build a small widget that reads.
    If I click through the 2 rss feeds a couple of times the widget crashes on my nokia 5800. It runs smoothly i Aptana.
    I have tried rss widgets with my feed and they crash as well.
    Is there a limit of the size of the xml you can fetch ? And does the WRT runtime not do correct cleanup of memory ?

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Why does my rss feed crash my widget

    Hi tbertram,

    it is hard to say what happens without viewing your source code. Generally speaking, mobile devices have not plenty of memory to be used, so you always have to be careful when dealing with big data.

    Does your code correctly work with other RSS feeds? Also, try to specify a bit more what happens when you click on your RSS feeds (the item detail view is opened? the RSS feed is refreshed?).

    Pit

  3. #3
    Registered User
    Join Date
    May 2009
    Posts
    5

    Re: Why does my rss feed crash my widget

    Hi Jappit

    Thanks for your reply, generally the code works with other rss feeds. Like this one: http://mobil.aftonbladet.se/rss/nyhe...er=nokiawidget so thats why I thought it might be a problem with the rss.
    When I start up the widget, it fetches the rss and displays it without problems. When I click in my menu on the other rss feed, it fetches that and shows it ok. I can do that a couple of times (switch between the two rss feeds) but all of a sudden the widget crashes and I'm back and the nokia menu, and can start up the widget ones more.
    If I use the above rss feed it works fine, which I find strange.
    Do you want me to paste a link to the widget ? Then I need to package it and upload it.

    Regards Thomas

  4. #4
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Why does my rss feed crash my widget

    Hi Thomas,

    since it depends on the used RSS feeds, this could surely depend on some memory issues. If you want you can surely post your Widget's link, so that other developers can test it and give you some feedbacks about it.

    Pit

  5. #5
    Registered User
    Join Date
    May 2009
    Posts
    5

    Re: Why does my rss feed crash my widget

    Hi Jappit

    Now I have uploaded my widget, it is really simple, but still crashes on my 5800 XpressMusic.
    Sometimes I have to click a lot of times on the menu items (reload the rss feed) before it happens.
    But it allways happens at some point.
    You can find my widget here:
    http://kino.etrack.dk/Kino.dk.wgz

    Hope somebody can help me.
    Regards
    Thomas

Similar Threads

  1. existing RSS widget
    By asshaikh432 in forum Symbian
    Replies: 7
    Last Post: 2009-06-08, 13:51
  2. Replies: 7
    Last Post: 2009-05-27, 06:27
  3. My widget stopped working. Feed read timeout
    By miklos.szanyi@gmail.com in forum Widsets Development
    Replies: 0
    Last Post: 2009-01-23, 10:00
  4. Editing RSS standard widget from Aptana
    By HenkJan in forum Widsets Development
    Replies: 0
    Last Post: 2008-12-30, 01:21
  5. RSS show widget
    By Halem_Aad in forum Symbian
    Replies: 2
    Last Post: 2008-10-07, 18:32

Posting Permissions

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