Showing posts with label press. Show all posts
Showing posts with label press. Show all posts

Monday, 1 August 2016

Can I long press my home button to unlock my device?

Hi, I 've been searching for app that can unlock my phone when I hold the home button but still to have a pin or password ( like fake fingerprint scanner :D) .
I am using Samsung Galaxy J3 2016 I have not rooted or unlocked the bootloader of my device.
Sorry if there were mistakes in the post.

Friday, 22 July 2016

S4 Active AT&T restarts when i press the home button



Thanks to all the numerous posts contributed on the forum i was able to root the NH4 update of my phone, i thought after rooting i would have solved this problem, unfortunately, it still persists. when i press the home button on my s4 active, it restarts the phone, at first I thought it was the TouchWiz that was the problem, so I turned off the app, i also got root and cleared cache. even now I installed button saviour and pressed the home button on that, :( :( it restarted the phone, what do i do next?



Tuesday, 19 July 2016

Google Now on Tap won't launch When I Press Home Button on BV6000



Hi, guys. My name Tommy and i need help here

Using Blackview 6000 just a week. This device has 3 button on the home screen.

Left is menu button
Middle is Home Button for go to home and recent task when long press
Right is back button

I can't launch Google now and Google now on tap. Because the Home Button is for recent task <ll

So, how can I have my home button for Google now and Google now on tap?

Thanks in advance

Sent from my BV6000 using Tapatalk



Monday, 18 July 2016

How to long press on my app based webview



Hi guy this is my first application android, i using android studio and i need the help. i long press in not show context menu to download the image, below I leave the code if someone is kind enough to give me help.



Code:


import android.content.Context;
import android.media.AudioManager;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.KeyEvent;
import android.view.View;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.ProgressBar;

public class MainActivity extends AppCompatActivity {
    WebView webView;
    ProgressBar progressBar;
    private AudioManager audio;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        audio = (AudioManager) getSystemService(Context.AUDIO_SERVICE);

        webView = (WebView) findViewById(R.id.webView);

        webView.setWebViewClient(new WebViewClient());

        webView.getSettings().setSupportZoom(true);
        webView.setVerticalScrollBarEnabled(true);
        webView.setHorizontalScrollBarEnabled(true);
        webView.getSettings().setLoadWithOverviewMode(true);
        webView.getSettings().setUseWideViewPort(true);
        //webView.getSettings().setBuiltInZoomControls(true);
        webView.loadUrl("https://alpha.wallhaven.cc/");



        //Barra de progreso
        progressBar = (ProgressBar) findViewById(R.id.progressBar);
        webView.setWebChromeClient(new WebChromeClient() {
            @Override
            public void onProgressChanged(WebView view, int progress) {
                progressBar.setProgress(0);
                progressBar.setVisibility(View.VISIBLE);
                MainActivity.this.setProgress(progress * 1000);
                progressBar.incrementProgressBy(progress);
                if (progress == 100) {
                    progressBar.setVisibility(View.GONE);
                }
            }
        });


        /*Adding shortcut for MainActivity
        //on Home screen
        Intent shortcutIntent = new Intent(getApplicationContext(),
                MainActivity.class);

        shortcutIntent.setAction(Intent.ACTION_MAIN);

        Intent addIntent = new Intent();
        addIntent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent);
        addIntent.putExtra(Intent.EXTRA_SHORTCUT_NAME, "HelloWorldShortcut");
        addIntent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE,
                Intent.ShortcutIconResource.fromContext(getApplicationContext(),
                        R.drawable.ic_launcher));
        addIntent.putExtra("duplicate", false);
        addIntent.setAction("com.android.launcher.action.INSTALL_SHORTCUT");
        getApplicationContext().sendBroadcast(addIntent);*/

    }






    @Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {

        switch (keyCode) {
            case KeyEvent.KEYCODE_VOLUME_UP:
                audio.adjustStreamVolume(AudioManager.STREAM_MUSIC,
                        AudioManager.ADJUST_RAISE, AudioManager.FLAG_SHOW_UI);
                return true;
            case KeyEvent.KEYCODE_VOLUME_DOWN:
                audio.adjustStreamVolume(AudioManager.STREAM_MUSIC,
                        AudioManager.ADJUST_LOWER, AudioManager.FLAG_SHOW_UI);
                return true;
            case KeyEvent.KEYCODE_BACK:
                if (webView.canGoBack()) {
                    //if Back key pressed and webview can navigate to previous page
                    webView.goBack();
                    // go back to previous page
                    return true;
                } else {
                    finish();
                    // finish the activity
                }
                return super.onKeyDown(keyCode, event);
            default:
                return false;
        }


    }



}





Wednesday, 13 July 2016

Long press home button



my htc 10 running ICE Rom and I long press home button htc 10 to sleep, I dont like. How do I disable it go.



Monday, 11 July 2016

Google Now on Tap doesn't launch when i press Home Button on BV6000



Hi, guys. My name Tommy and i need help here

Using Blackview 6000 just a week. This device has 3 button on the home screen.
Left is menu button
Middle is Home Button for go to home and recent task when long press
Right is back button

I can't launch Google now and Google now on tap. Because the Home Button is for recent task

So, how can I have my home button for Google now and Google now on tap?

Thanks in advance


Sent from my BV6000 using Tapatalk



Wednesday, 6 July 2016

Games cutting out on long press



Hi, I’m not sure if this is the right spot but this started occurring on my Nexus 5x. When playing racing games and holding the throttle, it seems to cut out ie deactivate the throttle. It’s almost like its detecting a ‘sticky key’. I think this started occurring when I updated my phone, currently on MHC19J. Admittedly I’m a slacker on updating and was running a decemberish version prior to this, as I find the upgrade process cumbersome when rooted.

Is there any way around to make sure this doesn’t occur and I don’t have to let off the throttle? For reference, the game is Mad Skills Motocross 2. I haven’t found a keyboard (using stock google) setting for this so far.