public static String getAbi(){
String abi = android.os.Build.CPU_ABI;
if(abi.contains("armeabi")){
return "arm";
}
else if(abi.contains("x86")){
return "x86";
}
else if(abi.contains("mips")){
return "mips";
}
else{
return "arm";
}
}
This could be useful when you include native libraries or binaries with your app to determine what CPU architecture device is.
#android #cpu #architecture #java #arm #intel
#android #cpu #architecture #java #arm #intel
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.