Questions tagged [back]

Method or control to return user to previous state, page or screen.

Refers to questions about preventing, detecting, handling, controlling, etc:

  1. The back button on web browsers
    • History of visited sites
    • Backing out of a "dirty" page
  2. The hardware or software back button on smartphones and other similar devices
  3. Navigation in Android/IOS applications
    • Returning to the previous view
    • Exiting the application (Android)

et cetera.

Does not refer to

  • Keyboard backspace key (^H)
  • Keyboard delete key (^?)
  • Reverse side of a physical device
  • Previous versions of an application
1484 questions
-1
votes
1 answer

Back button in header "refresh" the previus activity

I'm new to Android and I trying to do a simple app. In the "home", I write my name and press the "send" button. In the second page, the app show "Hello " + inserted name. The problem is: When I touch the back virtual button in nav bar, I come back…
Simone Sessa
  • 795
  • 1
  • 12
  • 35
-1
votes
2 answers

DrawerToggle backbutton setting in android navigation drawer/action bar

I am using android v4 drawer toggle for implementing the navigation drawer. mDrawerToggle = new ActionBarDrawerToggle(this, mDrawerLayout, R.drawable.menu_logo, R.string.drawer_open, R.string.drawer_close) My problem…
-1
votes
1 answer

How would I know in my service when user touched the back key?

I have an Activity and a service running in background. I want to know when user click the Back Key(when my activity is running) in my service so that I can do something in my service. Except override the onKeyDown, do I have an another way? Any…
Paul King
  • 11
  • 3
-1
votes
3 answers

Handle back key event on Windows Phone 8?

How to handle back key event in Cocos2dx 3.3 Windows Phone 8 C++? Many thanks
Vũ Nguyễn
  • 178
  • 4
  • 10
-1
votes
1 answer

How to use go back in sites correct?

I have my WebViewFragment and of course i want to go back in the site im browsing but i have the error: The method onBackPressed() is undefined for the type Fragment Why? I don´t understand that? What am i doing wrong? Here´s my full webview code…
-1
votes
2 answers

How to completely destroy activity on back pressed?

When I press back in my activity , it calls the onSaveInstanceState() and saves the "bundle savedInstanceState" which is right. But I want to destroy it or set it to null only when I press back button or on destroying activity I just need…
Saeed.re
  • 740
  • 9
  • 19
-1
votes
2 answers

How to create a back button that brings you to your previous page on C#?

private void btnback1_Click(object sender, EventArgs e) { firstpage first = new firstpage(); first.Show(); this.Hide(); } I tried this way of redirecting but when i pressed back,the stuff that I typed (in previous page)is all gone.
-1
votes
2 answers

How to finish a View Class used as a splash screen in android?

I have used a View Class as a Splash screen with some custom animations. The splash class is working fine, it goes to next activity successfully but when i click back button, the splash screen is returning. There is no onPause method for View class?…
Darshan Gowda
  • 4,956
  • 3
  • 19
  • 27
-1
votes
3 answers

Android - on clicking back

Hello I want to make an Activity, that on clicking back it closes, in stead of going to the previous activity. Please tell me how to do it. Thank you in advance
-1
votes
1 answer

Remove Left Button from Different View

Is it possible to run a method in viewController A which hides the back button in viewController B, but not in viewController C? Example: View A is a "hidden" screen which only initializes a few things for the app. View B is a web view, and View C…
Jake Chasan
  • 6,290
  • 9
  • 44
  • 90
-1
votes
1 answer

Force-Close when pressing back button

I get an error if i press the Hardware-Back-Button in one of my Activitys and I cant figure out where the error lies Here is my code: import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import…
mind
  • 432
  • 6
  • 18
-1
votes
3 answers

Pressing back button reduces counter

I have made a simple app on Android which increases the counter value by one and goes to next activity. At this point, if i press the back button, instead of just leaving the app or going to homescreen of the app, it goes to previous screen and…
Shivam Bhalla
  • 1,879
  • 5
  • 35
  • 63
-1
votes
3 answers

AJAX Disable back button until callback executes

I have a code error popping up when someone hits the back button while an ajax call is loading. Is there a way to disable back until the call returns successfully? Example: $.ajax({ // Disable back button url: "test.html", context:…
RAC
  • 516
  • 1
  • 9
  • 21
-1
votes
4 answers

how to put click event on single button so it goes to previous activity in android

I have made an application in that i have an activity contains a TextView and a button.Now this activity is used multiple times in the application so i want is that when i click the back button in that activity ,it should go to the previous…
jimmy cool
  • 147
  • 3
  • 5
  • 14
-1
votes
1 answer

Titanium: WebView using Navigation Bar

I'm using Titanium. I am trying to show web page with navigation bar. I want to put Back button at the top left position inside navigation bar which works as browser's back. Below is my current code. Could anybody help me with this?? Thanks in…