Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User farraposo's Avatar
    Join Date
    Jul 2010
    Posts
    6
    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 Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,671
    platform services, and WRT Widget APIs are not accessible from the web browser, they are only accessible from Widgets.

  3. #3
    Registered User farraposo's Avatar
    Join Date
    Jul 2010
    Posts
    6
    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 Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,671
    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
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,413
    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 farraposo's Avatar
    Join Date
    Jul 2010
    Posts
    6
    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. Access current active profile in javascript for Widget
    By AawarA in forum Symbian Web Runtime
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved