السلام عليكم
استخدمت الكلاس pushRegistry
كالتالي
try {
String cn = "scheduleMidlet";
// Get the current time by calling Date.getTime()
Date alarm = new Date();
long t = PushRegistry.registerAlarm(cn,
alarm.getTime()+3000);
System.out.println("push aaaaaaaa");
} catch ( java.lang.ClassNotFoundException cnf ) {
System.out.println( "PushMIDlet: Class Not Found" );
} catch ( javax.microedition.io.ConnectionNotFoundException connnf ) {
System.out.println( "PushMIDlet: Connection Not Found" );
}
notifyDestroyed();
لكنه لم يعمل
ولا اعرف ما المشكله
ارجو مساعدتي باخباري كيف الطريقة الصحيحة لاستخدام هذا الكلاس
مع العلم اني قرات كل المقالات الموجوده في المنتدى والتي تشرح هذا الموضوع وشكرا