title: How to Convert ArrayList<HashMap<String, String>> to a StringArray?
body: <p>I want to store a String array in the database, but I got values from another activity as an <code>ArrayList&lt;Hashmap&lt;String, String&gt;&gt;</code>. How should I convert this ArrayList into a String array?</p>
  
  <p>Code:</p>
  
  <pre><code>HashMap &lt;String, String&gt; h1 = new HashMap &lt;String, String&gt; ();
  h1.put("member_id", member_id);
  h1.put("categoryname", category_name);
  h1.put("routinetype", routine_type);
  h1.put("targettype", target_type);
  h1.put("days", countOfDays);
  h1.put("point", points);
  h1.put("daystring", listOfDayString);
  h1.put("create_date", strDate);
  arrayList1.add(h1);
  </code></pre>