[Air] - navigateToURL doesn't open pdf on android
Hi guys,
I have an application developed in flex and I am trying to open a pdf file in android.
In the past this worked, but now (i don't know why) it doesn't worked anymore.
The program/ide doesn't give me any error and the app doesn't open de pdf file.
I use this code:
try { navigateToURL(new URLRequest(File.documentsDirectory.resolvePath("/pdfs/").url+"/test.pdf")); } catch(error:Error) { trace(error); }
When I'm in debug mode the IDE doesn't hit de catch. It runs normally but doesn't show the pdf.
This only happen in Android, when I try on pc(Windows) works well.
I am using the lastest Air SDK 33.1.1.345. (Maybe this occurs because of the sdk?)
