Is it possible to remove or disable Done button which comes when any application is installed. I want that the user must open my application.
Thanks in advance.
No. That's the play store, its a separate application you have no control over. Besides, the user may not want to immediately open your app (I tend to download several in the background and open them later). Why should he be forced to?
Related
I am trying to create a kiosk type app so when you press the recent apps button I dont want the user to be able to go to a different app. I have been googling around but cannot find anything on this matter. There is this solution in this
thread Recent apps button in android
However this does not seem to work for me on Android 6.0
Can someone please point me to the right direction on how to do this?
Thanks
In the link you provided yourself can find the answer:
Is that possible to override recent apps button in android? Not from
an ordinary SDK app.
You are welcome to build your own custom ROM that modifies the
overview screen, then convince people to install your custom ROM on
their devices.
So your answer is no in the app written by Google provided SDKs.
It is not possible. You can not control recent app AND home button in Android. You can't allow user to not leave the app. It is user's choice.
Edit: The only way you will be able to control those buttons is if you have system level permissions. To have system level permission for the device, you have to have system certificates and you won't have that unless you created the Android ROM on the device.
there's a app called "All in one Gestures" that can make the physical recent apps button without blocking some alternate way to trigger recent apps (like assistant menu in accessibility settings), i'm not the developer of that app but using APK editor, i see that the app are using accessibility service
I am closing my app programatically on a button click. If anyone can suggest this is ok with google's android app publishing guidelines. I am concerned if it gets rejected because of this. Please suggest.
Rejected? Nope... Google Play Store is nothing like the Apple App Store. As long as you're not publishing a malicious app, Google doesn't care what your app's functionality is.
My suggestion is to remove the button anyway to better comply with Android standards. Your users are expecting to exit your app by pressing the home button.
Nahh.. There isn't any problem of closing app programatically.
But as suggested in "Android docs" You have to manage your app flow in a way that you don't need to Close your app programatically.
Then even you want to do it then you are the boss of your app.
I know that an Android application can install more than 1 icon to the user's launcher simply by having a tag in the manifest, as explained here: Android App actvities installed as multiple icons
However, the above solution happens automatically. Instead, I would like to give the option to the user to install a 2nd, 3rd, or more icons for my app by letting them press a button. So, for example, if I were a Restaurants app, I could encourage the user to install a quick access icon to a particular cuisine (let's say sushi) in addition to the icon they already have for the app.
I've noticed that WhatsApp for Android does this. You can choose to install a shortcut that launches a particular conversation directly. So I have a strong feeling it's possible but haven't found any material that explains how.
Thanks in advance!
Just found the solution to this here:
How to enable automatic shortcut creation after app downloads and installs from Android Market?
Thanks for everyone who looked!
In my application, I want to present a button that allows the user to download a sister application. I am aware of the market://details?id= type of custom URLs and links. But I would like the download to begin as soon as the user presses the button, rather than displaying the app page and making the user press the install button there. Going through http://developer.android.com/guide/publishing/publishing.html, it seems that this is not possible. Just want to confirm my doubts.
Thanks,
Akshay
The link is correct: what you want to happen is intentionally impossible. It would be a rather large security risk if a simple link could automatically install software onto the device.
When provided a market link the user will be taken to the application's market page on which they have to confirm the install. Alternatively you could provide a link to an .apk directly (over HTTP, FTP, etc.) which will (likely) trigger an automatic download of the application but would still require an install.
If the sister application is on the market, you can't bypass the Permission's page of the market. A way around this would be hosting the .apk file on your own server space and link to that file. That way the download will begin instantaneously. Again the user would pres ok to the permissions.
I download a ics file (Outlook Calendar File) from a mail attachment in my application. Another application also downloads the ics file. I need to set my application as the default application to open the ics files (from my program). Is there any possibility to know our application is the default application or not from our program?
If my application is not a default application, is the user select my application at that time i have to get some details from the user.Can anyone help me to solve this???
When the user tries to open an ICS file, the user will be prompted to open it with your app or with another app. The user will then be given the option to make the current selection the default one, so as not to be faced with the question again.
This decision should always be in the hands of the user.
Android has already solved this natively, and you don't have to bother with it.