# Decode qr to connect to WiFi

**URL:** <https://community.thunkable.com/t/decode-qr-to-connect-to-wifi/1660679>\
**Category:** Questions about Thunkable X\
**Tags:** qrcode, barcode, wifi-component\
**Created:** [December 26, 2021, 1:27pm UTC](https://community.thunkable.com/t/decode-qr-to-connect-to-wifi/1660679 "2021-12-26T13:27:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![masoud.3331p](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/masoud.3331p/32/123409_2.png) [@masoud.3331p](https://community.thunkable.com/u/masoud.3331p)\
**Post date:** [December 26, 2021, 1:27pm UTC](https://community.thunkable.com/t/decode-qr-to-connect-to-wifi/1660679/1 "2021-12-26T13:27:28Z")

</div>

hello friends  
i want to add a tools for my app , this tools should scan a qr code (my workplace have an qr code to connect to wifi) , then connect to an wifi , this is possible with many apps  
but i have to add it to my app  
i shouldn’t use web api , because its need internet i think , so better to solve this inside app (offline)  
after i scan my wifi qr code i get this : WIFI:T:WPA;S:FTTH-3Eb2;P:vqseZvEe  
how can i decode this scanned phrases and connect to wifi?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [December 26, 2021, 1:45pm UTC](https://community.thunkable.com/t/decode-qr-to-connect-to-wifi/1660679/2 "2021-12-26T13:45:20Z")

</div>

Using Thunkable you can read QR codes and use the information in the code but there is no block or component to connect to WIFI in Thunkable.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [December 26, 2021, 7:47pm UTC](https://community.thunkable.com/t/decode-qr-to-connect-to-wifi/1660679/3 "2021-12-26T19:47:17Z")

</div>

> [@masoud.3331p](#):
>
> how can i decode this scanned phrases and connect to wifi?

You would have to know how your employer encodes that string. Are they encoding it so that no one knows the WiFi password? If not, can you ask them how they encode it?

But more importantly, as @muneer already said, you can’t connect to WiFi using Thunkable blocks.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [December 26, 2021, 8:11pm UTC](https://community.thunkable.com/t/decode-qr-to-connect-to-wifi/1660679/4 "2021-12-26T20:11:41Z")

</div>

> [@masoud.3331p](#):
>
> WIFI:T:WPA;S:FTTH-3Eb2;P:vqseZvEe

The `S:` is the WIFI access point name.  
The `P:` is the password

That is if you want to show it to the app user to select the correct WIFI network and key in the correct password.

---

<div class="post-metadata">

**Author:** ![masoud.3331p](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/masoud.3331p/32/123409_2.png) [@masoud.3331p](https://community.thunkable.com/u/masoud.3331p)\
**Post date:** [December 28, 2021, 7:05am UTC](https://community.thunkable.com/t/decode-qr-to-connect-to-wifi/1660679/5 "2021-12-28T07:05:39Z")

</div>

i have ssid and password , just dont know how to link to phone , to connect to wifi  
there is some option , for example if you want to link to whatsapp , ou can just write : whatsapp: \*\*  
and for facebook or calling too , i just want to know there is any option for wifi too?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [December 28, 2021, 12:15pm UTC](https://community.thunkable.com/t/decode-qr-to-connect-to-wifi/1660679/6 "2021-12-28T12:15:09Z")

</div>

> [@masoud.3331p](#):
>
> i just want to know there is any option for wifi too?

Hi @masoud.3331p 👋

At this time, you cannot connect to a network from within one of our apps. You’ll need to do it externally and return to the app.

Would having your users leave the app and return be detrimental? I’m wondering if you have any examples of apps that do this action I can share with the team, too.

---

<div class="post-metadata">

**Author:** ![masoud.3331p](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/masoud.3331p/32/123409_2.png) [@masoud.3331p](https://community.thunkable.com/u/masoud.3331p)\
**Post date:** [December 28, 2021, 2:24pm UTC](https://community.thunkable.com/t/decode-qr-to-connect-to-wifi/1660679/7 "2021-12-28T14:24:25Z")

</div>

i see , options is so limit i thunkable apps  
problem is , there is nothing to even make an example , only export scanned data to an label and show it to user , there is no way to send that data to connect to wifi

anyway thanks all of you guys

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [December 28, 2021, 2:47pm UTC](https://community.thunkable.com/t/decode-qr-to-connect-to-wifi/1660679/8 "2021-12-28T14:47:57Z")

</div>

Unfortunately, at this time it isn’t possible to send data to the phones wifi connector. BUT you could create something that allows the user to copy the PW into their phones clipboard. Then once they are in the wifi connection area of the phone, they could paste the text instead of having to remember and type it in.

### What’s a clipboard?

Clipboard is a feature of your phone which **saves all the information you copy**. For example pictures, text, links, and so on. Then you can put the information wherever you want.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [March 28, 2022, 2:48pm UTC](https://community.thunkable.com/t/decode-qr-to-connect-to-wifi/1660679/9 "2022-03-28T14:48:05Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
