Here you can find the source of isDefaultMemoryCardDrive(String aRoot)
private static boolean isDefaultMemoryCardDrive(String aRoot)
//package com.java2s; /*/* www . ja va2 s .c o m*/ * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" * which accompanies this distribution, and is available * at the URL "http://www.eclipse.org/legal/epl-v10.html". * * Initial Contributors: * Nokia Corporation - initial contribution. * * Contributors: * * Description: * */ public class Main { private static String iDefaultMemoryCard; private static boolean isDefaultMemoryCardDrive(String aRoot) { if (aRoot.equalsIgnoreCase(iDefaultMemoryCard)) { return true; } return false; } }