If you want to access those methods in various activities, why dont you
create a simple java class and acess them?? , if you want to share
variables across different activities, u can save them in AppPreferences
. Please provide me more details if i didnt get u :)
On 11/29/2011 04:04 PM, Kiran Kumar Kendole wrote:
Hey guys,
I have a problem while using intents. Can you please suggest me the
right way.
I have an Activity1 which contains some methods (
addData(),deleteData() ). when I use intent to other Activity2 Class..
I am not able to access the methods which are in Activity1. I cant
copy paste all the methods in all Activities. I dont think its good
practise. Can anybody suggest me.
Thanks,
KIRANKUMARKENDOLE
--
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