In mobile app, after a download with File Service, how can i open easily the plugin folder or open a file downloaded.
Currently i display a messagebox showing the plugin path. But it's not practical.
In mobile app, after a download with File Service, how can i open easily the plugin folder or open a file downloaded.
Currently i display a messagebox showing the plugin path. But it's not practical.
Hi Chris,
HyperLinkToURL works with web app only for me. Even with File:/// command.
Can you show me your code please ?
Regards,
Olivier
FYI: HyperLinkToURL ( ) works for me on various file formats on both iOS and Android devices. You can even embed the File:/// command in the URL to get files displayed from the local PlugIn folder ...
Hi ZhaoKai,
Thanks a lot, you've perfectly answer to my question.
Regards,
Olivier
Hi Olivier,
Please try webview.of_loadlocalfile().
https://www.appeon.com/support/documents/appeon_online_help/2017/workarounds_and_api_guide/ch01s04s16.html#d0e25241
In iOS, the following file types can be loaded and displayed: PDF, TXT, XML, Word, Excel, and PPT. Android supports fewer file types as it can only support text types such as TXT, XML, and HTML. Android does not support loading the PDF file, therefore you will not be able to load the local PDF file in Android, but if you put the PDF file on a Web site accessible via Internet, and allow the mobile device to connect with the Web site and Google Docs (docs.google.com), then Appeon can parse the PDF file online via Google Docs (docs.google.com) and then load the PDF file into the Android device, for example, if you put the PDF file online as http://demo.appeon.com/AEM/appeon_mobile_2013R2_datasheet.pdf, then Appeon mobile app will automatically display the online PDF file via URL http://docs.google.com/gview?embedded=true&url=http://demo.appeon.com/AEM/appeon_mobile_2013R2_datasheet.pdf.
On Android, you can try run function.
https://www.appeon.com/support/documents/appeon_online_help/2017/features_help_for_appeon_mobile/ch06s01s01.html#System_Functions_System___Environment_Functions
This function is supported in Android only, and unsupported in iOS.
Run ( string {, windowstate } )
The string parameter can only be the full path of the file name; it cannot be a program name, or a file name without a path. The windowstate parameter is unsupported; the program window will be maximized by default when run in Android.
Supported syntax:
Run ("/storage/emulated/0/android/data/com.appone.mobile/files/626342311/plugin/test.pdf")
This will give control to Android, and Android will decide whether to prompt the user to select a program to open the PDF file (if there is more than one PDF viewer program installed on it), or directly open the PDF file if only one PDF viewer program is detected or a default PDF viewer program is set before. Then the Appeon mobile app will be switched to run in the background, and the PDF viewer program will be running at the foreground.
Unsupported syntax: Run ("Clock", Minimized!)
Regards,
ZhaoKai
Hi ZhaoKai,
How can i open a file downloaded (pdf, word, excel...) ?
HyperlinkToURL works with web app but not with mobile app.
Regards,
Olivier
Hi Olivier,
We don't have a feasible workaround for this currently. But we will record it as a requirement in our CR pool, I will get back to you once we have a plan to support this feature.
Regards,
ZhaoKai
Hi Chris,
I'd like to open the plugin folder to see all files have been downloaded.
Regars
Olivier
Hi Olivier;
I guess the first big question in my main is (after the download completes) ... what do you want to do with the file?
Regards ... Chris
I do not have an example currently. However, I have done this before in the past.
Regards ... Chris