Skip to content Skip to sidebar Skip to footer

Xml Parsing Listview In Android Like Category,subcategory

i have to develop android listview using xml parsing., Am getting xml feed from mysql server.the product is added day to day activities. Here i need 3 kind of listview: 1st view:

Solution 1:

i advice use sax parser instead of dom parser.

this link helpful to you. read this.

Solution 2:

Here i have called URL first then only declared mTitle value.thats why i have faced problem here.

Now i got the solution:

I have declared mTitle first afterthat only have called URL like below.

mTitle = b.getString(KEY_SUBCATE);URL = "http://api1.sfsfsffsf.com/dev/categories/?fields=&categoryid=" + mTitle +       "&access_token=bfb787a";

Post a Comment for "Xml Parsing Listview In Android Like Category,subcategory"