For my game I need a child lock function, so when a kid is pressing the home button, it can not go directly back to the home screen and accidentally call other people etc. In newer android versions it is not possible to disable the home button directly. However, some apps bypass this problem by replacing the default home launcher I think.
I found this snippet:
Intent selector = new Intent("android.intent.action.MAIN");
selector.setComponent(new ComponentName("android", "com.android.internal.app.ResolverActivity"));
Can somebody show me how exactly I would adopt this code into mmf?
Start of Frame -> Intent (outgoing) -> Start intent with chooser -> "android.intent.action.MAIN" and then...?
Maybe somebody knows a better solution?