android - How to check which architecture device is using -


i'm using library doesn't support armv6 architecture. want show users toast if armv6 architecture detected. how can this?

check class: http://developer.android.com/reference/java/lang/system.html

method:

public static string getproperty (string propertyname) 

if think os.arch property you're looking for.

log.i("mytag", "os.arch: " + system.getproperty("os.arch")); 

Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -