Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User teskterrus's Avatar
    Join Date
    Sep 2011
    Posts
    25
    Hi all. I'm writing WRT widget which display at homescreen some images from native application. Images transferred through APIBridge.
    Problem is that widget asks user few times "Allow application to access user data?" when i send requests to APIBridge.
    Is there any possibility to avoid multiple questions and ask user to allow all access by one question?

  2. #2
    Nokia Developer Moderator isalento's Avatar
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    832
    Hi,

    What API Bridge APIs are you using?

    Br,
    Ilkka

  3. #3
    Registered User teskterrus's Avatar
    Join Date
    Sep 2011
    Posts
    25
    I use APIBridge.Internal._sendRequest to send requests to my own APIBridge ECOM plugin.

  4. #4
    Registered User teskterrus's Avatar
    Join Date
    Sep 2011
    Posts
    25
    I've found device.getServicePermissions function in Platform Services but its useless in my case. Does APIBridge has something similar?

  5. #5
    Nokia Developer Moderator Risalmin's Avatar
    Join Date
    May 2007
    Location
    Finland
    Posts
    134
    Do you initiate the object used to get the data once globally or each time separately?

  6. #6
    Registered User teskterrus's Avatar
    Join Date
    Sep 2011
    Posts
    25
    The model is APIBridge.Internal._sendRequest("plugin_link?requestName&requestParam"). I get "Allow application to access user data?" message when i use result of requests with different names.
    Example:
    Code:
      APIBridge.Internal._sendRequest("plugin_link?GetSmallImg&requestParam", function OnSuccess(result){image.src = result}, function OnError(err){});
    
      APIBridge.Internal._sendRequest("plugin_link?GetBigImg&requestParam", function OnSuccess(result){image.src = result}, function OnError(err){});
    APIBridge.Internal._sendRequest each time creates XMLHttpRequest each time. So what object did you mean?

Similar Threads

  1. "Allow application to read user data"
    By thanhlnh in forum Mobile Java Networking & Messaging & Security
    Replies: 7
    Last Post: 2011-08-25, 14:47
  2. Yet another question about the "read user data" alert
    By greencursor in forum Mobile Java Networking & Messaging & Security
    Replies: 8
    Last Post: 2008-10-24, 14:09
  3. "Allow application to read user data?"
    By giapage in forum Mobile Java General
    Replies: 3
    Last Post: 2008-04-02, 02:25
  4. Multiple "Allow application to read data in:" prompts
    By selenatan in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2007-06-17, 03:36
  5. N70 stuck on "Not allowed" on "Edit user data"
    By andreigheorghe in forum Mobile Java General
    Replies: 1
    Last Post: 2006-09-01, 18: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