×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    63

    MIME type handling in WRT

    I am developing a cloud based WRT application. I need to get the files from cloud using GET api of my provider and when i use it i need to open the appropriate application.

    Eg: When i use GET on the txt file, i need to open Notes application in mobile. All i have is REST API (URL) and the MIME type associated with the file. Is it possible to do it ?

    I tried widget.openurl with my REST API and it re-directed the request to browser. Browser application opened but nothing after that.

    I tried Service.AppManager and set criteria.Document.DocumentPath = URL and it said "Document key type mismatch. Values more than expected length". I think it will work when the DocumentPath is referring to local path.

    Please help !!!

  2. #2
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    63

    Re: MIME type handling in WRT

    I tried "window.location = URL" and it didn't work out. If it run the same code in aptana emulator it prompts the user to save the file (windows dialog). But the same code in device is not working. Is it possible to download the file via WRT ?

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,405

    Re: MIME type handling in WRT

    Hi vinothg,

    not sure if this is feasible, as it highly depends on the MIME types' associations on S60 devices (and I have not a comprehensive list of these). Anyway, do you have a list of MIME types (and related applications) you wish to use?

    Pit

Similar Threads

  1. Replies: 2
    Last Post: 2009-05-12, 14:00
  2. Mime type
    By aquarian3183 in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2008-05-19, 12:24
  3. Replies: 0
    Last Post: 2006-07-06, 09:31
  4. What mime type??
    By fix78 in forum General Messaging
    Replies: 0
    Last Post: 2002-11-04, 16:25
  5. mime type etc
    By andersbo in forum WAP Servers
    Replies: 2
    Last Post: 2002-10-29, 13:41

Posting Permissions

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