Scan Webite QR code on mobile and open website on mobile









up vote
0
down vote

favorite












QR Code on website Directly scan on mobile and then it automatically open Website on mobile but how?










share|improve this question

















  • 1




    Welcome to Stack Overflow! Please take the tour, look around, and read through the Help Center, in particular How do I ask a good question? If you run into a specific problem, research it thoroughly, search thoroughly here, and if you're still stuck post your code and a description of the problem. Also, remember to include Minimum, Complete, Verifiable Example. People will be glad to help
    – Andreas
    Nov 12 at 4:18










  • Do you mean that you'd like to know how to scan a QR code on a website that you're already viewing in a browser and then open the URL in that QR code on the same browser?
    – QA Collective
    Nov 12 at 4:29











  • actually, I want to create a QR code for my website which I want to upload it on my website and then by using mobile QR scanner it runs my website on mobile.?
    – Mirza Shazif Abbas
    Nov 12 at 4:41










  • for generating qr code for website qr-code-generator.com
    – V-rund Puro-hit
    Nov 12 at 5:03














up vote
0
down vote

favorite












QR Code on website Directly scan on mobile and then it automatically open Website on mobile but how?










share|improve this question

















  • 1




    Welcome to Stack Overflow! Please take the tour, look around, and read through the Help Center, in particular How do I ask a good question? If you run into a specific problem, research it thoroughly, search thoroughly here, and if you're still stuck post your code and a description of the problem. Also, remember to include Minimum, Complete, Verifiable Example. People will be glad to help
    – Andreas
    Nov 12 at 4:18










  • Do you mean that you'd like to know how to scan a QR code on a website that you're already viewing in a browser and then open the URL in that QR code on the same browser?
    – QA Collective
    Nov 12 at 4:29











  • actually, I want to create a QR code for my website which I want to upload it on my website and then by using mobile QR scanner it runs my website on mobile.?
    – Mirza Shazif Abbas
    Nov 12 at 4:41










  • for generating qr code for website qr-code-generator.com
    – V-rund Puro-hit
    Nov 12 at 5:03












up vote
0
down vote

favorite









up vote
0
down vote

favorite











QR Code on website Directly scan on mobile and then it automatically open Website on mobile but how?










share|improve this question













QR Code on website Directly scan on mobile and then it automatically open Website on mobile but how?







php android laravel






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 12 at 4:12









Mirza Shazif Abbas

6




6







  • 1




    Welcome to Stack Overflow! Please take the tour, look around, and read through the Help Center, in particular How do I ask a good question? If you run into a specific problem, research it thoroughly, search thoroughly here, and if you're still stuck post your code and a description of the problem. Also, remember to include Minimum, Complete, Verifiable Example. People will be glad to help
    – Andreas
    Nov 12 at 4:18










  • Do you mean that you'd like to know how to scan a QR code on a website that you're already viewing in a browser and then open the URL in that QR code on the same browser?
    – QA Collective
    Nov 12 at 4:29











  • actually, I want to create a QR code for my website which I want to upload it on my website and then by using mobile QR scanner it runs my website on mobile.?
    – Mirza Shazif Abbas
    Nov 12 at 4:41










  • for generating qr code for website qr-code-generator.com
    – V-rund Puro-hit
    Nov 12 at 5:03












  • 1




    Welcome to Stack Overflow! Please take the tour, look around, and read through the Help Center, in particular How do I ask a good question? If you run into a specific problem, research it thoroughly, search thoroughly here, and if you're still stuck post your code and a description of the problem. Also, remember to include Minimum, Complete, Verifiable Example. People will be glad to help
    – Andreas
    Nov 12 at 4:18










  • Do you mean that you'd like to know how to scan a QR code on a website that you're already viewing in a browser and then open the URL in that QR code on the same browser?
    – QA Collective
    Nov 12 at 4:29











  • actually, I want to create a QR code for my website which I want to upload it on my website and then by using mobile QR scanner it runs my website on mobile.?
    – Mirza Shazif Abbas
    Nov 12 at 4:41










  • for generating qr code for website qr-code-generator.com
    – V-rund Puro-hit
    Nov 12 at 5:03







1




1




Welcome to Stack Overflow! Please take the tour, look around, and read through the Help Center, in particular How do I ask a good question? If you run into a specific problem, research it thoroughly, search thoroughly here, and if you're still stuck post your code and a description of the problem. Also, remember to include Minimum, Complete, Verifiable Example. People will be glad to help
– Andreas
Nov 12 at 4:18




Welcome to Stack Overflow! Please take the tour, look around, and read through the Help Center, in particular How do I ask a good question? If you run into a specific problem, research it thoroughly, search thoroughly here, and if you're still stuck post your code and a description of the problem. Also, remember to include Minimum, Complete, Verifiable Example. People will be glad to help
– Andreas
Nov 12 at 4:18












Do you mean that you'd like to know how to scan a QR code on a website that you're already viewing in a browser and then open the URL in that QR code on the same browser?
– QA Collective
Nov 12 at 4:29





Do you mean that you'd like to know how to scan a QR code on a website that you're already viewing in a browser and then open the URL in that QR code on the same browser?
– QA Collective
Nov 12 at 4:29













actually, I want to create a QR code for my website which I want to upload it on my website and then by using mobile QR scanner it runs my website on mobile.?
– Mirza Shazif Abbas
Nov 12 at 4:41




actually, I want to create a QR code for my website which I want to upload it on my website and then by using mobile QR scanner it runs my website on mobile.?
– Mirza Shazif Abbas
Nov 12 at 4:41












for generating qr code for website qr-code-generator.com
– V-rund Puro-hit
Nov 12 at 5:03




for generating qr code for website qr-code-generator.com
– V-rund Puro-hit
Nov 12 at 5:03












2 Answers
2






active

oldest

votes

















up vote
0
down vote













I would recommend:



https://www.qr-code-generator.com/



Then use any QR scanner app to test that it pulls up your URL.






share|improve this answer




















  • it is possible to make your own QR code generate in Php or Laravel?
    – Mirza Shazif Abbas
    Nov 12 at 5:49

















up vote
0
down vote













this is a sample code



dependencies :



 compile 'com.google.zxing:core:3.2.1'
compile 'com.journeyapps:zxing-android-embedded:3.2.0@aar'


Scan button



scan_btn.setOnClickListener(new View.OnClickListener() 
@Override
public void onClick(View view)

IntentIntegrator integrator=new IntentIntegrator(activity);
integrator.setDesiredBarcodeFormats(IntentIntegrator.QR_CODE_TYPES);
integrator.setPrompt("Scann");
integrator.setCameraId(0);
integrator.setBeepEnabled(false);
integrator.setBarcodeImageEnabled(false);
integrator.initiateScan();



);


onActivityResult



 @Override
protected void onActivityResult(int requestCode, int resultCode, Intent data)

IntentResult result=IntentIntegrator.parseActivityResult(requestCode,resultCode,data);
if(result!=null)


if(result.getContents()==null)


Toast.makeText(this,"Error",Toast.LENGTH_LONG).show();

else
Toast.makeText(this,result.getContents(),Toast.LENGTH_LONG).show();




else

super.onActivityResult(requestCode, resultCode, data);







share|improve this answer




















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255877%2fscan-webite-qr-code-on-mobile-and-open-website-on-mobile%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    I would recommend:



    https://www.qr-code-generator.com/



    Then use any QR scanner app to test that it pulls up your URL.






    share|improve this answer




















    • it is possible to make your own QR code generate in Php or Laravel?
      – Mirza Shazif Abbas
      Nov 12 at 5:49














    up vote
    0
    down vote













    I would recommend:



    https://www.qr-code-generator.com/



    Then use any QR scanner app to test that it pulls up your URL.






    share|improve this answer




















    • it is possible to make your own QR code generate in Php or Laravel?
      – Mirza Shazif Abbas
      Nov 12 at 5:49












    up vote
    0
    down vote










    up vote
    0
    down vote









    I would recommend:



    https://www.qr-code-generator.com/



    Then use any QR scanner app to test that it pulls up your URL.






    share|improve this answer












    I would recommend:



    https://www.qr-code-generator.com/



    Then use any QR scanner app to test that it pulls up your URL.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 12 at 5:04









    AzraelPwnz

    367




    367











    • it is possible to make your own QR code generate in Php or Laravel?
      – Mirza Shazif Abbas
      Nov 12 at 5:49
















    • it is possible to make your own QR code generate in Php or Laravel?
      – Mirza Shazif Abbas
      Nov 12 at 5:49















    it is possible to make your own QR code generate in Php or Laravel?
    – Mirza Shazif Abbas
    Nov 12 at 5:49




    it is possible to make your own QR code generate in Php or Laravel?
    – Mirza Shazif Abbas
    Nov 12 at 5:49












    up vote
    0
    down vote













    this is a sample code



    dependencies :



     compile 'com.google.zxing:core:3.2.1'
    compile 'com.journeyapps:zxing-android-embedded:3.2.0@aar'


    Scan button



    scan_btn.setOnClickListener(new View.OnClickListener() 
    @Override
    public void onClick(View view)

    IntentIntegrator integrator=new IntentIntegrator(activity);
    integrator.setDesiredBarcodeFormats(IntentIntegrator.QR_CODE_TYPES);
    integrator.setPrompt("Scann");
    integrator.setCameraId(0);
    integrator.setBeepEnabled(false);
    integrator.setBarcodeImageEnabled(false);
    integrator.initiateScan();



    );


    onActivityResult



     @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data)

    IntentResult result=IntentIntegrator.parseActivityResult(requestCode,resultCode,data);
    if(result!=null)


    if(result.getContents()==null)


    Toast.makeText(this,"Error",Toast.LENGTH_LONG).show();

    else
    Toast.makeText(this,result.getContents(),Toast.LENGTH_LONG).show();




    else

    super.onActivityResult(requestCode, resultCode, data);







    share|improve this answer
























      up vote
      0
      down vote













      this is a sample code



      dependencies :



       compile 'com.google.zxing:core:3.2.1'
      compile 'com.journeyapps:zxing-android-embedded:3.2.0@aar'


      Scan button



      scan_btn.setOnClickListener(new View.OnClickListener() 
      @Override
      public void onClick(View view)

      IntentIntegrator integrator=new IntentIntegrator(activity);
      integrator.setDesiredBarcodeFormats(IntentIntegrator.QR_CODE_TYPES);
      integrator.setPrompt("Scann");
      integrator.setCameraId(0);
      integrator.setBeepEnabled(false);
      integrator.setBarcodeImageEnabled(false);
      integrator.initiateScan();



      );


      onActivityResult



       @Override
      protected void onActivityResult(int requestCode, int resultCode, Intent data)

      IntentResult result=IntentIntegrator.parseActivityResult(requestCode,resultCode,data);
      if(result!=null)


      if(result.getContents()==null)


      Toast.makeText(this,"Error",Toast.LENGTH_LONG).show();

      else
      Toast.makeText(this,result.getContents(),Toast.LENGTH_LONG).show();




      else

      super.onActivityResult(requestCode, resultCode, data);







      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        this is a sample code



        dependencies :



         compile 'com.google.zxing:core:3.2.1'
        compile 'com.journeyapps:zxing-android-embedded:3.2.0@aar'


        Scan button



        scan_btn.setOnClickListener(new View.OnClickListener() 
        @Override
        public void onClick(View view)

        IntentIntegrator integrator=new IntentIntegrator(activity);
        integrator.setDesiredBarcodeFormats(IntentIntegrator.QR_CODE_TYPES);
        integrator.setPrompt("Scann");
        integrator.setCameraId(0);
        integrator.setBeepEnabled(false);
        integrator.setBarcodeImageEnabled(false);
        integrator.initiateScan();



        );


        onActivityResult



         @Override
        protected void onActivityResult(int requestCode, int resultCode, Intent data)

        IntentResult result=IntentIntegrator.parseActivityResult(requestCode,resultCode,data);
        if(result!=null)


        if(result.getContents()==null)


        Toast.makeText(this,"Error",Toast.LENGTH_LONG).show();

        else
        Toast.makeText(this,result.getContents(),Toast.LENGTH_LONG).show();




        else

        super.onActivityResult(requestCode, resultCode, data);







        share|improve this answer












        this is a sample code



        dependencies :



         compile 'com.google.zxing:core:3.2.1'
        compile 'com.journeyapps:zxing-android-embedded:3.2.0@aar'


        Scan button



        scan_btn.setOnClickListener(new View.OnClickListener() 
        @Override
        public void onClick(View view)

        IntentIntegrator integrator=new IntentIntegrator(activity);
        integrator.setDesiredBarcodeFormats(IntentIntegrator.QR_CODE_TYPES);
        integrator.setPrompt("Scann");
        integrator.setCameraId(0);
        integrator.setBeepEnabled(false);
        integrator.setBarcodeImageEnabled(false);
        integrator.initiateScan();



        );


        onActivityResult



         @Override
        protected void onActivityResult(int requestCode, int resultCode, Intent data)

        IntentResult result=IntentIntegrator.parseActivityResult(requestCode,resultCode,data);
        if(result!=null)


        if(result.getContents()==null)


        Toast.makeText(this,"Error",Toast.LENGTH_LONG).show();

        else
        Toast.makeText(this,result.getContents(),Toast.LENGTH_LONG).show();




        else

        super.onActivityResult(requestCode, resultCode, data);








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 12 at 5:56









        Dhanushka Dayawansha

        31119




        31119



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255877%2fscan-webite-qr-code-on-mobile-and-open-website-on-mobile%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Top Tejano songwriter Luis Silva dead of heart attack at 64

            ReactJS Fetched API data displays live - need Data displayed static

            政党