Splash Screen for slow loading Android App

Ok. I fixed it by setting full screen to loader dialog and cocos2dx view according to this article and this cocos2dx thread.

http://developer.sonymobile.com/knowledge-base/tutorials/legal/how-to-provide-your-app-users-with-maximum-screen-estate-tutorial/

public class AppActivity extends Cocos2dxActivity {
    
    public static Dialog loader_dialog;
    private Cocos2dxGLSurfaceView glSurfaceView;

    private int mSystemUiVisibility =  View.SYSTEM_UI_FLAG_LAYOUT_STABLE
            | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
            | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
            | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION // hide nav bar
            | View.SYSTEM_UI_FLAG_FULLSCREEN // hide status bar
            | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
    
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        loader_dialog = new Dialog(this,R.style.Loader);
        loader_dialog.setContentView(R.layout.loader);
        if (android.os.Build.VERSION.SDK_INT >= 11) {
            loader_dialog.getWindow().getDecorView().setSystemUiVisibility(mSystemUiVisibility);
        }
        loader_dialog.show();
    }
    
    public static void dismissLoader() {
        loader_dialog.dismiss();
    }


    public Cocos2dxGLSurfaceView onCreateView()
    {
        glSurfaceView = new Cocos2dxGLSurfaceView(this);

        this.hideSystemUI();

        // create stencil buffer
        glSurfaceView.setEGLConfigChooser(5, 6, 5, 0, 16, 8);

        return glSurfaceView;
    }

    public void onWindowFocusChanged(boolean hasFocus) {
        super.onWindowFocusChanged(hasFocus);
        if (hasFocus)
        {
            this.hideSystemUI();
        }
    }

    private void hideSystemUI()
    {
        if (android.os.Build.VERSION.SDK_INT >= 11) {
            // Set the IMMERSIVE flag.
            // Set the content to appear under the system bars so that the content
            // doesn't resize when the system bars hide and show.
            glSurfaceView.setSystemUiVisibility(mSystemUiVisibility);
        }
    }

    static
    {
        System.loadLibrary("cocos2dcpp");
    }
}

Now I will have to find out how to compile release version of the app and how to upload it to the Google Play?