Getting the values from an array in android
<p>I have a collection of strings and declared the strings individually as arrays using</p>

<pre><code>ArrayList&lt;String&gt; al=new ArrayList&lt;String&gt;();
</code></pre>

<p>and called the arrays in the program by using</p>

<pre><code>al=getIntent().getStringArrayListExtra("titles");
</code></pre>

<p>Now, instead of declaring each of the arrays i have created SongsArray.java like below...</p>

<pre><code>public class SongsArray {
private String title;
private String movieName;
private String singerName;
private String imagePath;
private String mediaPath;

public String gettitle() 
{
    return title;
}
public void settitle(String title) {
    this.title = title;
}
public String getmovieName() {
    return movieName;
}
public void setmovieName(String movieName) {
    this.movieName = movieName;
}
public String getsingerName() {
    return singerName;
}
public void setsingerName(String singerName) {
    this.singerName = singerName;
}
public String getimagePath() {
    return imagePath;
}
public void setimagePath(String imagePath) {
    this.imagePath = imagePath;
}
public String getmediaPath() {
    return mediaPath;
}
public void setmediaPath(String mediaPath) {
    this.mediaPath = mediaPath;
}
</code></pre>

<p>}</p>

<p>Now i want to call the arrays that i have declared. How can i do that??? I want to get values of each string individually...</p>
