당신은 모든 기능을 덤프 수 있습니다 : 다음을 얻을 것이다 비지오 공동 별 구글 TV 장치에 대한
Log.i(LOG_TAG, "android.os.Build.VERSION.RELEASE="+android.os.Build.VERSION.RELEASE);
Log.i(LOG_TAG, "android.os.Build.VERSION.INCREMENTAL="+android.os.Build.VERSION.INCREMENTAL);
Log.i(LOG_TAG, "android.os.Build.DEVICE="+android.os.Build.DEVICE);
Log.i(LOG_TAG, "android.os.Build.MODEL="+android.os.Build.MODEL);
Log.i(LOG_TAG, "android.os.Build.PRODUCT="+android.os.Build.PRODUCT);
Log.i(LOG_TAG, "android.os.Build.MANUFACTURER="+android.os.Build.MANUFACTURER);
Log.i(LOG_TAG, "android.os.Build.BRAND="+android.os.Build.BRAND);
을 다음을 사용 :
TextView text = (TextView) findViewById(id.featurestextview);
FeatureInfo features[] = getPackageManager()
.getSystemAvailableFeatures();
Log.d("Features", "getSystemAvailableFeatures() = " + features);
text.append("Supported System Features on this device:\n\n");
if (features != null) {
for (FeatureInfo featureInfo : features) {
if (featureInfo.name!= null) {
text.append(featureInfo.name+" (Flags: "+featureInfo.flags+") \n");
} else {
text.append(featureInfo+"\n");
}
}
}
long maxMemory = Runtime.getRuntime().maxMemory();
int memoryClass = ((ActivityManager) getSystemService(ACTIVITY_SERVICE)).getMemoryClass();
MemoryInfo memInfo = new MemoryInfo();
((ActivityManager) getSystemService(ACTIVITY_SERVICE)).getMemoryInfo(memInfo);
text.append("\n\nMEMORY:\nMaxMemory "+maxMemory/1024+"KB/"+maxMemory/1024/1024+"MB");
text.append(" (Memory Class: "+memoryClass+")");
text.append("\n MemoryInfo: Avail="+ memInfo.availMem/1024 +"KB Threshold="+memInfo.threshold /1024 +"KB");
공급 업체 등을위한 안드로이드 빌드 속성은 특정 장치에 범위를 지정하십시오. 일련 번호와 관련하여 (예 : cpu serial -은 사용할 수 없음) mac 주소를 사용하는 것이 좋습니다.
감사합니다. 필자가 필요로하는 것은 Co-Star 자체가 아닌 연결된 디스플레이 장치 (TV, 프로젝터 등)의 정보를 Co-Star로 가져 오는 것입니다. 당신의 대답이 내가 찾고있는 것에 가장 가깝기 때문에 지금 당장 그것을 해결책으로 표시 할 것입니다. 안부, 피터. – Peter