"Origins of Human Rights", "What are human rights?", "HUMAN RIGHTS AND DEVELOPMENT", "DEFINITIONS AND CLASSIFICATIONS", "Types of Human Rights", "What Kinds of Human Rights Exist?", "Protect Human Rights", "What legal instruments help the UN protect human rights?", "Right to liberty and security", "Right to life", "Labour rights", "How do human rights help you?", "What is Human Dignity?", "Right against Exploitation", "What is the Right to Education", "Cultural Rights", "ECONOMIC RIGHTS", "Human Rights and Slavery", "Social and Cultural rights?", "Women's and Children's Rights", "Female infanticide", "Where does female infanticide occur?", "Origins of infanticide", "Human Rights and Sexual Violence", "Domestic Violence Against Women: A Human Rights Issue", "End Violence, Harassment at Work", "Preventing violations and strengthening protection of human rights, including in situations of conflict and insecurity", "Child Rights: History, Facts & How To Protect Them", "What are Pro-Rata Participation Rights?", "What is the Convention on the Rights of the Child?" stringArrayList.add("Origins of Human Rights"); stringArrayList.add("What are human rights?"); stringArrayList.add("HUMAN RIGHTS AND DEVELOPMENT"); stringArrayList.add("DEFINITIONS AND CLASSIFICATIONS"); stringArrayList.add("Types of Human Rights"); stringArrayList.add("What Kinds of Human Rights Exist?"); stringArrayList.add("Protect Human Rights"); stringArrayList.add("What legal instruments help the UN protect human rights?"); stringArrayList.add("Right to liberty and security"); stringArrayList.add("Right to life"); stringArrayList.add("Labour rights"); stringArrayList.add("How do human rights help you?"); stringArrayList.add("What is Human Dignity?"); stringArrayList.add("Right against Exploitation"); stringArrayList.add("What is the Right to Education"); stringArrayList.add("Cultural Rights"); stringArrayList.add("ECONOMIC RIGHTS"); stringArrayList.add("Human Rights and Slavery"); stringArrayList.add("Social and Cultural rights?"); stringArrayList.add("Women's and Children's Rights"); stringArrayList.add("Female infanticide"); stringArrayList.add("Where does female infanticide occur?"); stringArrayList.add("Origins of infanticide"); stringArrayList.add("Human Rights and Sexual Violence"); stringArrayList.add("Domestic Violence Against Women: A Human Rights Issue"); stringArrayList.add("End Violence, Harassment at Work"); stringArrayList.add("Preventing violations and strengthening protection of human rights, including in situations of conflict and insecurity"); stringArrayList.add("Child Rights: History, Facts & How To Protect Them"); stringArrayList.add("What are Pro-Rata Participation Rights?"); stringArrayList.add("What is the Convention on the Rights of the Child?"); if (selected.equals("Origins of Human Rights")) { 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("What are human rights?")) { 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("HUMAN RIGHTS AND DEVELOPMENT")) { 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("DEFINITIONS AND CLASSIFICATIONS")) { 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("Types of Human Rights")) { 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("What Kinds of Human Rights Exist?")) { 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("Protect Human Rights")) { 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 legal instruments help the UN protect human rights?")) { 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("Right to liberty and security")) { 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("Right to life")) { 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("Labour rights")) { 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("How do human rights help you?")) { 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("What is Human Dignity?")) { 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("Right against Exploitation")) { 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("What is the Right to Education")) { 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("Cultural Rights")) { 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("ECONOMIC RIGHTS")) { 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("Human Rights and Slavery")) { 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("Social and Cultural rights?")) { 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("Women's and Children's Rights")) { 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("Female infanticide")) { 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("Where does female infanticide occur?")) { 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("Origins of infanticide")) { 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("Human Rights and Sexual Violence")) { 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("Domestic Violence Against Women: A Human Rights Issue")) { 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("End Violence, Harassment at Work")) { 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("Preventing violations and strengthening protection of human rights, including in situations of conflict and insecurity")) { 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("Child Rights: History, Facts & How To Protect Them")) { 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("What are Pro-Rata Participation Rights?")) { 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 the Convention on the Rights of the Child?")) { 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); }