mohsen.hex
جمعه 06 شهریور 1394, 23:15 عصر
سلام
من میخام پیام های مربوط به برناه ام با یک پنجره جدید مثل دیاوگ یا پاپ اپ نمایش داده بشه و هر کار میکنم متاسفانه ارور دارم!!!
و به این نتیجه رسیدم که اگر از BroadcastReceiver اکتند کرده باشم نمیتونم داخلش دیالوگ اضاف کنم!!ایا درسته؟؟
دوستان راهی ندارند که بشه دیالوگ نمایش داد؟؟؟
public class SmsFilter extends BroadcastReceiver {
String TAG="Sms filter";
private String text;
private String TellNumber ,TellNumber_temp;
PopupWindow popUp;
LinearLayout layout;
TextView tv;
LayoutParams params;
LinearLayout mainLayout;
LinearLayout layoutOfPopup;
PopupWindow popupMessage;
Button popupButton, insidePopupButton;
TextView popupText;
@Override
public void onReceive(Context context, Intent intent) {
//Toast.makeText(context, "newwww msg", Toast.LENGTH_SHORT).show();
من میخام پیام های مربوط به برناه ام با یک پنجره جدید مثل دیاوگ یا پاپ اپ نمایش داده بشه و هر کار میکنم متاسفانه ارور دارم!!!
و به این نتیجه رسیدم که اگر از BroadcastReceiver اکتند کرده باشم نمیتونم داخلش دیالوگ اضاف کنم!!ایا درسته؟؟
دوستان راهی ندارند که بشه دیالوگ نمایش داد؟؟؟
public class SmsFilter extends BroadcastReceiver {
String TAG="Sms filter";
private String text;
private String TellNumber ,TellNumber_temp;
PopupWindow popUp;
LinearLayout layout;
TextView tv;
LayoutParams params;
LinearLayout mainLayout;
LinearLayout layoutOfPopup;
PopupWindow popupMessage;
Button popupButton, insidePopupButton;
TextView popupText;
@Override
public void onReceive(Context context, Intent intent) {
//Toast.makeText(context, "newwww msg", Toast.LENGTH_SHORT).show();