Clicky

I have a web service in vb.net and on my android form I need to pull data from this service and populate a gridview on android form...

asked 12/06/2011 07:39

GlobaLevel's gravatar image

GlobaLevel ♦♦


2 Answers:
use http requests to connect to the web service to get the data (maybe in json or xml form). I don't know a gridview-widget out of the box but you should be able to do this by using the tablelayout in your form and storing the data inside of the rows/columns/cells of this tablelayout.
link

answered

589158's gravatar image

589158

You have to use the webservices to connect to your VB service and receive data.

There is not gridview view in android. You may have to use a TableLayout to display the data in the form of a GridView. You can programatically create a TableLayout and using for loops create TableRow objects, add them to TableLayout and finally use the setContentView method to bind your TableLayout to your activity.
link

answered 2011-12-07 at 23:00:11

rkpune's gravatar image

rkpune

Your answer
[hide preview]

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

Asked: 12/06/2011 07:39

Seen: 267 times

Last updated: 12/09/2011 08:59