stringArrayList.add("National Load Despatch Centre"); stringArrayList.add("Power System Operation"); stringArrayList.add("Overview of Power System Control"); stringArrayList.add("CONCEPT OF REAL AND REACTIVE POWER"); stringArrayList.add("SYSTEM LOAD VARIATION"); stringArrayList.add("ECONOMIC OF GENERATION"); stringArrayList.add("IMPORTANT TERMINALOGIES"); stringArrayList.add("Plant Level and System Level Control of Power System Control"); stringArrayList.add("POWER SYSTEM OPERATION"); stringArrayList.add("Technical Terms in Real Power Frequency Control"); stringArrayList.add("SPEED GOVERNING MECHANISM AND MODELLING"); stringArrayList.add("Sharing of load when two alternators are in parallel"); stringArrayList.add("LOAD FREQUENCY CONTROL"); stringArrayList.add("LFC CONTROL OF SINGLE AREA AND DERIVE THE DYNAMIC RESPONSE"); stringArrayList.add("TWO AREA SYSTEMS - TIE-LINE POWER MODEL"); stringArrayList.add("DYNAMIC RESPONSE OF LOAD FREQUENCY CONTROL LOOPS"); stringArrayList.add("REACTIVE POWER"); stringArrayList.add("Reactive Power Compensation"); stringArrayList.add("Voltage Regulation of Transformer"); stringArrayList.add("Excitation System"); stringArrayList.add("DC Excitation System"); stringArrayList.add("AC Excitation System"); stringArrayList.add("Static Excitation System"); stringArrayList.add("Automatic Voltage Regulator"); stringArrayList.add("Automatic Load Frequency Control"); stringArrayList.add("Tap Changing in Transformer"); stringArrayList.add("TYPES OF SVC"); stringArrayList.add("STATIC SYNCHRONOUS COMPENSATOR (STATCOM)"); stringArrayList.add("ECONOMIC DISPATCH SOLUTION BY LAMBDA-ITERATION METHOD"); stringArrayList.add("COMPUTER CONTROL OF POWER SYSTEMS"); stringArrayList.add("PMU"); stringArrayList.add("Forms of Computer Process Control"); stringArrayList.add("ENERGY MANAGEMENT SYSTEM (EMS)"); stringArrayList.add("SUPERVISORY CONTROL AND DATA ACQUISITION (SCADA)"); stringArrayList.add("SCADA REQUIRES COMMUNICATION BETWEEN MASTER CONTROL STATION AND REMOTE CONTROL STATION"); if (selected.equals("National Load Despatch Centre")) { 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("Power System Operation")) { 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("Overview of Power System Control")) { 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("CONCEPT OF REAL AND REACTIVE POWER")) { 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("SYSTEM LOAD VARIATION")) { 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("ECONOMIC OF GENERATION")) { 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("IMPORTANT TERMINALOGIES")) { 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("Plant Level and System Level Control of Power System Control")) { 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("POWER SYSTEM OPERATION")) { 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("Technical Terms in Real Power Frequency Control")) { 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("SPEED GOVERNING MECHANISM AND MODELLING")) { 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("Sharing of load when two alternators are in parallel")) { 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("LOAD FREQUENCY CONTROL")) { 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("LFC CONTROL OF SINGLE AREA AND DERIVE THE DYNAMIC RESPONSE")) { 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("TWO AREA SYSTEMS - TIE-LINE POWER MODEL")) { 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("DYNAMIC RESPONSE OF LOAD FREQUENCY CONTROL LOOPS")) { 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("REACTIVE POWER")) { 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("Reactive Power Compensation")) { 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("Voltage Regulation of Transformer")) { 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("Excitation System")) { 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("DC Excitation System")) { 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("AC Excitation System")) { 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("Static Excitation System")) { 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("Automatic Voltage Regulator")) { 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("Automatic Load Frequency Control")) { 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("Tap Changing in Transformer")) { 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("TYPES OF SVC")) { 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("STATIC SYNCHRONOUS COMPENSATOR (STATCOM)")) { 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("ECONOMIC DISPATCH SOLUTION BY LAMBDA-ITERATION METHOD")) { 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("COMPUTER CONTROL OF POWER SYSTEMS")) { 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("PMU")) { 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("Forms of Computer Process Control")) { 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("ENERGY MANAGEMENT SYSTEM (EMS)")) { 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("SUPERVISORY CONTROL AND DATA ACQUISITION (SCADA)")) { 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("SCADA REQUIRES COMMUNICATION BETWEEN MASTER CONTROL STATION AND REMOTE CONTROL STATION")) { 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); }