added getKeyValue for Android only