Thank u so much for ur reply.... Actually i soved the problem.... I have created this app widget in android 1.6 and I was testing this application on android 2.1.Thats why I was getting this peroblem.... Now I have created application in android 2.1 and I have used old source code..Now its working fine...
On May 20, 11:00 pm, TreKing <[email protected]> wrote: > On Thu, May 20, 2010 at 2:08 AM, sunita > <[email protected]>wrote: > > > Please give me suggestions for this problem. > > Post the relevant code that's not working. > > On Thu, May 20, 2010 at 2:18 AM, Tommy <[email protected]> wrote: > > Why not save the object to a global variable and access it in your > > next activity? > > Because this is hack that goes against the Android way of data and message > passing and will lead to problems - like if you press Home after going to > the second activity, get booted from memory, and come back to that activity. > Your static data will be null and your second activity will die a horrible > death. > > ------------------------------------------------------------------------------------------------- > TreKing - Chicago transit tracking app for Android-powered > deviceshttp://sites.google.com/site/rezmobileapps/treking > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

