Comments (4)
I want reset my app setting and go back to system dialer app? How it is possible?
from simple-phone.
One option is to delete the phone app you don't want, the system will revert to default one.
Another is to find the "Default apps" settings in your phone system settings, which exact location vary depending on the manufacturer.
Like mentioned in the README, in stock Android that's: Settings -> Apps & notifications -> Advanced -> Default apps -> Phone app:
from simple-phone.
I know but i want to reset programmatically, if i uninstall the app when ever i reinstall it automatically detect if previously used as default dialer.
from simple-phone.
The best you can do is to use an intent with ACTION_MANAGE_DEFAULT_APPS_SETTINGS
Maybe, you could also find out what the system dialer is by doing what Android does and then pass that package name instead of yours to the
Intent(ACTION_CHANGE_DEFAULT_DIALER)
.putExtra(EXTRA_CHANGE_DEFAULT_DIALER_PACKAGE_NAME, packageName)
and I wouldn't expect anything more automated than that, because it would be weird if an app could change the dialer without asking the user about it.
from simple-phone.
Related Issues (16)
- Question: how to handle immersive mode apps? HOT 19
- Code for java
- Does not work when screen is off HOT 1
- Ongoing.call is sometimes null in when answer/hangup
- The screen doesn't turn off during call
- Can I create the same app in flutter?
- Stop default ringtone when get call
- doesn't build with android studio 2023.2.1 HOT 1
- Question: is it possible to show the built in during-call-UI, from this one? HOT 4
- Question: Any idea how to clone the Phone app of Android HOT 9
- Suggestion dialog with deafult dialer icon instead custom dialer icon
- Conference call HOT 1
- Need Suggestion : How can I implement it without using startActivity(Intent(Intent.ACTION_CALL, uri))
- i dont it is defualt?
- CallService not invoking in xiaomi devices. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-phone.