예제 #1
0
 /// <summary>
 /// 初始化
 /// </summary>
 /// <param name="bmobID"></param>
 public void init(string bmobID)
 {
     bmob = new BmobWindowsPhone();
     bmob.initialize(bmobID);
     bmob.StartPush();
     getHelp();
     //user = new myUser();
     //jiLu = new liShiJiLu();
 }
        // 构造函数
        public MainPage()
        {
            InitializeComponent();

            Bmob.initialize("4414150cb439afdf684d37dc184e0f9f", "e1deb317442129c125b228ddf78e5f22");

            BmobDebug.Register(msg => { Debug.WriteLine(msg); });

            BmobWindowsPhone.PushChannel = "your_app_name_en";

            // 用于本地化 ApplicationBar 的示例代码
            //BuildLocalizedApplicationBar();
        }