App launcher for android possible?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi clickers! I want create app launcher for android used MMF2, it is possible, if yes how can create this application?

    Erm, it's not an "how can I create this?" kind of question. I'm pretty sure it's hard to do this kind of thing on Android period. As of now, it is literally impossible in MMF2 without making a bazillion custom extensions, and, at that point, you might as well make your entire app in Java, since those objects would be the only things you would be using anyway (since they would be the only things that could do any part of an app launcher at all).

    My Please login to see this link. (which I actually use), my Please login to see this link. (which I mostly don't use), and my Please login to see this link. (which I don't use anymore pretty much at all really). If there are awards for "'highest number of long forum posts", then I'd have probably won at least 1 by now. XD

  • Edit the AndroidManifest.xml File and add these lines:

    <!-- M_Intent -->
    <category android:name="android.intent.category.HOME"/>
    <category android:name="android.intent.category.DEFAULT" />
    <category android:name="android.intent.category.MONKEY"/>

    if you click on the homebutton inside the app, you will be ask which app should be executed. Select yours and tab "always".

  • now we just have to find a way to avoid the "recent apps" button:

    For this i've found this code snippet (checks if activity loses focus and bring the app back into front -> It does require android.permission.REORDER_TASKS)

    now the question: is it possible to add this to Fusion? and if, how?

    @Override
    public void onWindowFocusChanged (boolean hasFocus)
    {
    super.onWindowFocusChanged(hasFocus);
    if( !hasFocus && mEnabled )
    {
    ActivityManager am = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE);
    am.moveTaskToFront(getTaskId(), ActivityManager.MOVE_TASK_WITH_HOME );
    sendBroadcast( new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS) );
    }
    }

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!