"Introduction", "A History of Astrophysics", "The Glassmaker Who Sparked Astrophysics", "Astronomy", "The rise of astrophysics", "Spectroscopy", "Survey of Optical Spectroscopy", "General methods of spectroscopy", "Types of electromagnetic-radiation sources", "Foundations of Atomic Spectra", "Astrophysics", "Gravity's Shadow: The Hunt for Omega", "The Texture of The Universe", "The Big Bang Picture of The Universe", "Basic Measurements in Space", "Quasar Studies Provide A Model", "Dark Matter Seen Through the Lens Of Gravity", "Gravity's Role as a Lens and a Cosmological Force", "Star Facts: The Basics of Star Names and Stellar Evolution", "Binary stars and other multiples", "The Formation of Stars", "Galaxy-Size Bubbles Discovered Towering Over the Milky Way", "Astronomers Get Their Wish, and a Cosmic Crisis Gets Worse", "The New History of the Milky Way", "Physicists Pin Down Nuclear Reaction From Moments After the Big Bang", "The Cosmologist Who Dreams in the Universe’s Dark Threads", "Debate Erupts Over How ‘Forbidden’ Black Holes Grow", "Physics Nobel Awarded for Black Hole Breakthroughs", "Physicists Argue That Black Holes from the Big Bang Could Be the Dark Matter", "A New Cosmic Tension: The Universe Might Be Too Thin" stringArrayList.add("Introduction"); stringArrayList.add("A History of Astrophysics"); stringArrayList.add("The Glassmaker Who Sparked Astrophysics"); stringArrayList.add("Astronomy"); stringArrayList.add("The rise of astrophysics"); stringArrayList.add("Spectroscopy"); stringArrayList.add("Survey of Optical Spectroscopy"); stringArrayList.add("General methods of spectroscopy"); stringArrayList.add("Types of electromagnetic-radiation sources"); stringArrayList.add("Foundations of Atomic Spectra"); stringArrayList.add("Astrophysics"); stringArrayList.add("Gravity's Shadow: The Hunt for Omega"); stringArrayList.add("The Texture of The Universe"); stringArrayList.add("The Big Bang Picture of The Universe"); stringArrayList.add("Basic Measurements in Space"); stringArrayList.add("Quasar Studies Provide A Model"); stringArrayList.add("Dark Matter Seen Through the Lens Of Gravity"); stringArrayList.add("Gravity's Role as a Lens and a Cosmological Force"); stringArrayList.add("Star Facts: The Basics of Star Names and Stellar Evolution"); stringArrayList.add("Binary stars and other multiples"); stringArrayList.add("The Formation of Stars"); stringArrayList.add("Galaxy-Size Bubbles Discovered Towering Over the Milky Way"); stringArrayList.add("Astronomers Get Their Wish, and a Cosmic Crisis Gets Worse"); stringArrayList.add("The New History of the Milky Way"); stringArrayList.add("Physicists Pin Down Nuclear Reaction From Moments After the Big Bang"); stringArrayList.add("The Cosmologist Who Dreams in the Universe’s Dark Threads"); stringArrayList.add("Debate Erupts Over How ‘Forbidden’ Black Holes Grow"); stringArrayList.add("Physics Nobel Awarded for Black Hole Breakthroughs"); stringArrayList.add("Physicists Argue That Black Holes from the Big Bang Could Be the Dark Matter"); stringArrayList.add("A New Cosmic Tension: The Universe Might Be Too Thin"); if (selected.equals("Introduction")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/1.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("A History of Astrophysics")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/2.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The Glassmaker Who Sparked Astrophysics")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/3.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Astronomy")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/4.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The rise of astrophysics")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/5.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Spectroscopy")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/6.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Survey of Optical Spectroscopy")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/7.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("General methods of spectroscopy")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/8.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Types of electromagnetic-radiation sources")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/9.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Foundations of Atomic Spectra")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/10.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Astrophysics")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/11.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Gravity's Shadow: The Hunt for Omega")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/12.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The Texture of The Universe")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/13.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The Big Bang Picture of The Universe")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/14.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Basic Measurements in Space")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/15.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Quasar Studies Provide A Model")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/16.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Dark Matter Seen Through the Lens Of Gravity")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/17.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Gravity's Role as a Lens and a Cosmological Force")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/18.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Star Facts: The Basics of Star Names and Stellar Evolution")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/19.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Binary stars and other multiples")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/20.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The Formation of Stars")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/21.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Galaxy-Size Bubbles Discovered Towering Over the Milky Way")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/22.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Astronomers Get Their Wish, and a Cosmic Crisis Gets Worse")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/23.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The New History of the Milky Way")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/24.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Physicists Pin Down Nuclear Reaction From Moments After the Big Bang")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/25.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("The Cosmologist Who Dreams in the Universe’s Dark Threads")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/26.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Debate Erupts Over How ‘Forbidden’ Black Holes Grow")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/27.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Physics Nobel Awarded for Black Hole Breakthroughs")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/28.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Physicists Argue That Black Holes from the Big Bang Could Be the Dark Matter")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/29.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("A New Cosmic Tension: The Universe Might Be Too Thin")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/30.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); }