stringArrayList.add("Geotechnical engineering"); stringArrayList.add("Identifying and Leveraging Your Organization’s Meta-Skills"); stringArrayList.add("Atlas Geotechnical’s Meta-Skills"); stringArrayList.add("How will you invest your lull?"); stringArrayList.add("The Future of Utility Protection"); stringArrayList.add("Neat and Square"); stringArrayList.add("DON’T GET SUNK: EVERYTHING YOU NEED TO KNOW ABOUT SINKHOLES (PART ONE)"); stringArrayList.add("What is Geotechnical Engineering Anyway?"); stringArrayList.add("DON’T GET SUNK: EVERYTHING YOU NEED TO KNOW ABOUT SINKHOLES (PART TWO)"); stringArrayList.add("SEDIMENT TESTING ON THE ST. LAWRENCE SEAWAY"); stringArrayList.add("A DAY IN THE LIFE OF A STORMWATER INSPECTOR"); stringArrayList.add("Part One: Damned If You Do, Dammed If You Don’t: Making Decisions and Resolving Conflicts On Dam Removal"); stringArrayList.add("Study Data Leads to Healthier Wreck Pond Ecosystem"); stringArrayList.add("Part Two: Reducing Flood Risk In Moodna Creek Watershed"); stringArrayList.add("Conservation Spotlight: Reducing Flood Risk And Restoring Wetlands In Jamaica Bay"); stringArrayList.add("Levee Inspections Along the Elizabeth River"); stringArrayList.add("The Leaning Tower of San Francisco"); stringArrayList.add("How often do water supply lines or sanitary sewer lines leak?"); stringArrayList.add("Eagle Ford Clay Wrecks House in Mansfield"); stringArrayList.add("Solar Foundation Risk Assessment and Mitigation"); stringArrayList.add("Integrated Solar Ground Component Management"); stringArrayList.add("A slow-moving landslide may lead to a massive tsunami in Alaska"); stringArrayList.add("Two Michigan dams breached causing extensive flooding and massive evacuations"); stringArrayList.add("Making geotechnical engineering more sustainable"); stringArrayList.add("East Africa devastated by floods and landslides"); if (selected.equals("Geotechnical engineering")) { 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("Identifying and Leveraging Your Organization’s Meta-Skills")) { 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("Atlas Geotechnical’s Meta-Skills")) { 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("How will you invest your lull?")) { 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 Future of Utility Protection")) { 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("Neat and Square")) { 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("DON’T GET SUNK: EVERYTHING YOU NEED TO KNOW ABOUT SINKHOLES (PART ONE)")) { 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("What is Geotechnical Engineering Anyway?")) { 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("DON’T GET SUNK: EVERYTHING YOU NEED TO KNOW ABOUT SINKHOLES (PART TWO)")) { 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("SEDIMENT TESTING ON THE ST. LAWRENCE SEAWAY")) { 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("A DAY IN THE LIFE OF A STORMWATER INSPECTOR")) { 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("Part One: Damned If You Do, Dammed If You Don’t: Making Decisions and Resolving Conflicts On Dam Removal")) { 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("Study Data Leads to Healthier Wreck Pond Ecosystem")) { 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("Part Two: Reducing Flood Risk In Moodna Creek Watershed")) { 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("Conservation Spotlight: Reducing Flood Risk And Restoring Wetlands In Jamaica Bay")) { 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("Levee Inspections Along the Elizabeth River")) { 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("The Leaning Tower of San Francisco")) { 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("How often do water supply lines or sanitary sewer lines leak?")) { 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("Eagle Ford Clay Wrecks House in Mansfield")) { 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("Solar Foundation Risk Assessment and Mitigation")) { 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("Integrated Solar Ground Component Management")) { 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("A slow-moving landslide may lead to a massive tsunami in Alaska")) { 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("Two Michigan dams breached causing extensive flooding and massive evacuations")) { 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("Making geotechnical engineering more sustainable")) { 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("East Africa devastated by floods and landslides")) { 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); }