2012년 7월 5일 목요일

안드로이드 디바이스명 가져오기

http://sree.cc/google/android/getting-android-device-name

String str = android.os.Build.MODEL;
Toast.makeText(this, "MODEL is" + str, Toast.LENGTH_LONG).show();
if(str.equals("IPHONE")) {
System.exit(0);
}

this is working properly in welcome.... oncreate

댓글 없음:

댓글 쓰기

국정원의 댓글 공작을 지탄합니다.

UPBIT is a South Korean company, and people died of suicide cause of coin investment.

 UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...