문제

I want to to judge whether the particular device is Mobile device or PC/Laptop on the basis of its MAC Address or using standard API ? Any Suggestions ??

도움이 되었습니까?

해결책

you can use getBluetoothClass. If connected device is smart phone then it will return PHONE_SMART value,
If connected deviceis computer desktop then it will return COMPUTER_DESKTOP
And if connected device is laptop then it will return COMPUTER_LAPTOP.

Hope it will helpful for you.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top