Sowas? (Ich kann im moment nicht testen )
Delphi-Quellcode:
Procedure OpenHomeScreen;
{$IFDEF ANDROID}
var
Intent: JIntent;
{$ENDIF ANDROID}
{$IFDEF IOS}
{$ENDIF}
Begin
{$IFDEF IOS}
NavigationController.popToRootViewControllerAnimated(true);
{$ENDIF}
{$IFDEF ANDROID}
Intent := TJIntent.Javaclass.init(TJIntent.JavaClass.ACTION_MAIN);
Intent.addCategory(TJIntent.JavaClass.CATEGORY_HOME);
Intent.setFlags(TjIntent.JavaClass.FLAG_ACTIVITY_NEW_TASK);
TAndroidhelper.Activity.startActivity(Intent);
{$ENDIF ANDROID}
End;