hi dude i dont know exactly y u ill try thread concept ..... On Tue, Sep 4, 2012 at 12:47 PM, HK <[email protected]> wrote:
> Hi Seshu, > > This is not about overlap. When I start activity B, then onPause of A > shouldn't be called. As simple as that. > > > On Tuesday, September 4, 2012 4:13:50 PM UTC+9, Seshu wrote: >> >> Hi HK, >> U cannot overlap another activity in main activity. still if u >> want means then use fragments. >> >> On Sep 4, 11:34 am, HK <[email protected]> wrote: >> > I think you mean: >> > popup.getWindow().**setBackgroundDrawable(new >> > ColorDrawable(android.**graphics.Color.TRANSPARENT)); >> > >> > I have tried this, but it doesn't work. >> > thanks. >> > >> > >> > >> > >> > >> > >> > >> > On Tuesday, September 4, 2012 3:18:37 PM UTC+9, MagouyaWare wrote: >> > >> > > I have activity A running. I want to start my new activity B so that >> > >> activity A is also running. Is this possible ? >> > >> > >> Normally, when activity B is started, activity A is put on hold and >> > >> onPause is called. I don't want this to happen. But instead I want >> activity >> > >> A running normally and on top activity B running. >> > >> > >> I don't have control over activity A. And activity B is only for >> > >> displaying Alert dialogs. >> > >> > >> Is this possible in Android ? >> > >> > > Sorry, I don't think this is possible... Actually I just thought of a >> > > scenario where it might be possible. If you make Activity B have a >> > > trasparent (or semi-transparent) background then onPause() might not >> get >> > > called. I have not verified that is the case, but you could try it >> and see. >> > >> > > Thanks, >> > > Justin Anderson >> > > MagouyaWare Developer >> > >http://sites.google.com/site/**magouyaware<http://sites.google.com/site/magouyaware> >> > >> > > On Mon, Sep 3, 2012 at 11:59 PM, HK >> > > <[email protected]<javascript:>>wrote: >> > >> > >> Hi Jugni, >> > >> > >> Yes, I know. That's the reason I am asking if its possible. >> > >> > >> As I mentioned, I don't have control over Activity A, only B. >> Activity A >> > >> doesn't belong to me. My activity is activity B. >> > >> > >> I didn't understand 'use class file'. Can you please explain in >> detail ? >> > >> > >> thanks. >> > >> > >> On Tuesday, September 4, 2012 2:33:33 PM UTC+9, jugni wrote: >> > >> > >>> Hello HK, >> > >> > >>> If you know the android life cycle then you may know that when we >> go to >> > >>> next activity then first activity should be on pause.So if you want >> the >> > >>> alert dialog then you can also show in the same activity.So why you >> create >> > >>> the new activity.Or if you want to handle different dialog thenuse >> the >> > >>> class file and then just call the class file from activity so >> activity will >> > >>> be running and alert dialog also popup. >> > >> > >> -- >> > >> You received this message because you are subscribed to the Google >> > >> Groups "Android Developers" group. >> > >> To post to this group, send email to [email protected]<* >> *javascript:> >> > >> To unsubscribe from this group, send email to >> > >> android-developers+**[email protected] <javascript:> >> > >> For more options, visit this group at >> > >>http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en> >> > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

