Library needs support to download Non-Play Store (third-party) apps as well as Play Store apps.
Direct download from apk url.
Library now supports only Play Store apps.
What you have to do:
- Check
"uri" field. If it contains "http://" or "https://" you will download app direct other wise it will download from Play Store
In following sample: "Sample App 1" is from Play Store but "Sample App 2" is from direct url
{
"programs":[
{
"name":"Sample App 1",
"desc":"sample apps 1 desc",
"uri":"com.mobapphome.sampleapp1",
"img":"https://sampleapp1.png",
"release_date":"22/12/2016",
"update_date":"22/12/2016"
},
{
"name":"Sample App 2",
"desc":"sample apps 2 desc",
"uri":"https://sampleapp2.apk",
"img":"https://sampleapp2.png",
"release_date":"22/12/2016",
"update_date":"22/12/2016"
}
]
}
@dalwadi2, Check this.