Loading resources in Android and iOS