Wednesday, 11 September 2013

UI Applicatio is not able to maintain its state

UI Applicatio is not able to maintain its state

Hello Everyone,
I am developing an application that's do the following things.
1. Tracks the Incoming/Outgoing Call.
2. If user attend the call. after disconnected the call a Screen will
pop-up.(User Have to fill some info and content will save in
(Sqlite) database)
Now what I am doing is :-
1. First Make differ entry point (autostartup) & this is the Entry-point
of the application. (logic is working fine)
2. Implement Phone-listener that tracks Incoming/Outgoing Calls (logic is
working fine)
3. When a call is disconnected , detail Screen will pop-up ,User can fill
up the screen. (logic is working fine)
4. But the Problem is when user Receives/Do calls and return back to the
application, application can't able to maintain variable states (like
File Connections , Global variables that uses in application ) they all
become reset.
This issue I am getting only on the Incoming/Outgoing Call time.
* I used Run-time persistence storage but its not working in case of
records insertion into the database.
* I reinitialize the Database class but it's not working at all.
Please let me know, Why I am getting this issue.
Thanks.

No comments:

Post a Comment