2014年1月2日星期四

[Android] [ Share ] how to improve the development of mobile applications activity

Mobile App Development of children's shoes , would have such a problem: applications sent out, not controlled it. A bunch of applications on the user's mobile phone , the user may simply have forgotten my existence in this application to use less , I have no way ? I released a new version may be more attractive to users believe that , but he did not know ah ; I want to be more active to activate the user to use my application , how to do it?

raise fundamental activity , of course, lies in the product itself, it is beyond doubt. Just as there are cattle concluded: Internet company 's core product is the only .

presumably a lot of people know , beyond the product , but also a very important part of the operator , or even more important part. Recent statistics renowned supplier Flurry mobile application published an article : Mathematical model of the mobile application economy - profit model matrix. This civilization begins talked about : the economy, the new mobile application , no matter how successful a company initially , the final winner depends on user participation and the ability to maintain the user. After obtaining the user , the real battle has just begun , and that is to retain users, and through their eventual profit. In the " mobile first" new world, participation is the new battlefield.

The ability to integrate Push Mobile App , the developer is given the ability to operate on mobile App , so developers have more opportunities to interact with the user , allowing users to get more involved , to retain users, and ultimately increase profitability .

Push how to improve application activity

foreign to many large IT companies, including use of third-party push service Urban Airship Oracle, Intel, Saleforce, USA Today included, for a large number applications made ​​a statistics, as shown below:


figure shows that on average one application is generally six months retention rate of only 15%, but did Push the retention rate doubled.

That is, when an application , operators Push notifications to the user , the message in a timely manner , the user can effectively activate more use Apps, less uninstall applications.

Mobile App has all the necessary capabilities with Push

above is talking about , Push can effectively improve the user activity and user retention . From this perspective , the mobile App has all the features necessary to add Push .

In fact, the mobile App with Push capability , as well as the need for more , and then specifically the following are a few :

App users need to provide timely information , such as News -type applications , chat category , location services and so on.
synchronization information users need in a timely manner to the mobile terminal , such as device synchronization classes , user initiated synchronization demand .
subscribe to any part of the contents of the user initiates the initiative to push content to the user when the application updates .
user wants to initiate with other users play games together , invite other users need in a timely manner .

how to add Push capabilities for mobile applications

In general, each has its own mobile phone platform offers Push feature that allows application developers to easily integrate the Push capabilities into applications . There on Android GCM (Google Cloud Messaging, originally called C2DM), there APNs (Apple Push Notification service) on iOS, there MPNs on Windows Phone (Microsoft ; Push Notification service).

but the tragedy is that , GCM in the country is basically unusable . There are two reasons:

First, most of the domestic Android phones are without Google services , Google will not take GCM this service . This is a major problem .

Second, in the country , Google's service , mostly unstable. The reason you know !

GCM is not available to domestic Android developers a great deal of trouble , forcing Android developers to think about : how to achieve Push on Android?

We have two basic options :

own development Push
services provided by third parties using the Push

one , their development Push
Let me start with a plan to develop their own Push. There are several possible achieve their practice :

Based androidpn ( based on XMPP IM) open-source programs , or other xmpp, mqtt open source system
develop their own pseudo- Push
fully develop their own long connection Push Service

some problems androidpn similar open-source program , please refer to another article : androidpn as Android Push program problem. This article is based on our team chat application experience shows that you want directly based on the open-source system to achieve Push services have their problems : The system capacity is limited, and is not suitable for moving traffic , require a relatively high power consumption scenarios , still need to go to the high availability of the source code to the open source -based adjustments and improvements , high maintenance costs.

The second way to achieve their own , is pseudo Push , the so-called polling (polling), is actually timed to pull http check whether the information you need on the server side under hair. I 've learned a considerable part of the current mobile applications Push yourself to achieve a solution , are using this program to achieve. The advantage of this approach is : simple , large capacity points http server is relatively easy to get.

However, the pseudo- Push program their problems is also very obvious that it is mainly the timeliness , push message can not arrive to the client. If the polling interval is very short, the power, the flow will consume relatively large . Further , http request for each packet is relatively large .

The third way to achieve their own , then it is entirely independent development . This path , it is relatively difficult to walk a little , the development team needs to have a strong experience in the development of network services , the best IM experience to develop . Here not elaborate technical details and challenges.
two , Push services provided by third parties to use

Push is a basic service , whether it is based on open source solutions to build , or completely independent research and investment are relatively large , the need for network services in a professional team. Invested heavily in the development of cost , along with the increasing amount of client users , and its post- expansion, maintenance workload , are also rising , has become increasingly difficult .

So, most application developers are not going to build your own Push the basic services, but to consider the use of professional services provided by third parties .

abroad , many professional third-party Push services, such as Urban Airship, Push IO, Pubnub, Pusher . The company's services in general should be charged . Of course in the country, there will still be using the foreign service network latency considerations factor ( you know ) .

China , the third-party service providers not previously Push to open the developer generally used . Recently, companies have to provide this service , and that is : Aurora push.

The goal is to push the aurora in the following areas do extreme:

server load: single access to more than 2 million concurrent , parallel extensions overall server online
stability Send message : learn chat scene design, does not allow the loss news
client traffic and power consumption : less than 100 bytes each heartbeat (if XMPP or HTTP, need 1k more )

Aurora also sought to push developers as simple integration SDK, provides the application with Push capabilities. In the android application client , at least one line of code may require only that the integrated auroral push SDK:

JPushInterface.init (this);

requirements beyond copying SDK jar package to the application in the specified directory , and configuration files according to the requirements in accordance with AndroidManifest.xml . Specifically , please refer to Aurora Push Push Android SDK Integration Guide .

On the server side , we provide developers Portal, the registered developer account , log in to the Developer Portal push messages to the application , a simple push content to only need to fill , and then click on the Send button. In addition, the API also offers ways for remote push messages .

In general, the same mobile App, there will be multiple versions of the platform , generally at least two Android and iOS platforms . Aurora push Android and iOS currently supports two platforms , the server -side push , push simultaneously compatible with these two platforms. This can greatly reduce the workload of operations.

------ Solution ------------------------------------ --------
own polling was originally written in pseudo push the
------ Solution ------------------- -------------------------
 looks really wants to push its own development not easy
------ eference ------------ ---------------------------
powerful ah , so do not worry about pushing the issue applications
------ eference ---------------------------------------
like most of the domestic mobile phone is no google services , it is indeed very painful.
------ eference --------------------------------------- < br> now many applications have pushed , and will feel bored
------ eference ------------------------ ---------------
push is also a need to use and reasonable grasp
------ eference ------------ ---------------------------
polling really not too tricky ah
------ eference - --------------------------------------
learning , and the development of the mobile Internet is now so fast , also need to be more of a push to improve it.
------ eference --------------------------------------- < br> really is everywhere learned , there are so many original push knowledge
------ eference ------------------------- --------------
good thing to learn about the push knowledge
------ eference ----------------------- ----------------
not just to have the push function , push the content and frequency is also very important
------ eference ---- -----------------------------------
nice, indeed the case , the push content and frequency it is important
------ eference -------------------------------------- -
see how easy it under SDK
------ eference ----------------------------- ----------
push now how ?
------ eference --------------------------------------- < br> application push sometimes make users very objectionable
------ eference ----------------------------- ----------
push a double-edged sword ah
------ eference -------------------- -------------------
push worth considering
------ eference --------------- ------------------------
consider access push
------ eference --------- ------------------------------
push is also a need to use and reasonable grasp
---- - eference ---------------------------------------
not just to have push function , push the content and frequency is also very important
------ eference ---------------------------- -----------
push a double-edged sword
------ eference - --------------------------------------
 +1024
------ eference -------- -------------------------------
Push how to improve the application 's activity
---- - eference ---------------------------------------
polling true real-time poor
------ eference ------------------------------------- -
> M < there is no push to develop their own shoes do explore
------ eference --------------------- ------------------
mobile App in integrated Push capability , then gives the developer the ability of the mobile App operators ,
---- - eference ---------------------------------------
user needs to provide timely App information, such as type of application News , chat category , location services and the like.
------ eference --------------------------------------- < br> mobile App with Push capability , there is more necessity ,
------ eference ---------------------- -----------------
foreign to many large IT companies, including Oracle, Intel, Saleforce, USA Today , including use of third-party push service Urban Airship

没有评论:

发表评论