Please ensure Javascript is enabled for purposes of website accessibility Jump to content

Android (samsung note 5) back button is killing me


guitarpy
 Share

Recommended Posts

Hopefully the devs follow up on this forum...if not, and there's a better place to post this, if one of the mods could let me know, I'd appreciate it greatly.

 

On my Samsung Note 5, if i hit the back button from anywhere in the app it kicks me out of the app and has to reconnect when i bring the app back up...this is killing me. It happened to me on stage too...and i had to wait for it to reconnect to do anything. Some better handling of the back button (which is a native feature in android across the board if i'm not mistaken) would be greatly appreciated in a future update if the devs have the time. If it's a pain to get it to work as a back button within the amp, perhaps it could at least trigger a prompt confirming that you wish to exit the program before it quits and disconnects. The app works fine in the background without disconnecting if i hit home or the applications button, but back just kills it flat, with one button press.

 

Hats off to everyone at line 6 for their amazing work on this amp, and continued development. I've bee very much impressed with this amp and to date, despite some headaches with saving tones, and trying to level them with one another (the ability to switch back and forth on my shortboard without losing changes would be amazing in that regard...perhaps an "edit mode" or something to that effect)

 

Thanks again for all your great work.

  • Upvote 1
Link to comment
Share on other sites

  • 3 years later...

Just making "a point of never hitting it" should never be an answer. This is programmer 101: Program hardware/system buttons FIRST!

 

It is embarrassing to have these 2 problems at the same time.

   A. Back button exits the app

   B. Exiting the app = AUTODISCONNECT FROM AMP !

 

EDIT: 

If you can't assign a back button, the following script would take a programmer 5 minutes to implement and would prompt users with a dialogue box "are you sure you want to close...." :

 

@Override
public void onBackPressed() {
    new AlertDialog.Builder(this)
        .setIcon(android.R.drawable.ic_dialog_alert)
        .setTitle("Closing Activity")
        .setMessage("Are you sure you want to close this activity?")
        .setPositiveButton("Yes", new DialogInterface.OnClickListener()
    {
        @Override
        public void onClick(DialogInterface dialog, int which) {
            finish();    
        }

    })
    .setNegativeButton("No", null)
    .show();
}
Edited by kennethcowen2010
provide suggestion
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...