我正在運行AndroidHive的應用程序,該應用程序有feed.json
應用程序從其下載內容。如何更新或增加JSON的值
http://api.androidhive.info/feed/feed.json這是帖子的網址http://www.androidhive.info/2014/06/android-facebook-like-custom-listview-feed-using-volley/
{
"feed": [{
"id": 1,
"name": "National Geographic Channel",
"image": "A URL",
"status": "Science and etc"
And Cosmos is all about making science an experience.
","
profilePic ": "
A URL ","
timeStamp ": "
1403375851930 ","
url ": null
}]
}
上面是默認的內容想知道如何添加更多此內容來自或使用PHP腳本。我很想知道如何做到這一點,因爲我注意到,在www_androidhive_info創建大多數應用程序的源代碼使用以.json加載內容這是一個替代的WebView
[在php中解析JSON數組並將值添加到php數組中](http://stackoverflow.com/ques tions/17707708/parse-json-array-in-php-and-add-values-to-php-array) –