Developing sample download application,My application contains 3 activities.When the first activity starts, the download begins automatically. when the download is completed I have set a code to raise a popup.Will the same popup raises in the all other activities also.Please let me know if I need to put any code to get the popup in the other activities too.pls tell me how to do this.
Developing sample download application,My application contains 3 activities.When the first activity starts, the download
Share
here is sample code code of using
AlertDialogin all activity.crate one class file like as allmethod.java
and add this code in that class
and you can use from any class like as
if you want
PopUpinstead ofAlertDialogthen you can write your code inshowAlertMethod and you can also add parameters whatever you need.