android how do i prevent mobile to download apps from playstore? - android

im creating anapplication which load user download aplication in list view im using database which store playstore application id in database and match system install app with that database see this image http://imgur.com/CA0Tpy0 in this image playstore give application package id=... in url
playstore give application in url which is id=air.com.ea.superherocity_row&feature so that id is save in database so easily retrive that applictaion in listview which add frm playstore but problem is this if user dont view product detail and just click app install button see this image http://imgur.com/bFOqE3x play store not show any id in url so that application not save in listview how do i prevent my mobile to must vew product detail other wise not install any app form play store???

You can't control the behaviour of the Play Store app like this for the simple reason that it is not your app and they do not offer a setting or API you can use to do this.

Related

(Unity android game) How to make the additional download for android games?

I have a storybook kind of app, when people bought extra story i need somehow to download the extra content as a additional download. can some one elaborate how can i do that from unity (cause i'm using unity to build the app). how to bundle the assets and how to make it as a extra download.
Let's say you have a button that is greyed out for not containing the data.
That button contains a script checking if there is data at a location.
The user purchases the item and then starts the download. The data are stored at the location where the button will search for most likely at Application.persistentDataPath.
The actual data are stored on your server at a url. Most likely a secured url requiring a login system (could be Azure or AWS).
Next time the button is started it will look at the location and find the data. It is now active.
Downloading could be made easy with AssetBundle so you can download a whole scene into it.
https://docs.unity3d.com/Manual/AssetBundlesIntro.html

Can I put and fetch custom objects in AppIndexing?

Is is possible to add custom objects to AppIndex Thing and retrieve it once the user opens the app from google search ? I am currently fetching data from internet each time an user opens the app through google search.

how to encrypt URL in android

I am very new to this concept ,when i share my image and text to other app,my domain name was visible but i want to encrypt it and when user click that link it should be redirect to my play store app URL ,i google it but I am getting any solution for ,i saw this functionality in many app please help me how to d this here below one of the app show like this i need to encrypt and redirect to play store without opening that URL i need to redirect to play store please any one help me how to do that,here below one of the app using like this encryption and redirection with out showing their Main URL .
Here below the Image
What you see in the image is not encrypted. It's an url Shortener. And in this case it's from google. Documentation about the Google URL Shortener
I think to make safe calls you need to encrypt it while sending and when user click on that image now you want to redirect to play store URL, so now decrypt it.
I found one library to do this job below is the link for example
https://github.com/simbiose/Encryption/blob/master/Examples/Android/app/src/main/java/se/simbio/encryption/MainActivity.java

How to get news from my website in my android application?

I have my own news website. Now I am making an android app version of it.
How do I pick up news from my website in my android app.
My website has a tile based format of news(with a picture and a headline over it).
Now I have made a front end version of it with blank picture tiles in my android app but how do I keep refreshing the news(picture+headlines) by picking the latest news from the website so that the tile changes automatically every time I change the news in my website.
I am new to android so a very specific answer with code would be appreciated.
As i've would have done it is:
You save the news items in your Database. Just connect your android app to your MySQL database and everytime someone opens the app call the Query of SELECT * FROM selected by last inserted or on date.
Goodluck.
Create an api that the app user will connect (most common is php) to your server (ex. ursite.com\getNews.php). This server api will then perform the query to your news collections and return the news article(image url & news contents) back to the app.

Is there a way not to keep payed files on device using In App Billing on Android?

I am creating an app where my users could buy additional content(data). This content saved for example in xml file. So I want to achieve such behavior that when the user buy part of payed content, my app receives this xml file, parse it and display data. Is there a way not to keep this file on device?
Implement InApp purchase to view this link(or load XML data in another activity) and have a unique SKU for each link to be purchased. You can find a Status check, if the link SKU is purchase or not, in the InAppBilling Library. So do a status check when ever the link is clicked, if not purchased popup the user to purchase, else load the XML data from online.
Is there a way not to keep this file on device?
Load the XML file directly from Online. Or Download XML once and save the XML content(Not file) in the DB.
Cheer :)

Categories

Resources