HI, AJ Thanks for reply,
 But instead of terminating the process what I want is : If user press
back button then also data is sent to server in background and after
successfully sending set screen or alertbox to the user showing status
of data i.e successfully saved on server or not.

On Aug 30, 12:08 pm, AJ <ajeet.invinci...@gmail.com> wrote:
> You must have written code for "posting data to server" in a thread.
> So when you press the BACK key terminate that thread and show a screen
> that "Failure Data posting to server" to user
>
> Thanks,
> AJ
>
> On Aug 30, 12:00 pm, "pramod.deore" <deore.pramo...@gmail.com> wrote:
>
> > Hi,  In my application I am sending data to server if I had not
> > pressed back button when data is sending to server then data is
> > successfully saved on server and new screen (one created in layout
> > folder) is displayed which says data is stored.
> >              But at the time of sending data if i pressed back button
> > then also data  successfully saved on server but I can't see that new
> > screen that data is stored on server. How to handle this situation?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to