Hi,
I think I may have the answer to this:
have a further search about the onPause(), and onDestroy()
eg;
@Override
protected void onPause() {
super.onPause();
locationManager.removeUpdates(this);
}
Hope this helps,
Fred
On 06/06/2011, kaushik p wrote:
> How
Some ways you can do this:
(1) Have the activity set the on click listener and implement it to call
finish() on itself.
(2) Have an API on the view to set the Activity it is running in, so it can
call finish() on that.
(3) Have a different callback of your View subclass that reports when finish
sh
Hi i got the solution , its very simple . Sorry for being foolish . No Sleep
is the culprit
On Tue, Jun 7, 2011 at 3:48 AM, kaushik p wrote:
> How can the activity be accessed in the onclick() of the button , ??
> finish() inside the onclick is not working .
>
> close.setOnClickListener(new Vie
How can the activity be accessed in the onclick() of the button , ??
finish() inside the onclick is not working .
close.setOnClickListener(new View.OnClickListener()
{
public void onClick(View v)
{
finish();
Intent Newbtn1 = new Intent(v.getContext(),help.class);
startActivityForResult(N
When you get the back button, call finish() on your activity. That's all
the default implementation does.
On Sun, Jun 5, 2011 at 12:09 PM, kaushik p wrote:
> Hi all
>
> can anyone please help me implementing the back button in my app
> exclusively?? I am building an app to help illiterate ppl ,
Hi all
can anyone please help me implementing the back button in my app
exclusively?? I am building an app to help illiterate ppl , so they do not
know how to use the android back button ,i need to exclusively put it on the
screen .
However i want to use my back button exactly ia the way, natur
On Tue, Mar 29, 2011 at 9:29 AM, vani reddy wrote:
> How to make a button in my activity behave like a back button?
Ideally, you do not do this. Do not waste screen space and confuse the
user, since there already is a BACK button on any compliant Android
device.
That being said, you can call fi
Hi,
How to make a button in my activity behave like a back button?
--
Regards,
Vani Reddy
--
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
8 matches
Mail list logo