...
Code Block | ||||
---|---|---|---|---|
| ||||
public class Constant { public static final String EURO_KEY = "AppcentAndroidTest1"; } |
After doing this, the EuroMobileManager Singleton class can be called within the application as shown below:
Code Block | ||||
---|---|---|---|---|
| ||||
EuroMobileManager.sharedManager(getApplicationContext(),Constant.EURO_KEY); |
...
If several parameters of the user's are known, then at or after the registering stage, they can be added as shown below:
...
Code Block | ||||
---|---|---|---|---|
| ||||
EuroMobileManager.sharedManager(getApplicationContext(),Constant.EURO_KEY).subscribe(regid); |
...
When a push notification is read, the following method should be called. This method sends the message “read” information to RMC and it is very important for analysis. The place of the following method can be changed depending on the applications flow.
...