문제

I am using Mobage Gaming API. And I want to resume to my Mobage Login screen.

I am using following code:

    @Override
    public void onResume() {
        super.onResume();
        if (Mobage.isInitialized()) {
            Mobage.getInstance().onResume();
            Log.d("MobageResume", "MobageResume onResume()");

        }
    }

Mobage.getInstance().onResume(); method is fired but nothing happens in the device. It is not display Mobage Login screen again.

도움이 되었습니까?

해결책

The issue is resolved now. It is due to AndroidManifest.xml in activity Android: launchMode=SingleTask. By removing this the Mobage Login screen is properly displayed. For detail Please see following link: Android: launchMode=SingleTask problem

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top