I found a solution that works searching the internet.
function SharedActivityManager: JActivityManager;
var
AService: JObject;
begin
AService := SharedActivityContext.getSystemService(TJContext.JavaClass.ACTIVITY_SERVICE);
Result := TJActivityManager.Wrap((AService as ILocalObject).GetObjectID);
end;
Procedure BringAppToFront();
Begin
SharedActivityManager.moveTaskToFront(SharedActivity.getTaskId, TJIntent.JavaClass.FLAG_ACTIVITY_NEW_TASK);
End;