Android Question VersionCode (in google play store)

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
hello,

i know how to retrieve version name from both app and play store
i need to retrieve the VersionCode of my app from google play store
how to get it from the is clear

can anyone help ?
the simpler the better...

thanks
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
Upvote 0

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
use okhttp to download the page
B4X:
https://play.google.com/store/apps/details?id=[packagename]
Replace [packagename] with your packagename

Use jsoup to parse the result.
thank you.
now i do get response but it is a very strange xml as it looks like a big part of code (?)
i am totally lost.
will it be too rude to ask for a short code example on getting versioncode from play store ?
 
Upvote 0
Top