S Sone Member Licensed User Oct 23, 2018 #1 I am making app to read data from google spreadsheet and view in scrollview. I tried using job.Download("https://spreadsheets.google.com/tq?key=xxxxxxxxxx") but error java.lang.RuntimeException: JSON Array expected. Thanks
I am making app to read data from google spreadsheet and view in scrollview. I tried using job.Download("https://spreadsheets.google.com/tq?key=xxxxxxxxxx") but error java.lang.RuntimeException: JSON Array expected. Thanks
Erel B4X founder Staff member Licensed User Longtime User Oct 23, 2018 #2 1. Use xCustomListView instead of ScrollView. 2. Where does this link come from? Is this a public sheet? Upvote 0
1. Use xCustomListView instead of ScrollView. 2. Where does this link come from? Is this a public sheet?
S Sone Member Licensed User Oct 23, 2018 #3 Erel said: 1. Use xCustomListView instead of ScrollView. 2. Where does this link come from? Is this a public sheet? Click to expand... from my googlesheet Upvote 0
Erel said: 1. Use xCustomListView instead of ScrollView. 2. Where does this link come from? Is this a public sheet? Click to expand... from my googlesheet
S Sone Member Licensed User Oct 23, 2018 #5 If Job.Success Then Dim response As String = Job.GetString Dim parser As JSONParser parser.Initialize(response) Dim rows As List rows = parser.NextArray (the error is here) any advice is appreciated Upvote 0
If Job.Success Then Dim response As String = Job.GetString Dim parser As JSONParser parser.Initialize(response) Dim rows As List rows = parser.NextArray (the error is here) any advice is appreciated
DonManfred Expert Licensed User Longtime User Oct 23, 2018 #6 Sone said: If Job.Success Then Click to expand... Please use [CODE]code here...[/CODE] tags when posting code. Upvote 0
Sone said: If Job.Success Then Click to expand... Please use [CODE]code here...[/CODE] tags when posting code.
DonManfred Expert Licensed User Longtime User Oct 23, 2018 #7 Sone said: any advice is appreciated Click to expand... check the Documentation on how it works. https://developers.google.com/sheets/api/ https://developers.google.com/sheets/api/reference/rest/ ' REST Api, can easily be used using okhttputils2. Last edited: Oct 23, 2018 Upvote 0
Sone said: any advice is appreciated Click to expand... check the Documentation on how it works. https://developers.google.com/sheets/api/ https://developers.google.com/sheets/api/reference/rest/ ' REST Api, can easily be used using okhttputils2.