cmpp Send long letter, I can achieve the CMPP2 long letter implementation (Java version)
I resigned after the Yidong engaged in text messaging and mass work, from Beijing experts where learned to send text messages, the beginning can only send a short letter, is not more th
To the users of micro-credit software to detailed analysis to share the micro-letter long article method.
Method Sharing:
Micro-letter Hair Long article method
1, on how to send micro-letter article, open micro-
Long message: SMS content more than 70 characters, submitted to the gateway needs to be divided into more than one, but the user's mobile phone reception is a (SP angle, mobile phone to send the concept of long letter).
In the CMPP protocol, the CMPP-_SUBMIT message definition has a corresponding parameter configuration:Tp_udhi:0 represents the content body does
In the process of using micro-letters, you must have seen the micro-letter long map, may be curious how this is done. Here, small series to share a tutorial, about micro-letter long map How to make, hope to be helpful to everyone.
1, the first to use the computer, your computer first loaded with PS, a new picture, wid
1, we click on the phone in the micro-trust Friends Circle and then click on the micro-letter friend Circle in the interface of the "camera" and then we find the interface of the "small video";
2, then in the Open menu we can click "Edit" Here we can delete can also be added, we click on the "+" button, you can start a small video shoot. The operation method and not too many changes before, hold down the green circle can be;
3, after fil
.
Step 7, enter "Payment password", if successful, will jump to the "Submit application Submitted" interface, if the error, there will be "failed to mention" instructions, click "Finish", automatically jump to the wallet page.
Step 8, after the successful payment, will automatically jump to the image as shown in the interface, click on the upper right corner of the "Change details" to view the transfer and the present situation.
Step 9, come in and
1) BackgroundAt present, our text message is basically more than 140 bytes (or even less) on the Shard (mobile ordinary text messages more than 140 bytes or even send, Unicom is OK), and then a few sent to the customer, but also can not guarantee the order, the user experience is not good,Operation this side complained that the streamlining and streamlining or more than the number of words, so long and short lette
Let's take a look at the effect chart.
How to use
Sample code
Promptviewhelper pvhelper = new Promptviewhelper (mactivity);
Pvhelper.setpromptviewmanager (New Chatpromptviewmanager (mactivity));
Pvhelper.addprompt (Holder.itemView.findViewById (r.id.textview_content));
It's still easy to use.
First the new PromptViewHelper class, then set a hint view manager, and finally call the addPrompt method add view, this view is the view to add a hint box.
Realize the idea
Through the
image.src = Canvas.todataurl ("Image/png" );
return image;
}
Gets the canvas object in the Web page
var mycanvas1=document.getelementsbytagname (' canvas ') [0];
Inserts the converted IMG tag into the HTML
var img=convertcanvastoimage (MYCANVAS1);
$ (' #imagQrDiv '). Append (img);//imagqrdiv indicates the container ID you want to insert
Note: After completing the above steps, it can be identified in the micro-letter
1, the first to use the computer, your computer first loaded with PS, a new map, wide 800 pixels, height can be arbitrarily adjusted, according to the recognition effect we can height heightening
2, point to the left of the text tool (Hotkey T), write a title
3, put pictures or text to edit into finished products
4, the content is ready to save as a web and equipment format, format selected as JPG, the general quality set into 60, do not make it too small to cause unclear
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.