Android sends SMS messages with more than 70 Chinese characters. The text message is automatically split and android sends SMS messages.
1. Text message sending code
SmsManager smg = SmsManager. getDefault ();// Text
messagewithtype:@ "chat" To:jid]; [Message AddBody:self.ketf.text]; Send Message [Delgate.stream sendelement:message]; Empty the message Self.ketf.text=nil; return YES;}To learn more about the small partners, you can click to view the source code , run the test yourself.Inquiries or technical exchanges, please join the official QQ Group: (452379712)Jerry EducationSource:http://blog.csdn.net/jerehedu/This article is the copyright of Yantai Jerry Education Technology Co.
Recently, I did a simple test on the GPRS module, in which the short message method is relatively simple and also common with other GPRS modules. Now I will write down my debugging notes.
Short Message mode:
I. At commands related to SMS
At + cmgc send an SMS command (send a short message command)
At + cmgd Delete SMS message (Short Message for deleting SIM card memory)
At + cmgf select SMS message formate (select the short message sending and receivi
It is a complicated task for many people to send short messages through programming. Currently, the general solution is to connect computers with mobile phones, you can write text messages related to mobile phone programming languages.
Program This method is very difficult for the average person, because this method requires not only many necessary hardware devi
[Mr Mai] Laravel framework implements text message verification, while laravel sends text messages
Today, when implementing user registration and personal center security management, I implemented settings for mobile phone verification in the Laravel framework using third-party SMS platforms;
Because I am working on a website that provides customers with medica
commands can also, this method is applicable to small and individual users. To implement this method, you must understand serial communication, at command, SMS encoding, and decoding, which is also the focus of this article.
3. Some websites are used for implementation. The method is simple. However, website dependencies are too high and network requirements are high, which is not suitable for project development.
Read navigation
terminal Short Message connec
PHP sends text messages through serial ports with technological advances. in the text message sending and receiving field, three modes are successively created: BLOCKMODE, TEXTMODE based on AT commands, and PDUMODE based on AT commands. Among them, TEXTMODE is relatively simple, and multiple Nokia mobile phones support
Java uses spring Javamailsenderimpl to send messages that support plain text, attachments, HTML, velocity templatesBlog Category:
Java
Spring
This article mainly introduces the use of Javamailsenderimpl to send mail. The general message is sent first, followed by the sending of rich Text (HTML)
PHP sends text messages through serial ports with technological advances. in the text message sending and receiving field, three modes are successively created: BLOCKMODE, TEXTMODE based on AT commands, and PDUMODE based on AT commands. Among them, TEXTMODE is relatively simple, and multiple Nokia mobile phones support
)Page. registerstartupscript ("", " ");ElsePage. registerstartupscript ("", " ");}When you click the receive text message button, the program reads the text message sent to the mobile phone card using the gsmmodemsmsreadall method in the GSM class. The code in the Click Event of the receive text message button is as follows.
Protected void btnresvice_click (Objec
PrinciplesSMS codeIn terms of sending and receiving Text messages, there are three modes generated successively by Time: Block Mode, Text Mode based on AT command, PDU Modem Based on AT command, Text Mode is relatively simple, multiple Nokia mobile phones support this mode.
2. enter the corresponding information according to the options shown in Figure 02, and click "log on to mobile Dream". If the registration is successful, alibaba Cloud mobile will send an 8-bit password to your registered mobile phone to get the interface shown in Figure 03.
Link: http://dev.yesky.com/imagelist/06/03/dvnl2q1z8y2h.jpgFigure 03: page 3 of Sina registration mobile phone
This password must be retained. The password must be used to send the text
There are also a lot of materials on the Internet for sending Chinese text messages in the gsm pdu mode. However, after so many days, I wrote my own experience as a record, it is also convenient for other later users to refer.
Many materials on the Internet do not talk about the development environment, so I still feel confused in some places.
My development envi
Modify the baud rate to 115200, and then click clear again. 2:
Figure 2
GPRS module
The GPRS module works normally and the receiving area displays: At-command interpreter ready
1. Call instructions
(1) Call the voice phone number atd123456789 or atdt123456789.
(2) Call: ATA
(3) hanging up: ATH
Example:
Enter atd158110000046 after clearing the sending area; (Press ENTER) and click "Send manually"
After clicking "send", the receiving area is displayed
here.
If the setting is correct, OK is returned;If an error occurs, + CMS error:
At + cmgr
Read text messages. Information is read from the memory set by the + CPMS command.
Return OK.
At + IPR =
Set the baud rate. Optional values:, and.
Return OK.
At +
Vue component development-LeanCloud text message sending function with graphic verification code, vueleancloud
0.15 million of developers use the LeanCloud service, including well-known applications such as zhihu, dongqiudi, IFAN er, and lakara. LeanCloud provides data storage and instant messaging ...... And Provides email verification and text message verificat
GSM 03.40 specification (TP-06 7.4.0) specifies the SME for ultra-long text message merging processing. The specification has been in use for more than six years, and most mobile phones currently support this function.
In CMPP protocol, CMPP_SUBMIT_MESSAGE has two fields pk_total and pk_numer. It looks like this is the Setting Parameter for sending ultra-long messages
The GSM 03.40 standard (TP-06 7.4.0) specifies the SME for ultra-long text message combination processing. This feature has been supported by the vast majority of mobile phones in use for more than six years.
Yes. In CMPP protocol, cmpp_submit_message has two fields pk_total and pk_numer. It looks like this is the Setting Parameter for sending ultra-long messages
a text message.
Problem:It is impossible for me to send a weather text message to my mom on a regular basis every day. The current weather forecast subscription text message also requires money.
Solution:
Send SMS to mobile phone for free
Solution 1: Use the Apsara stack API
Currently, Apsara stack does not have a development platform, and the existing APIs
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.