05-21-2012 06:50 AM
05-21-2012 07:38 AM - edited 05-21-2012 07:38 AM
I understand you correctly but the problem is if i make a bean class and using setter getter there and also implementing the persistable interface my code is not compiling any more and when i am not implementing persistable its compiling fine.
05-21-2012 12:26 PM
05-22-2012 01:29 PM
05-24-2012 04:58 AM
Can I suggest that you do not need to make this object (User) persistable. Instead store it in RuntimeStore. Then it is available for your Application from run to run. If your user restarts the Phone, then they will have to log in again, but this will not happen often.
05-29-2012 01:58 AM
Hey peter thats a good idea rather than persist User object actually. But i got some other work around for that. I get the acess token when a user has logged in and then persisiting the access token , User id and username these all are persisitable so no problem for me to persist it. And i have seen that by Id we can get the User object so its working fine now. so every time i can post on facebook wall by the help of that persisted access token . Thanks for all your help .