some trial-and-error for Android