title: how to get the database value to a String array in android(sqlite Database)
body: <p>I have a database name &quot;CUED&quot; (sqlite Android)it have a table <strong>HELLO</strong> which contain a column <em>NAME</em> I can get the value to String from that column.
  Let me show you my code section</p>
  <pre class="lang-java prettyprint-override"><code>myDB =hello.this.openOrCreateDatabase(&quot;CUED&quot;, MODE_PRIVATE, null); 
  Cursor crs = myDB.rawQuery(&quot;SELECT * FROM HELLO&quot;, null);
                  
  while(crs.moveToNext())
  {
      String uname = crs.getString(crs.getColumnIndex(&quot;NAME&quot;));
      System.out.println(uname);
  }
  </code></pre>
  <p>It will print the value one by one. Now what I need is that I want to get the column values from database and so that I can store it in a String Array.</p>