#!/usr/bin/env python2
# -*- coding: UTF8 -*-

import os

def getLocalAndroidPath(localFolder, androidID, userName):
    '''
    For Android Only
    Returns the current local path for saving data locally 
    Create folder if not exists
    '''
    localPath = os.path.join(localFolder, "{0}-{1}".format(androidID, userName))
    if not os.path.exists(localPath):
        os.makedirs(localPath)
    return localPath
