Closed sepehr13494 closed 5 years ago
سلام مجدد این سوال مربوط به کتابخانه اندروید هست من براتون انتقالش میدم به بخش اندروید و بخش کدی که گذاشتید رو ویرایش و مرتب می کنم
سلام مجدد این سوال مربوط به کتابخانه اندروید هست من براتون انتقالش میدم به بخش اندروید و بخش کدی که گذاشتید رو ویرایش و مرتب می کنم
بله خیلی ممنون
لطفا از متصل بودن به چابک اطمینان حاصل کنین.
نکته: متد register عمل اتصال به سرور چابک را انجام میدهد، بنابراین باید فقط یک بار در طول اجرا اپلیکیشن (در کلاس application) فراخوانی شود.
برای دریافت نمونه initialize شده از کد زیر
chabok = AdpPushClient.get();
بجای
chabok = ((MyApplication)getApplication()).getPushClient();
استفاده کنید.