"Water Technology", "Impurities in Water and Chemistry", "ESTIMATION OF WATER DEMAND", "Water Turbidity", "pH of different water sources", "pH adjustment", "Chloride Water Treatment", "Sulfates", "Problems with low pH", "Phosphates in water treatment plants", "Iron and Manganese", "Biological Oxygen Demand (BOD) and Water", "CHEMICAL OXYGEN DEMAND (COD)", "Nitrogen Cycle", "Volatile Fatty Acids", "Lime-Soda Water Softening Process", "Zeolite Process of Water Softening", "pH Treatment", "Salinometer for Ballast Water Treatment", "Alkalinity Water Treatment", "Caustic Soda in Water Treatment", "Water Desalination Processes", "What is Reverse Osmosis?", "EFFECTS OF OXYGEN", "Boiler Water Treatment Chemicals", "Types of Boiler Chemicals", "Foaming and priming in boilers", "Corrosion in boilers", "Pitting Corrosion", "What Is Ion Exchange?", "Deaeration in boilers", "Water Hardness", "Temporary and Permanent Hardness in Water", "Total Dissolved Solids in Water", "Nanotechnology in Energy", "What are carbon nanotubes?", "Fuel Cells", "Nanotechnology in Batteries", "What is a Lead-acid Battery?", "Hydrogen Energy" stringArrayList.add("Water Technology"); stringArrayList.add("Impurities in Water and Chemistry"); stringArrayList.add("ESTIMATION OF WATER DEMAND"); stringArrayList.add("Water Turbidity"); stringArrayList.add("pH of different water sources"); stringArrayList.add("pH adjustment"); stringArrayList.add("Chloride Water Treatment"); stringArrayList.add("Sulfates"); stringArrayList.add("Problems with low pH"); stringArrayList.add("Phosphates in water treatment plants"); stringArrayList.add("Iron and Manganese"); stringArrayList.add("Biological Oxygen Demand (BOD) and Water"); stringArrayList.add("CHEMICAL OXYGEN DEMAND (COD)"); stringArrayList.add("Nitrogen Cycle"); stringArrayList.add("Volatile Fatty Acids"); stringArrayList.add("Lime-Soda Water Softening Process"); stringArrayList.add("Zeolite Process of Water Softening"); stringArrayList.add("pH Treatment"); stringArrayList.add("Salinometer for Ballast Water Treatment"); stringArrayList.add("Alkalinity Water Treatment"); stringArrayList.add("Caustic Soda in Water Treatment"); stringArrayList.add("Water Desalination Processes"); stringArrayList.add("What is Reverse Osmosis?"); stringArrayList.add("EFFECTS OF OXYGEN"); stringArrayList.add("Boiler Water Treatment Chemicals"); stringArrayList.add("Types of Boiler Chemicals"); stringArrayList.add("Foaming and priming in boilers"); stringArrayList.add("Corrosion in boilers"); stringArrayList.add("Pitting Corrosion"); stringArrayList.add("What Is Ion Exchange?"); stringArrayList.add("Deaeration in boilers"); stringArrayList.add("Water Hardness"); stringArrayList.add("Temporary and Permanent Hardness in Water"); stringArrayList.add("Total Dissolved Solids in Water"); stringArrayList.add("Nanotechnology in Energy"); stringArrayList.add("What are carbon nanotubes?"); stringArrayList.add("Fuel Cells"); stringArrayList.add("Nanotechnology in Batteries"); stringArrayList.add("What is a Lead-acid Battery?"); stringArrayList.add("Hydrogen Energy"); if (selected.equals("Water Technology")) { 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("Impurities in Water and Chemistry")) { 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("ESTIMATION OF WATER DEMAND")) { 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("Water Turbidity")) { 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("pH of different water sources")) { 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("pH adjustment")) { 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("Chloride Water Treatment")) { 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("Sulfates")) { 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("Problems with low pH")) { 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("Phosphates in water treatment plants")) { 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("Iron and Manganese")) { 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("Biological Oxygen Demand (BOD) and Water")) { 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("CHEMICAL OXYGEN DEMAND (COD)")) { 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("Nitrogen Cycle")) { 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("Volatile Fatty Acids")) { 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("Lime-Soda Water Softening Process")) { 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("Zeolite Process of Water Softening")) { 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("pH Treatment")) { 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("Salinometer for Ballast Water Treatment")) { 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("Alkalinity Water Treatment")) { 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("Caustic Soda in Water Treatment")) { 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("Water Desalination Processes")) { 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("What is Reverse Osmosis?")) { 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("EFFECTS OF OXYGEN")) { 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("Boiler Water Treatment Chemicals")) { 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("Types of Boiler Chemicals")) { 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("Foaming and priming in boilers")) { 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("Corrosion in boilers")) { 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("Pitting Corrosion")) { 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("What Is Ion Exchange?")) { 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("Deaeration in boilers")) { 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("Water Hardness")) { 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("Temporary and Permanent Hardness in Water")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/33.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Total Dissolved Solids in Water")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/34.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Nanotechnology in Energy")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/35.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What are carbon nanotubes?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/36.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Fuel Cells")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/37.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Nanotechnology in Batteries")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/38.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("What is a Lead-acid Battery?")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/39.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); } if (selected.equals("Hydrogen Energy")) { Intent i = new Intent(MainActivity.this, DetailActivity.class); i.putExtra("id", position); i.putExtra("url" , "file:///android_asset/40.htm" ); i.putExtra( "value", adapter.getItem(position)); startActivity(i); }