stringArrayList.add("The world’s most used renewable power sources"); stringArrayList.add("The world’s longest power transmission lines"); stringArrayList.add("World Bank to provide $700m more for Pakistan hydropower project"); stringArrayList.add("Future hydrogen economy needs investments: BNEF report"); stringArrayList.add("Genex Power signs binding ESSA with EnergyAustralia for K2-Hydro"); stringArrayList.add("Mangdechhu Hydroelectric Project, Bhutan"); stringArrayList.add("Landsvirkjun to supply 100% renewable power to Reykjavík DC"); stringArrayList.add("AGL Energy terminates 250MW PHES project in Southern Australia"); stringArrayList.add("PowerChina seeks licence for Ugandan $1.4bn hydropower plant"); stringArrayList.add("GE to upgrade 218MW Angat hydropower plant in Philippines"); stringArrayList.add("Hull Street Energy acquires 30 hydroelectric plants from EGPNA REP"); stringArrayList.add("NIB provides loan to finance Norwegian hydropower project"); stringArrayList.add("EU awards €11m grant for 20MW electrolyser"); stringArrayList.add("The UK invests over £50m into clean energy projects in Africa"); stringArrayList.add("FERC accepts Daybreak Power’s application for Navajo Energy station"); stringArrayList.add("EBRD and IRENA sign MoU to increase renewable power use"); stringArrayList.add("African Development Bank to support hydro-power project in Madagascar"); stringArrayList.add("Q&A: Building a hydrogen society with Panasonic"); stringArrayList.add("ABB to upgrade 1,240MW hydroelectric power plant in Brazil"); stringArrayList.add("Theory to fact? Energy technologies awaiting their day in the sun"); stringArrayList.add("ADB to offer financing for hydropower plant in Nepal"); stringArrayList.add("India's hydropower capacity addition plans in limbo"); if (selected.equals("The world’s most used renewable power sources")) { 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("The world’s longest power transmission lines")) { 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("World Bank to provide $700m more for Pakistan hydropower project")) { 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("Future hydrogen economy needs investments: BNEF report")) { 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("Genex Power signs binding ESSA with EnergyAustralia for K2-Hydro")) { 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("Mangdechhu Hydroelectric Project, Bhutan")) { 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("Landsvirkjun to supply 100% renewable power to Reykjavík DC")) { 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("AGL Energy terminates 250MW PHES project in Southern Australia")) { 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("PowerChina seeks licence for Ugandan $1.4bn hydropower plant")) { 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("GE to upgrade 218MW Angat hydropower plant in Philippines")) { 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("Hull Street Energy acquires 30 hydroelectric plants from EGPNA REP")) { 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("NIB provides loan to finance Norwegian hydropower project")) { 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("EU awards €11m grant for 20MW electrolyser")) { 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 UK invests over £50m into clean energy projects in Africa")) { 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("FERC accepts Daybreak Power’s application for Navajo Energy station")) { 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("EBRD and IRENA sign MoU to increase renewable power use")) { 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("African Development Bank to support hydro-power project in Madagascar")) { 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("Q&A: Building a hydrogen society with Panasonic")) { 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("ABB to upgrade 1,240MW hydroelectric power plant in Brazil")) { 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("Theory to fact? Energy technologies awaiting their day in the sun")) { 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("ADB to offer financing for hydropower plant in Nepal")) { 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("India's hydropower capacity addition plans in limbo")) { 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); }