java - traversing web with user input in Android -
im new android dev , want build app uses user's area code, , searches nearby safeway locations deals on user specified item. believe requires bit of datamining or manipulating javascript found inspect element, dont know how approach this.
thanks, adam
unless provide api (highly unlikely), going have parse website. typically first step find out if can build url page has necessary data. example, might find site organized pages this:
example.com/nearby-location/12345/ example.com/nearby-location/<area code here>/
or that. there, can use variety of libraries parse page.
my personal choice html parsing on android jsoup. it's small, it's easy integrate android, it's easy use, , works.
that said, there million other possible html parsing libraries , pretty same thing.
Comments
Post a Comment