×

Discussion Board

Search:

Type: Posts; User: peppe@peppe.net; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Re: How to get phone contact list and number with C#

    I believe you wrote this in the wrong forum by accident. This forum ("WRT Widget Development") is about S60 web-technology -bsaed widget development.

    Cheers,
    Peppe
  2. Replies
    4
    Views
    7,448

    Re: setPreferenceForKey() size limit?

    Nope, I haven't. You'd have to parse it into a DOM tree yourself if you stored it as the raw XML text though. However you might want to consider storing JavaScript objects as JSON strings..
  3. Replies
    2
    Views
    9,143

    Re: XML File

    I'm not sure I understand question #1. Can you please try to explain what you mean?

    As far as #2 is concerned, you can fetch any kind of text information using the XMLHttpRequest - not just XML....
  4. Replies
    5
    Views
    10,641

    Re: WRT XML Parser

    Just fetch the data with XHR and you can get the parsed DOM tree with the responseXML property of the XMLHttpRequest object. I.e. you don't need to explicitly parse anything - it's done for you.
    ...
  5. Replies
    7
    Views
    8,503

    Re: responseXML causes KERN-EXEC 3

    What's the actual encoding? I mean just changing the declaration doesn't change the actual encoding - you're just changing the promise for what the file is encoded with. :)

    Perhaps there's a BOM...
  6. Replies
    4
    Views
    7,448

    Re: setPreferenceForKey() size limit?

    There's no limit other than of course when you start to run out of memory. :) I've used it with over 200kb of data and it works well and is quite fast even with large amounts of data!

    Peppe
  7. Re: How to remove setRightSoftkeyLabel() functionality?

    Don't use links to move away from the main HTML. Rather fetch stuff with XHR and modify the current DOM of the main HTML. That way you keep being within the widget context rather than moving into a...
  8. Replies
    6
    Views
    9,204

    Re: jQuery Selectors Crashing App

    Do you have a simple testcase of this? Preferably the bare minimum code and content that is required to get this to still crash? It would be very much appreciated! You can email it to me at...
  9. Re: How to detect the landscape/portraite mode?

    The code above relies on the fact that the screen width is larger than screen height when in "landscape" mode and vice versa in "portrait" mode. Do you actually get the screen to change from...
  10. Re: images not loaded after cancelling network connection

    Do you mean local images within the wgz? Because obviously images from the network wouldn't load if you don't allow a network connection. :)
  11. Replies
    4
    Views
    6,860

    Re: xml error

    Try using the de-facto standard XMLHttpRequest instead and you'll find that you won't have to write any if-blocks on a per-browser basis. XMLHttpRequest works in all modern web browser on all...
  12. Replies
    6
    Views
    9,513

    Re: WRT available on N810

    N810 and Maemo do not support the web runtime. It uses a browser called MicroB, which is Gecko (Mozilla) based rather than WebKit based.

    Peppe
  13. Replies
    2
    Views
    7,958

    Re: [moved] Widgets Development

    Note that href is a property - not a function. Either way it's not a good idea to open a web page in this manner within a widget. First of all you end up losing control of the widget becuase the...
  14. Re: eSWT - regarding license and requirements

    I think you are asking the question in the wrong board. While eSWT is a widget toolkit, it's a widget toolkit in the "user interface control" -way. "The WidSets and Widgets" boards here on Forum...
  15. Re: MDP - How to display an image from phone's image folder in a widget?

    A widget doesn't have rights to access the local file system.
  16. Re: How to remove setRightSoftkeyLabel() functionality?

    I'm not sure I follow.. If you actually have "pages" (i.e. separete HTML files) then just call the function to change the softkey label when you switch from one "page" to another. Is there some...
  17. Re: setPreferenceForKey() -> ¿Performance impact? ¿Limitations?

    Whatever makes you happy. :)
  18. Re: setPreferenceForKey() -> ¿Performance impact? ¿Limitations?

    Settings are stored persistently in a file used internally by the system which developers don't need ot know or care about.
  19. Re: How to remove setRightSoftkeyLabel() functionality?

    I recommend not thinking in terms of "pages" when it comes to widgets. Softkey labels are not set "per page" but rather globally within a widget. You are free to set the softkey label to whatever you...
  20. Replies
    3
    Views
    9,685

    Re: How to get device time and date?

    Can you elaborate on that a little bit. What did you do and what happened?
  21. Replies
    3
    Views
    9,685

    Re: How to get device time and date?

    You can use the standard JavaScript Date object.
  22. Replies
    6
    Views
    11,283

    Re: Http Basic authorization

    In principle you should be able to use the username and password arguments in the open() method of XHR as the function is defined as:

    open(method, URL, async, userName, password)

    If that fails...
  23. Re: Question about controlling UI when editing a textarea

    Orientation changes result in that the window size changes and that can be detected by normal DOM events.

    It is not possible to programmatically hide the bars that appear for text editing as they...
  24. Replies
    3
    Views
    8,596

    Re: widget using local xml file

    The issue you have is because load() is not implemented in WebKit.

    JSON doesn't require accessing a remote server - it is a notation format for specifying objects in JavaScript, including complex...
  25. Replies
    3
    Views
    8,596

    Re: widget using local xml file

    If it was possible then it would be possible using XMLHttpRequest to a file:/// URL, but I doubt very much that it is possible. What I would do instead, however, is to use JSON and load it simply by...
Results 1 to 25 of 60
Page 1 of 3 1 2 3
×