Android push push related basic question and answer summary _android

Source: Internet
Author: User
Tags documentation

What's the difference between a notification and a message?

Notification: When sent, it will be displayed in the System notification column, while ringing or vibrating to alert the user.
Message: After sending will not be displayed in the system notification bar, the SDK will pass the message to the third party application needs developers to write the display code to see.

What is label tag?

A label is a property of a user that can be targeted for push after a certain type of label has been set for some users. For example, like "football" to play "football" label, you can only give them accurate push. You can manage tabs for each application on the Application Management page, with a maximum of 100 labels per application

What are the Android Platform SDK requirements for mobile phones and operating systems?

SDK supports Android1.6 and above versions of the mobile phone system
Mobile phone must have network (GPRS, 3G or WiFi network, etc.)
Mobile phones can have no SIM card, but may cause some missing features of the phone can not mount the SD card, but will make some functions do not work

Does the SDK consume electricity and traffic?

SDK specially for mobile phone optimization, no-load power consumption daily 15-50 ma, no-load flow 0.8-1.2m/Month

Send message and notify phone not received?
• Service-side push message, notification format is correct (format can refer to the server interface document; Push open platform (dev.getui.com) pushing does not require confirmation)
• Mobile network is normal (you can use the browser more than a few pages)
• Please check that the SDK was successfully initialized and obtained ClientID (see "Push Platform Client SDK Access documentation"-Extended functionality – Get a pass message
• If you are sending a message that requires the developer to write and receive the code, please confirm that you have written the appropriate processing code
• Successfully initialized and obtained clientid with a push-open platform-troubleshooting-ClientID for one-click monitoring

What should I do if the SDK doesn't get ClientID?

• Make sure your phone starts and applies properly
• Make sure your phone is open to mobile networks (GPRS, 3G) or WiFi
• Please reboot and wait a few minutes after the application is forced to stop
• If the above steps are still not taken to ClientID, please unload the loading application

is the server-side API provided?

Yes, the server provides three API interfaces for developers to invoke, detailed usage see "Push Platform Server interface Documentation"

Why do I invoke the server-side interface to display "Result=sign_error"?

• Please confirm that the encoding is UTF-8, not modified to UTF-8
• Detect Appid,appkey,mastersecret related values, especially Mastersecret don't mix with Appsecret.

Why is it sometimes that the server-side API pushes the phone off?

The following situation mobile phone received message in the Notification column will not show, need developers write receive processing data code show
• Push messages with pushmessage
• Push message with Pushspecifymessage while Pushtype value is "transmissionmsg"
• Push message with Pushgroupmessage while Pushtype value is "transmissionmsg"

Push-push Platform page for specific users, please upload the correct list of users what is the point?

ClientID list, format txt file, a clientid per line, carriage return line, the size of the upper limit of 20M

Application details where the number of registered users and online number are 0, what is the reason?

• See if the client is getting ClientID
• The number of registered users delayed to the second day of statistics, the number of online users delayed about 15 minutes
• You may have modified the application AppID, causing ClientID to bind to the previous AppID, you need the operation: Delete SD card libs directory, apply data removal or load loading, restart application to retrieve ClientID

Three test push buttons in the access boot cannot be received, but troubleshooting can be received
You should modify the application AppID, causing the ClientID to bind to the previous AppID, you need the operation: Delete SD card libs directory, apply data removal or unload load, restart application to retrieve ClientID

Under what circumstances will clientid change?
In the case of a mobile phone without an SD card, the application of unloading load or the removal of data will change clientid, do not rule out other anomalies, but not yet found

I originally started my application, and then I clicked on the notice, and he started my application, equal to the two I started, why?
This is true when the server-side interface push parameter transmissiontype is set to 1 or when the immediate launch option is selected by pushing open platform advanced settings.
If you need to avoid this behavior, it is recommended that the parameter Transmissiontype be set to 2 through the service-side interface push, and fill in the message; When pushed through an open platform push, the immediate start option is set in the Advanced setting
No, and fill in the transmission message. The client obtains the transmission message to judge the application current state, and then makes the corresponding processing according to the state.

In the same mobile phone login two accounts, then on my server, the two accounts associated with the ClientID is the same, the push message on the chaos?
For a push only according to the user ClientID message issued, can not avoid such a situation. The client is recommended to maintain a set of user ID and clientid relationship, user login to detect the user ID and ClientID binding relationship, issued according to the relationship of the corresponding ClientID issued.

received a push, the top of the cell phone box shows the robot, why?
You need to drawable a push.png-named icon in the project

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.