java - [Android]How to extract in-app screenshots of available apps from Google PlayStore App pages? -



java - [Android]How to extract in-app screenshots of available apps from Google PlayStore App pages? -

i want create android app can download available images of in-game screenshots posted on angry birds or app's google play store page. how can go it?

i have tried using api (https://code.google.com/p/android-market-api/), hoping improve alternatives(the creator of api had warned each new release of google's sdk, api may not work properly).

if there no api readily available, maybe broad guidelines?

do utilize java based web page crawler , adapt android code or api javahtmleditor? in illustration (http://www.compiletimeerror.com/2013/08/java-downloadextract-all-images-from.html#.vfpe3_nf8wi) programme uses javahtmleditor pull images html webpage, i'm not sure work in google play store app pages.

any kind of advice appreciated!!

i'd go quite straight forwards solution.

1) load actual google play game webpage normal http request in application code

good examples: (stringrequest should trick):

http://developer.android.com/training/volley/requestqueue.html https://developer.android.com/training/volley/simple.html

2) create simple analysis logic knows in response html structure

for illustration in case, image links looking wrapped this:

(i took code sample game google play html source , modified bit)

<div class="expand-page" style="width: 100%; opacity: 0;"> <div class="screenshot-container" style="display: inline-block;"> <div class="screenshot-align"> <div class="screenshot-align-inner"> <img class="full-screenshot clickable" alt="alt" data-expand-fit-screen="true" data-expand-scroll="true" data-expand-target="full-screenshot-0" data-expand-to="full-screenshot-1" src="https://this.is.the.interesting/url.part"> </div> </div> </div> </div>

you interested in finding of class="full-screenshot clickable" img tags , src values. can go illustration regular look style or indexof/substring combination find want in string response.

java android image screenshot google-apps

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -