Android push and investigation program

android push

Millet Push:

Millet data, you can see the push time, push type, push content, plans to push, efficient equipment, actually issued,
Delivery rate, click-through rate;

Operation: Push to open before the current; data funnel: updating the current data every 5 minutes;

Push the total data push can be seen in the data:

api view settings alias, userAccount and subscribe topic

Huawei push:

Huawei's overall statistical data is T + 1

Users can view data details.

Huawei push limits:

Huawei push from the web, there is no view to push the group and label push, but can pass multiple token push. You can view the page by pushing the click event when the pieces of data

Process keep alive programs:

android package for live programs to keep alive according to the version:

In Android5.0 use the following shows an empty status bar to enhance the process level, the use of a loophole before the android;

Program:

Call startForeground (ID, new Notification ()), sending an empty Notification, the icon is not displayed.

This is the first program before we keep alive the process of this loophole in the google Android5.0 above was carried out to repair, but after google repair, there are corresponding gray bag live program, the status bar displays a transparent pixels notification, permission to carry out upgrade process, making the process of changing the foreground process, the system will not easily kill the process, in order to achieve the upgrade process keep alive the role. ;

Disadvantages:

1. Domestic mobile phone on android system has been customized, resulting in a set of pixels method fails, it will be reduced height, resulting in the taskbar, there is a column with an icon in the task we push column in some depth customization system , after the application is open to kill the taskbar to open as is clearly out;

2 Because the state opened a permanent column in a push column (column cloud music similar to a song), will lead the user to increase the amount of power, is detected as a power-hungry applications in google phone, no high consumption on other phones electric reminder;

advantage:

1. The program is also considered a keep-alive scheme of gray, but the phone is not in some of the Android system for in-depth customization of the above, the process of keeping alive the chances have been provided.

In the above embodiment of the keep-alive Android 5.0
. 1 embodiment: the modified embodiment described above in 5.0, to display the status bar display of some system configuration;

Scheme 2: JobScheduler 21 is added in google api, meet to define tasks performed under certain conditions. Its purpose is to put some not particularly urgent task into a more appropriate time batch processing, so you can effectively save power.

Use program:

Under open jobservice running a jobservice be. Similar keep alive a dead cycle;
Disadvantages:
1. Some of the systems for in-depth customization rom, after the application was killed, jobservice same can not survive; 2 because it is an infinite loop, there will be the same as for electricity consumption, though. no previous power consumption;

Advantages: 1 in a custom system above is not deep, which can improve the chances of keep-alive; 2 low user perceptions;.

Guess you like

Origin blog.csdn.net/a1033479126/article/details/88838082