Target: Android
Ti SDK: 3.2.2GA
Hi, I have this code
var textFromWeb; function downloadText(){ var url = 'http://www.gnu.org/licenses/gpl.txt'; var xhr = Ti.Network.createHTTPClient({ onerror: function(e){ var dialog = Ti.UI.createAlertDialog({ message: 'Error!', ok: 'Continue', title: 'Warning', }).show(); xhr = null; }, onload: function(e){ textFromWeb = this.responseData; xhr = null; }, }); xhr.open('GET', url); xhr.send(); }; var win = Ti.UI.createWindow({}); var btn = Ti.UI.createButton({title: 'Click me!'}); btn.addEventListener('click', downloadText); win.add(btn); win.open();Why I get this log?
[DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : skia: --- SkImageDecoder::Factory returned null [DEBUG] : HTTPClient: The persistent handle is disposed.What does it have to do text with images? The strange is that I always get this for every file I try to access by HttpClient (.jpg, .zip, .asp and so on...) Thanks for attention.