Reputation: 313
I found one answer for delphi XE5 here but it doesn't work with XE7.
For instance is SharedActivity unknown. Anyone who know how to do this?
Thanks.
Upvotes: 0
Views: 1151
Reputation: 612964
You need to change the uses
a little from the answer that you link to. I think that instead of:
uses
Androidapi.JNI.JavaTypes,
FMX.Helpers.Android,
Androidapi.JNI.GraphicsContentViewText;
the code will work with:
uses
Androidapi.JNI.JavaTypes,
Androidapi.Helpers,
Androidapi.JNI.App,
Androidapi.JNI.GraphicsContentViewText;
Upvotes: 1