c++builder-10.3-rio

open local pdf file Android

走远了吗. 提交于 2021-02-08 10:38:23
问题 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-

UIFileSharingEnabled key in Info.plist

那年仲夏 提交于 2020-01-03 04:54:02
问题 I added the key UIFileSharingEnabled to my app's version info as described here so my users can save files to my apps documents folder. Works great in testing. Tried to upload to apple store with Application Loader and i'm getting an ERROR ITMS-90039: "Type Mismatch. The value for the Info.plist key UIFileSharingEnabled is not of the required type for that key. . I've googled and found where other folks had problems with it but none of their solutions helped. Here are the ways i've tried to