open local pdf file Android
问题 I'm downloading a pdf file to the Downloads folder to view. For iOS and Win32 this is easy because the TWebBrowser handles pdf files fine. My problem is with Android. Below is my code: if (FileExists(LFileName)) // pdf file is there { #if defined(_PLAT_IOS) || defined(_PLAT_MSWINDOWS) Form1->WebBrowser1->URL = "file://" + LFileName; Form1->WebBrowser1->Visible = true; #endif #if defined(_PLAT_ANDROID) Androidapi::Jni::Graphicscontentviewtext::_di_JIntent intent = TJIntent::Create(); intent-