stringArrayList.add("What is a Biomaterial?"); stringArrayList.add("Biomolecular interactions – how to characterize with QCM-D"); stringArrayList.add("Surface interactions at Biomaterials and Implants"); stringArrayList.add("11 biomaterials that can heal the human body. Including, yes, biting ants"); stringArrayList.add("No, this isn’t moldy beer. It’s a smart biomaterial you might eventually wear"); stringArrayList.add("How to regenerate bone: Molly Stevens at TEDGlobal 2013"); stringArrayList.add("The Sulzer Recall"); stringArrayList.add("The W and H of Total Hip Replacement"); stringArrayList.add("The Prozyr Femoral Ball Recall"); stringArrayList.add("The Map All Biomaterialists Should Understand"); stringArrayList.add("The Insect That Keeps Giving"); stringArrayList.add("Once Tooth Blings Were In Vogue"); stringArrayList.add("When Flintstone Age Dentists Used Flint Drills"); stringArrayList.add("Have A Joint, Know Your Bearings"); stringArrayList.add("How surface roughness and wettability affects biocompatibility"); stringArrayList.add("Building an Appetite for Hydroxyapatite QSensors"); stringArrayList.add("Biomaterials & medical device research – Top 5 QSensors"); stringArrayList.add("Seeking simpler tests for viruses"); stringArrayList.add("Platinum compound senses new application"); stringArrayList.add("Biohydrogels act in different ways at different temperatures"); stringArrayList.add("New rubber-like material could replace human tissue"); stringArrayList.add("Excluding molecular dopants improves organic conductors"); stringArrayList.add("Excluding molecular dopants improves organic conductors"); stringArrayList.add("Salts for grabbing water from air"); stringArrayList.add("Making nanomaterials work in 3D cancer theranostics"); stringArrayList.add("Remote battery charging using hydrogels"); stringArrayList.add("New graphene-based material self-assembles into vascular structures"); stringArrayList.add("Studying packed polymers at oil-water interface could lead to new biomaterials"); stringArrayList.add("Alternating peptides produce two-layered nanofibers"); stringArrayList.add("Naturally inspired ‘green’ membranes clean up"); stringArrayList.add("Woody approach to recycling concrete"); stringArrayList.add("Bio-inspired structures help provide bone replacement materials"); stringArrayList.add("Air gen"); if (selected.equals("What is a Biomaterial?")) { 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("Biomolecular interactions – how to characterize with QCM-D")) { 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("Surface interactions at Biomaterials and Implants")) { 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("11 biomaterials that can heal the human body. Including, yes, biting ants")) { 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("No, this isn’t moldy beer. It’s a smart biomaterial you might eventually wear")) { 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("How to regenerate bone: Molly Stevens at TEDGlobal 2013")) { 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("The Sulzer Recall")) { 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("The W and H of Total Hip Replacement")) { 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("The Prozyr Femoral Ball Recall")) { 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("The Map All Biomaterialists Should Understand")) { 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("The Insect That Keeps Giving")) { 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("Once Tooth Blings Were In Vogue")) { 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("When Flintstone Age Dentists Used Flint Drills")) { 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("Have A Joint, Know Your Bearings")) { 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("How surface roughness and wettability affects biocompatibility")) { 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("Building an Appetite for Hydroxyapatite QSensors")) { 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("Biomaterials & medical device research – Top 5 QSensors")) { 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("Seeking simpler tests for viruses")) { 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("Platinum compound senses new application")) { 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("Biohydrogels act in different ways at different temperatures")) { 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("New rubber-like material could replace human tissue")) { 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("Excluding molecular dopants improves organic conductors")) { 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("Excluding molecular dopants improves organic conductors")) { 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("Salts for grabbing water from air")) { 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("Making nanomaterials work in 3D cancer theranostics")) { 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("Remote battery charging using hydrogels")) { 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("New graphene-based material self-assembles into vascular structures")) { 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("Studying packed polymers at oil-water interface could lead to new biomaterials")) { 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("Alternating peptides produce two-layered nanofibers")) { 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("Naturally inspired ‘green’ membranes clean up")) { 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); } if (selected.equals("Woody approach to recycling concrete")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/31.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Bio-inspired structures help provide bone replacement materials")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/32.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Air gen")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/undefined.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); }