×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    588

    How to open a url using symbian browser??

    Hi,

    I want to open a url using the native browser application. Is that possible from the symbian application's code? I came to know about CBrCtlInterface class but could not find
    any example for this.

    can somebody give some pointers?

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

    Re: How to open a url using symbian browser??

    What about checking wiki: http://www.developer.nokia.com/Commu...in_3rd_edition should still work just fine.

  3. #3
    Registered User
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    588

    Re: How to open a url using symbian browser??

    Yes yucaa it does. Thanks.

    But when i try to open this with a default url, it fails saying unable to perform operation -26000
    couldn't find what that means.

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

    Re: How to open a url using symbian browser??

    What excatly you try doing ?
    And how ?

    Anyway I would just use it with "4+ <Space>+<Url>" option, also you should remember to add SwEvent capability to your app.

  5. #5
    Registered User
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    588

    Re: How to open a url using symbian browser??

    I want exactly what you suggested. That already has "4+space" + method takes url. I also added SwEvent capability. This is just fine but when i am opening a url through browser, after winsock connect, it s throwing this error
    Web:
    Unable to perform operation (-26000)

    but if i try to explicitly type the url when the browser is opened, it works. Thats not what i want. Application has to pass url while launching the browser.

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

    Re: How to open a url using symbian browser??

    Basically it has worked just fine , so how are you trying to use it ? And can you show what kind of string you are giving iin there ?

  7. #7
    Registered User
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    588

    Re: How to open a url using symbian browser??

    I have not changed anything in the method.
    I am calling that method something like this:

    LaunchBrowserL(_L("http://www.google.com"));

    This is all fine except that error.

  8. #8
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,080

    Re: How to open a url using symbian browser??

    Trying on a real device or on emulator? with : winsock connect, it s throwing this error , seems like emulator

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

    Re: How to open a url using symbian browser??

    Quote Originally Posted by vineet.jain View Post
    Trying on a real device or on emulator? with : winsock connect, it s throwing this error , seems like emulator
    thanks, somehow missed that one..

  10. #10
    Registered User
    Join Date
    Sep 2008
    Location
    Vancouver, Canada
    Posts
    588

    Re: How to open a url using symbian browser??

    On both. On emulator it gives that panic and on real device, the browser opens and crashes very quickly and focus comes back to application.

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

    Re: How to open a url using symbian browser??

    Never seen that behaviour. Anyway, can you check that the device has latest firmware, and then you could check the panic ode for the crash. Also you could check whether it is device problem, by trying it in the RDA as well.

Similar Threads

  1. Symbian^3 series don't allow signed application to open browser
    By mehmetarikan in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2011-04-14, 13:25
  2. Replies: 6
    Last Post: 2009-05-29, 15:00
  3. Replies: 0
    Last Post: 2007-04-03, 19:26
  4. Can I open the WEB browser (not wap) in E61?
    By itrafa in forum Series 40 & S60 Platform Feedback Archive
    Replies: 0
    Last Post: 2006-11-30, 10:05

Posting Permissions

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