0

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.

Community
  • 1
  • 1
Lars Ljungberg
  • 313
  • 1
  • 6
  • 19

1 Answers1

1

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;
David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490