And what portability issues might arise?
Porting an Oxygene Android app (in Pascal) to FPC Android.
But consider the example code in the OP. That is Pascal syntax that mimics a common Android / Java syntax to set an OnClick listener. I do wonder how portable that is to FPC.