2013-02-02 8 views
0

나는 Kindle 스토어와 NOOK 스토어 (리더 태블릿 모두)에 업로드하는 apk 파일을 가지고 있으며, 디바이스가 아마존 디바이스인지 또는 Barnes and Noble인지를 알고 싶습니다. 그게 가능하니? 런타임 중에이 정보를 어떻게 찾을 수 있습니까?안드로이드 - 런타임 중에 현재 장치가 Barnes and Noble의 Amazon Kindle 또는 NOOK인지 여부를 알 수 있습니까?

+1

는 아마도 android.os.Build''에서 데이터는 구별됩니다. – CommonsWare

+0

[앱이 Kindle Fire에서 실행 중임] 가능한 복제본 (http://stackoverflow.com/questions/8309624/detect-app-is-running-on-kindle-fire) – FoamyGuy

답변

2

눅 색상 사양 : CommonsWare에서 언급 한 바와 같이 https://nookdeveloper.barnesandnoble.com/product/nook-color-specs.html

가 android.os.Build를 포함합니다.

그리고 킨에 대해 동일한

: https://developer.amazon.com/sdk/fire/specifications.html

어쨌든, android.os.Build.MANUFACTURER를 사용하는 것이 더 나은 것 같다. '아마존'인지 아닌지.

그리고 자사의 중복 : 나는 편리 특정 값이없는 불구하고 Detect app is running on Kindle Fire