Android 它是如何工作的
我想知道pushwoosh系统是如何工作的。用户启动应用程序的前两次,将执行doOnRegistered()处理程序。在前两次之后,这种情况不再发生 另一个大问题是,我需要获得我的标签,但无法知道经理是否已注册。因此,前两次,在注册管理器之前(也就是在调用doOnRegistered之前),调用方法UserController.Instance.GetPushwooshTags(ApplicationContext)中异步方法的处理程序。我怎样才能解决这个问题 我做的每件事都是这样的: 在我的活动中,我正在做类似的事情:Android 它是如何工作的,android,xamarin,tags,pushwoosh,Android,Xamarin,Tags,Pushwoosh,我想知道pushwoosh系统是如何工作的。用户启动应用程序的前两次,将执行doOnRegistered()处理程序。在前两次之后,这种情况不再发生 另一个大问题是,我需要获得我的标签,但无法知道经理是否已注册。因此,前两次,在注册管理器之前(也就是在调用doOnRegistered之前),调用方法UserController.Instance.GetPushwooshTags(ApplicationContext)中异步方法的处理程序。我怎样才能解决这个问题 我做的每件事都是这样的: 在我的活
protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundle);
SetContentView (Resource.Layout.mainAppActivity);
mMessageReceiver = new LocalMessageBroadcastReceiver ();
mMessageReceiver.activity = this;
mRegisterReceiver = new LocalRegisterBroadcastReceiver ();
mRegisterReceiver.activity = this;
ArelloMobile.Push.PushManager manager = ArelloMobile.Push.PushManager.GetInstance (this);
manager.OnStartup (this);
//Register for push!
manager.RegisterForPushNotifications();
checkMessage (Intent);
//this method calls pushManager.GetTagsAsync(context,listener);
UserController.Instance.GetPushwooshTags (ApplicationContext);
}
public void doOnRegistered(String registrationId)
{
Console.WriteLine ("registered for pushwoosh");
// code to run if device has succesfully registered
}
但是你的应用程序会收到推送吗?你参加考试了吗? 如果没有,您还应检查以下文档: 及