Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2008

    How can i open the local html?

    hi everyone

    i am developing application about j2me(S40).

    My file(.html) is always saved to special directory in device
    ( ex) c:\myfolder\ex.html)

    i want to know the method to open the html file by device browser.

    if you know it, let me know.

    Thank you.
    Have nice day.

  2. #2
    Super Contributor
    Join Date
    Apr 2007

    Re: How can i open the local html?

    you could try with a PlatformRequest and see if it works ?
    You will need the relative position of the file though (as in for example c://myIndex.html)

    btw you're using a S40 which means you will have to exit app after the PlatformRequest, after which the browser may (or may not) be started by the OS... In a S60, because of its multi-tasking capabilities, the browser may (or again may not) be started right away...
    You can check this by the boolean which is returned from the PlatformRequest call, if it's true you have to exit your app first..
    Last edited by Tiger79; 2009-09-09 at 10:21.

Similar Threads

  1. Porting Open C - Need Help Pls !!!
    By srivatsan.d in forum Open C/C++
    Replies: 7
    Last Post: 2009-09-04, 11:51
  2. Support for Open Type Fonts
    By ahmadn in forum General Development Questions
    Replies: 0
    Last Post: 2009-03-25, 07:43
  3. Cannot open file in use
    By Simron in forum Bluetooth Technology
    Replies: 1
    Last Post: 2009-02-05, 16:00
  4. Cannot open file in use
    By Simron in forum Symbian
    Replies: 9
    Last Post: 2009-02-05, 05:35

Posting Permissions

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