# Detect if device is a phone?

**URL:** <https://forums.fusetools.com/t/detect-if-device-is-a-phone/2122>\
**Category:** How-to Discussions\
**Created:** [January 20, 2018, 2:14am UTC](https://forums.fusetools.com/t/detect-if-device-is-a-phone/2122 "2018-01-20T02:14:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@Luke](https://forums.fusetools.com/u/Luke)\
**Post date:** [January 20, 2018, 2:14am UTC](https://forums.fusetools.com/t/detect-if-device-is-a-phone/2122/1 "2018-01-20T02:14:25Z")

</div>

Is there currently a way of detecting if the current device is actually a phone? (It can make phonecalls)

The `Phone` api includes only a single function (`call`), but no way of detecting if the device is capable of making calls, or if it’s just a tablet without a dialer or telephone number.

An app I’m working on currently features call buttons, but as it’s also available for tablets and devices not capable of making calls, I would not want the buttons to appear in these cases. I guess I could maybe guess based on the size of the display, but I don’t want to not offer the option on larger phones or tablets capable of making calls.

(If this isn’t yet possible, it would seem like `Environment.phone` would be the best way of marking this)

Cheers

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [January 22, 2018, 10:12am UTC](https://forums.fusetools.com/t/detect-if-device-is-a-phone/2122/2 "2018-01-22T10:12:04Z")

</div>

Hi Luke,

I believe you could use the [fuse-device](https://github.com/MaxGraey/fuse-device) library for this. If what it currently exposes isn’t enough, you could always extend the native code to add missing features.

---

<div class="post-metadata">

**Author:** ![Luke](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@Luke](https://forums.fusetools.com/u/Luke)\
**Post date:** [January 22, 2018, 4:58pm UTC](https://forums.fusetools.com/t/detect-if-device-is-a-phone/2122/3 "2018-01-22T16:58:07Z")

</div>

There is no property for querying if the device is a-phone/capable-of-making-calls, there.

Could this be considered a feature request?

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [January 23, 2018, 9:24am UTC](https://forums.fusetools.com/t/detect-if-device-is-a-phone/2122/4 "2018-01-23T09:24:27Z")

</div>

As I wrote before, you could always extend that library to add missing features.

I suggest you to google for “detect mobile device calling capabilities” + “java”/“objective-c” and go from there.
