Code example for Intent

Methods: getFlags

0
                mParentHeader.title = parentInfo.metaData.getString(META_DATA_KEY_PARENT_TITLE);
            } 
        } catch (NameNotFoundException nnfe) {
            Log.w(LOG_TAG, "Could not find parent activity : " + className);
        } 
    } 
 
    @Override 
    public void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
 
        // If it is not launched from history, then reset to top-level 
        if ((intent.getFlags() & Intent.FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY) == 0) {
            if (mFirstHeader != null && !onIsHidingHeaders() && onIsMultiPane()) {
                switchToHeaderLocal(mFirstHeader);
            } 
            getListView().setSelectionFromTop(0, 0);
        } 
    } 
 
    private void highlightHeader(int id) {