I am new in android studio Currently I am working with android project where dynamic image is loading from remote server. I done it with static array. but I want to get these array from remote page. here is the static array
String[] itemTitle =
{
"1st Title",
"2nd Title",
"3rd Title",
"4th Title"
};
String[] itemDate =
{
"11 Sept 17",
"21 Sept 17",
"12 Sept 17",
"21 Sept 17"
};
String[] thumb =
{
"1st Thumb",
"2nd Thumb",
"3rd Thumb",
"4th Thumb"
};
Now I want to load these array from remote server http://www.example.com/getArray.php I already made the php file. but how to get the array from the remote url from android studio?
But I can't understand what to do?