Possible Duplicate:
Passing data between activities in Android
Ok Lets say that in my Activity1.java there is a variable called date
If I declare it as static, in my Activity2 I can recall its value just by writing Activity1.date
.
If it's not static I can when starting activity2 pass the value of date via Bundle
.
Both ways are working.
My question is which is most preffered and has less disadvantages?