In order to identify the platform of an Android device, it seems that the java system property \"os.arch\" will suffice:
Log.i(\"mytag\", \"os.arch: \" + Sys
According to what I can find in the Android source tree the ro.product.cpu.abi property (which you can access as CPU_ABI through the Build class) should have the following architecture-to-value mapping:
ARM: "armeabi-v7a" (or possibly "armeabi" if it's a really old / low-end device)
x86: "x86"
MIPS: "mips"
ARM: "arm64-v8a"
x86: "x86_64"
MIPS: "mips64"