简体   繁体   中英

How do i launch SMS mobile app from a QR code scanning using angularx-qrcode library?

Original (documentation):

<qrcode [qrdata]="'Your data string'" [width]="256" [errorCorrectionLevel]="'M'"></qrcode>

What i want:

<qrcode [qrdata]="<Open SMS app with the the number to send and text i need to write>" [width]="256" [errorCorrectionLevel]="'M'"></qrcode>

I already knew how to achieve it

This is the way:

<qrcode [qrdata]="'SMSTO:<phonenumber>:<Text message here>'"[width]="256" [errorCorrectionLevel]="'M'"></qrcode>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM