# Recognising whether a device is connected to a network

**URL:** <https://community.thunkable.com/t/recognising-whether-a-device-is-connected-to-a-network/73323>\
**Category:** Questions about Thunkable X\
**Created:** [March 24, 2019, 2:02pm UTC](https://community.thunkable.com/t/recognising-whether-a-device-is-connected-to-a-network/73323 "2019-03-24T14:02:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AyushS](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ayushs/32/70663_2.png) [@AyushS](https://community.thunkable.com/u/AyushS)\
**Post date:** [March 24, 2019, 2:02pm UTC](https://community.thunkable.com/t/recognising-whether-a-device-is-connected-to-a-network/73323/1 "2019-03-24T14:02:09Z")

</div>

Hi all,

There are some features in my app that work only with a working wifi/data connection. Therefore, I’d like an error message to display for these features if the device isn’t connected to a network - is there any way in Thunkable to check whether a device is connected to a network or not? Some kind of sensor perhaps - or would this be a feature that could potentially be added in a new release?

Thanks,  
Ayush

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [March 24, 2019, 4:29pm UTC](https://community.thunkable.com/t/recognising-whether-a-device-is-connected-to-a-network/73323/2 "2019-03-24T16:29:17Z")

</div>

best way is to use the

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/e/6ea24be90d423c1dd387d7bb4e753b21253502e1.png)

And check if there is an error. You can try to go to [google.com](http://google.com) and then if the result is not 200 you are not connected (or there is another network problem)

---

<div class="post-metadata">

**Author:** ![Sarada\_Konda](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@Sarada\_Konda](https://community.thunkable.com/u/Sarada_Konda)\
**Post date:** [March 25, 2019, 3:13am UTC](https://community.thunkable.com/t/recognising-whether-a-device-is-connected-to-a-network/73323/3 "2019-03-25T03:13:46Z")

</div>

@AyushS You can use the"is device online?" block in device tab.

 ![Untitled](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/9/d975c3c7fd22f199b7cf378a4cfdf1bc860e82f3.png)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:16pm UTC](https://community.thunkable.com/t/recognising-whether-a-device-is-connected-to-a-network/73323/4 "2024-11-08T12:16:02Z")

</div>


