Ejemplo n.º 1
0
 private void button7_Press(object sender, EventArgs e)
 {
     try
     {
         jPushClient.PushURLAll(textBox2.Text, "https://www.baidu.com/", PushPlatform.android);
     }
     catch (cn.jpush.api.common.APIRequestException apiex)
     {
         MessageBox.Show(string.Format("{0}/{1}", apiex.Message, apiex.ErrorMessage));
     }
 }
Ejemplo n.º 2
0
 private void button7_Press(object sender, EventArgs e)
 {
     client.PushURLAll(textBox2.Text, "https://www.baidu.com/", PushPlatform.android);
 }