Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Showing pdf files in android or ios
#1
hello,
i have intraweb application that show pdf files,
when i use on windows navigator no problem
but when i use on mobile phone or tablette , android or apple i have code 404 file not found

have you any explaination ?
best regards

my code:


procedure TFormToto.Prog1;
Var
  rep Confusedtring;
  fichier : string;
  HRef: string;
 
begin

    rep := 'Toto\';
    fichier := 'toto.pdf';
    FPath := TIWAppInfo.GetAppPath + 'Toto\' + rep + fichier;
    HRef := TIWAppCache.AddFileToCache(WebApplication, FPath, MIME_PDF);
 
      with IWModalWindow1 do begin
        Reset;
        Autosize := False;
        Title := 'life of toto ' + Mois;
        Draggable := False;
        WindowWidth := 95;
        WindowHeight := 95;
       Src := HRef;
        OnAsyncClick := nil;
        Show;
      end;
     
end;
Reply
#2
I'll need to test this code of yours in a mobile browser to see why it is failing...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)