Android Question B4XPages or B4A Solution for fx.ShowExternalDoc

Patent

Member
Licensed User
Longtime User
Dear guys,

i am building an B4XPages App where i wonna make the B4J calls

B4X:
fx.ShowExternalDocument($"mailto:xyz.com&subject="B4X rulez!"$)
and also
B4X:
fx.ShowExternalDocument($"https://www.xyz.com"$)

working for B4J and B4A (in the Pages App).

Should i do contitional compiling, but how is the B4A code working?
Or is there a B4X Solution?

any Ideas?

thanks
Patent
 

jahswant

Well-Known Member
Licensed User
Longtime User
Check this code snippet it may help.

 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
but how is the B4A code working?
you can not use ShowExternalDocument. FX is using a Windows-Systemcall and windows itself is then opening the program associated with the File you want to open.

This is not available in Android respectively it is working another way in Android; you have to use Intents to open another App.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…