Crash Due To Passing Context To A Serializable Class
Possible Duplicate: Serializable crash error when loading web broser from my application below a code causing a crash when I try to open a web browser from my application by a c
Solution 1:
the problem is due to pass main activity to serializable class when creating its related object. in our case passing the MainTest
Object to the Discovery
object when creating it.
The solution: create another serializable class which contains all Discovery data (data to be serialzable).
Post a Comment for "Crash Due To Passing Context To A Serializable Class"