PARTIAL RETRIEVAL OF RESULTS

HELLO,
I want to get records within a range. Every time I want to send a new query
and get 10 records.

>
> i.e. Start 1 to 10
> 2nd query start 11 to 20
> ....
> I used the following query :
>     String queryURL = PROFILE_URL + selectedProfileId
> +"/-/labtest?start-index="+index+"&max-results=10";
>
> This retrieved the records but when it reached the end where the list had
> only 5 records and it queries for 10 results the application crashes.
>


> So is there any way from which i can get the total count of results?
> Or can some you help me with getting partial results?
>
>

-- 
Regards,
Shraddha Shravagi.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Health Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/googlehealthdevelopers?hl=en.

Reply via email to