vendredi 19 février 2016

Android JNI in C++ Builder

Please, let me know how to create and initialize a Web Browser and then show it in FMX form for Android.

If it is possible in C++ XE8 , if not Delphi is OK. I will try to understand and convert from Delphi.

I assumed could't use FMX.WebBrowser.TWebBrowser because I need to access setAllowFileAccessFromFileURLs() and setAllowUniversalAccessFromFileURLs() in order to get working HTML5 .

I tried to construct a Web Browser using Android API & JNI but I was unable to construct (create and initialize) a web browser Object and then show it in a FMX form with another components of my app.

The main problem is use HTML5 from web site into Android app, without leave the app. In another words I can not use Intent or Chrome Tabs because it will carry user away from app.

Thank you.




Aucun commentaire:

Enregistrer un commentaire