There are allot of moving parts to get a popup to display when a new SMS Message is received. Can you post your Android Manifest as well as this is a huge part in how it all works.
–
Camille SévignyAug 25 '11 at 16:38

i made the changes the AlertDialog still dont popup the Toast does
–
Java ReviewFeb 6 '11 at 22:21

have you passed context of receiver in alertdialog ? if so then it should work. post error log if any.
–
piyushnpFeb 7 '11 at 3:52

1

Toast is displayed because it is displayed as system overlay. AlertDialog is displayed only if your application is brought to the foreground when SMS arrives. I checked and I see AlertDialog, but only when I navigate to my application. If you want to force displaying something as overlay over whatever is on the screen, it is not user friendly but is doable.
–
ZelimirFeb 7 '11 at 15:07

try Zelimir but I am trying to make a app like SMS pop. how did he get it working??
–
Java ReviewFeb 8 '11 at 20:34