How to keep changed form content when leaving and going back to HTTPS page? (works with HTTP)

You can consider the following solutions: The autocomplete Attribute (HTML5) This seems unrelated since autocomplete tells the browser to complete fields with the values based on earlier user input which were “submitted” with the form. But in my tests I saw that; after filling out the form without submitting; when I hit the forward (history) … Read more

Android back button and MediaController

Based on the source code, this should work: Extend MediaController (for the purposes of this answer, call it RonnieMediaController) Override dispatchKeyEvent() in RonnieMediaController Before chaining to the superclass, check for KeyEvent.KEYCODE_BACK, and if that is encountered, tell your activity to finish() Use RonnieMediaController instead of MediaController with your VideoView Personally, I’d just leave it alone, … Read more

jQuery UI Tabs back button history

I just ran into this as well. Its really easy with the jquery address plugin here http://www.asual.com/jquery/address/ The demo for tabs seemed a bit over complicated. I just did this: $(‘document’).ready(function() { // For forward and back $.address.change(function(event){ $(“#tabs”).tabs( “select” , window.location.hash ) }) // when the tab is selected update the url with the … Read more

EditText with soft keyboard and “Back” button

You can override when the keyboard disappears using this method: public boolean onKeyPreIme(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_UP) { // Do your thing here return false; } return super.dispatchKeyEvent(event); } Taken from my other answer @ : Android: Error popup on EditText doesn’t move down when keyboard goes … Read more