title: Android Studio - URL string
body: <p>So I'm pretty new to the whole Android Studio thing and I've been using the internet to help me with a lot of the things I am doing and needed help on something.</p>
  
  <p>I'm not sure if it's possible to connect this to either a string or an SQL database but I have a Main Layouts with a bunch of buttons that allow me to click on them and choose what external player I would like to use to watch the video. In my MainActivity java class, this is how it finds the button.</p>
  
  <pre><code>case R.id.button3:
      intent = new Intent(Intent.ACTION_VIEW);            
      intent.setDataAndType(Uri.parse("http://videoname.mp4"), "video/*");
      startActivity(Intent.createChooser(intent, "Choose an External Player"));
      break;"
  </code></pre>
  
  <p>I wanted to know if "<a href="http://videoname.mp4" rel="nofollow">http://videoname.mp4</a>" url can be connected to like a string where I can always update or change the URL instead of manually going to find the URL in the MainActivity java and changing it. As of now I have to manually do it but a different way to do it would be helpful.</p>
  
  <p>I'm sorry if it's all confusing, but if you know, please let me know as soon as.</p>
  
  <p>Thank you.</p>