Hi i am trying to open a pdf from a mobile application. I am using the following code. In windows it works fine but on Android nothing happens when i run this. No error no nothing. Anyone knows why?
Code |
---|
&AtClient Procedure openFileTest(Command) SysInfo = New SystemInfo; if Find(SysInfo.PlatformType,"Windows") = 0 then path="/sdcard/Download"; else path="c:\temp"; endif; BeginRunningApplication(New NotifyDescription("Attachable_EmptyHandler", ThisForm),"test.pdf",path); EndProcedure &AtClient Procedure Attachable_EmptyHandler(CodeReturn, AdditionalParameters) Export Return; EndProcedure |