I am assuming that you want to get the activity eSkyGuide in the foreground, correct?
In this case as ragavendran suggested, call an Intent to start up the new activity. Something like Intent eSkyGuideIntent = new Intent() ; eSkyGuideIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); eSkyGuideIntent.setClassName ("<yourPackageName>.eSkyGuide","<yourPackageName>.eSkyGuide"); mContext.startActivity(eSkyGuideIntent); Make sure that you have a valid context instance. With doing this your new activity should be started. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 28, 7:07 am, ragavendran s <sraghav.ra...@gmail.com> wrote: > I think u may use like this .......Intent to call another .java class > if successs u reply to me.......thanks > > > > > weather.java > > > public class Weather extends Activity implements > > Button.OnClickListener > > { > > > Intent intent = new Intent(this, homepage.class); > > startActivity(intent); > > > } > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---