[android-developers] Re: How to pass data when switching between activities in an application

2009-01-08 Thread A R
check putExtra method in Intent Class Regards, Amit. On Jan 8, 12:37 pm, Asif k asifk1...@gmail.com wrote: Hi all,   In an application I am switching between HomeApp.java activity to ListApp.java activity using following code :                 Intent filelist = new Intent(this,

[android-developers] Re: How to pass data when switching between activities in an application

2009-01-08 Thread Asif k
Hi Amit, Thanks for ur reply I had Used it like following , Intent filelist = new Intent(this, ListApp.class); showButton.putExtra(android_giude.AndroidView.hello,Asif here); startActivity(filelist); But my doubt is how to retrive this value in the ListApp activity??

[android-developers] Re: How to pass data when switching between activities in an application

2009-01-08 Thread lummie
In the onCreate or else where in the activity: String value = this.getIntent().getStringExtra (android_giude.AndroidView.hello); there are severla getExtra methods for retrieving different types of data. On Jan 8, 10:18 am, Asif k asifk1...@gmail.com wrote: Hi Amit, Thanks for ur reply

[android-developers] Re: How to pass data when switching between activities in an application

2009-01-08 Thread lummie
In the onCreate or else where in the activity: String value = this.getIntent().getStringExtra (android_giude.AndroidView.hello); there are severla getExtra methods for retrieving different types of data. On Jan 8, 10:18 am, Asif k asifk1...@gmail.com wrote: Hi Amit, Thanks for ur reply

[android-developers] Re: How to pass data when switching between activities in an application

2009-01-08 Thread Asif k
Hi all, I got the solution here is a good thread regarding this topic http://groups.google.com/group/android-developers/browse_thread/thread/9d0fd6127cb513ff On Jan 8, 3:54 pm, lummie gro...@lummie.co.uk wrote: In the onCreate or else where in the activity: String value =