Safcode Institute by Sir Safder





  • Action View

    Source Code: 
    
    b2.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    String url = "https://www.google.com";
                    Intent i = new Intent(Intent.ACTION_VIEW);
                    i.setData(Uri.parse(url));
                    startActivity(i);
                }
            });



  • You Can Also Watch Our Tutorial