> > Hello to all, I create 3 intents of activities(which i add to TabHost) in > my main TabActivity. > So far, so good...
I also have refresh and logout button with onClick method. When this button > is clicked say refresh i want to refresh item of intent activity. Where are these buttons? What is "item"? I just put an public method there, it's working fine if i say print any > message there, but as I called some process method to get data from web > service it;s not work. > You put a public method where? What do you mean by "called some process method to get data from web service"? What do you mean by "it;s not work"? Care to elaborate at all? To intent i use > intentAccount.putExtra("test", "Hello"); > AccountActivity r = new AccountActivity(); > r.update(); > When do you use this? Why are you creating a new instance of AccountActivity every time? any one have idea what can done in this case ? Not from what you've posted... We aren't mind readers. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sun, Jul 8, 2012 at 7:35 PM, shubh <shubhampatn...@gmail.com> wrote: > <https://lh3.googleusercontent.com/-GIBSiBEMAlI/T_oyu0qVfiI/AAAAAAAAAHk/SuUYVqU4YdE/s1600/tab.jpg> > Hello to all, I create 3 intents of activities(which i add to TabHost) > in my main TabActivity. I also have refresh and logout button with onClick > method. When this button is clicked say refresh i want to refresh item of > intent activity. > > I just put an public method there, it's working fine if i say print any > message there, but as I called some process method to get data from web > service it;s not work. > > To intent i use > > intentAccount.putExtra("test", "Hello"); > AccountActivity r = new AccountActivity(); > r.update(); > > > and this is my update method in account Activity > > public void update(){ > > System.out.println("ACCOUNT :) "); > > } > > > any one have idea what can done in this case ? > > > -- > 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 -- 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