i callled goBack() with sucess from a button:

        mButton_thisSpinValue.setOnLongClickListener(new
View.OnLongClickListener() {
                public boolean onLongClick(View v) {
                                Toast.makeText(HDART10Activity.this, "GO BACK 
...",
Toast.LENGTH_SHORT).show();
                                goBack();
                        return true;
                }//onLongClick
        });  //clickListener


i am trying to also do it form onPause(), onStop() , onDestroy ..... :-
(


    @Override
    public void onStop() {
        super.onStop();
        goBack();
    }//onStop

thanks for help ..

On Aug 12, 11:05 pm, TreKing <treking...@gmail.com> wrote:
> On Fri, Aug 12, 2011 at 5:36 PM, hectordu...@yahoo.com <
>
> hectordu...@yahoo.com> wrote:
> > i wonder if somebody has an idea to deal with this issue; i tried to catch
> > the RESULT_CANCELED but nothing happens, the activity 1 is as follows:
>
> How and where are you calling your "goBack()" method?
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
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