DownloadRequest is “undefined and is not constructor”

DownloadRequest is “undefined and is not constructor”

BY 06 Jun 2014 Web Application Development

Hi everyone,

I recently start to develop on the Tizen SDK for wearable, and I’ve got a problem with DownloadRequest. I’m working on the emulator. 

It seems that the compiler doesn’t recognize the Constructor, and nobody never have problem with that. 

Here is my code : 

var url1 =“https://dl.dropboxusercontent.com/u/44098322/hellobank.json”;

        var downloadRequest = new tizen.DownloadRequest(url1);

And here is the error I get everytime

index.html (73) :TypeError: ‘undefined’ is not a constructor (evaluating ‘new tizen.DownloadRequest(url1)’)

index.html (73) :TypeError: ‘undefined’ is not a constructor (evaluating ‘new tizen.DownloadRequest(url1)’)

 

Have anyone heard about this ? Found a solution ? Thanks

 : 

 

Written by