×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    6

    Is there any way to access the WRT widget class from a javascript on a web server?

    I have a widget created that i would install on a web server for access from the mobile browser, but I have an error when access to objects from the WRT "widget" class.

    Otherwise, can I access the WebRuntime classes from the web browser??

    thanks and sorry for my bad English.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,175

    Re: Is there any way to access the WRT widget class from a javascript on a web server

    platform services, and WRT Widget APIs are not accessible from the web browser, they are only accessible from Widgets.

  3. #3
    Registered User
    Join Date
    Jul 2010
    Posts
    6

    Re: Is there any way to access the WRT widget class from a javascript on a web server

    ok.
    The fact is that I have a widget with access to the device's camera using javascript and Platform services. And I would use it on a website hosted on a server, is there any way to do this by javascritp?
    Last edited by farraposo; 2010-08-11 at 10:18.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,175

    Re: Is there any way to access the WRT widget class from a javascript on a web server

    the answer is same, the Browser does not load the Widget interface, nor the device interface needed for utilizing the platform services, or widget APIs.

  5. #5
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: Is there any way to access the WRT widget class from a javascript on a web server

    In other words, if you need to use WRT features to access local device functions, you need to package your code as a user-installable WRT widget package, and have the phone user download and install the widget and then launch it from the phone.

  6. #6
    Registered User
    Join Date
    Jul 2010
    Posts
    6

    Re: Is there any way to access the WRT widget class from a javascript on a web server

    thanks for your answer.
    Last edited by farraposo; 2010-08-11 at 10:17.

Similar Threads

  1. asp.net web page detect the handset if it support wrt widget
    By yfarag in forum General Development Questions
    Replies: 1
    Last Post: 2010-08-04, 09:34
  2. Phonegap with Nokia WRT: How to interact with server from javascript
    By suryapavan in forum General Development Questions
    Replies: 3
    Last Post: 2010-07-09, 14:30
  3. Replies: 0
    Last Post: 2009-12-29, 10:46
  4. Replies: 1
    Last Post: 2009-12-20, 05:28
  5. Flash Lite with Javascript - not in a WRT widget
    By funkadeelia in forum [Archived] Flash Lite on Nokia Devices
    Replies: 4
    Last Post: 2009-03-05, 13:55

Posting Permissions

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