-3

Android's UI that i want to replace with my own. So is it possible to replace and yes, then please suggest me some User-Permission to do so

Cœur
  • 37,241
  • 25
  • 195
  • 267
Shashi Patel
  • 72
  • 10
  • My caller doesn't look like that, so the answer is obviously, yes. But you need root permission to install a separate Dialer app – OneCricketeer Feb 21 '18 at 05:40
  • ok, thanks a lot brother but can you tell me how to get root privileges? – Shashi Patel Feb 21 '18 at 05:47
  • That depends on your phone, and asking for tutorials is off topic for StackOverflow – OneCricketeer Feb 21 '18 at 05:48
  • Duplicate question. https://stackoverflow.com/questions/5029183/android-dialer-application and https://stackoverflow.com/questions/10303138/how-to-make-my-own-custom-dialer-in-an-android-phone – OneCricketeer Feb 21 '18 at 05:50
  • thanks for sparing your precious time, but it was not at all the duplicate one as i have already created my UI and i simply want to replace with android's default one :) – Shashi Patel Feb 21 '18 at 05:54
  • Okay, well do you have an `` for the ACTION_DIAL Intent? Have you tried going into your device's settings to override the Dialer application's default behavior? – OneCricketeer Feb 21 '18 at 05:58
  • yes i have, and also i have added NEW_OUTGOIN_CALL intent as well, and i have given permission too, still it was not enough to override. something more is required and that thing i don't know – Shashi Patel Feb 21 '18 at 06:02
  • 1
    You might want to edit your question to actually include the code you have and the research done, rather than just asking if something is possible. – OneCricketeer Feb 21 '18 at 06:14
  • see https://stackoverflow.com/a/49835987/1916449 and https://stackoverflow.com/a/49856583/1916449 for steps that are necessary – arekolek May 16 '18 at 22:24

1 Answers1

0

You have to create your own UI and user have to dial number from your app it can be done from API 23, check inCallservice

https://developer.android.com/reference/android/telecom/InCallService.html

rajahsekar
  • 916
  • 1
  • 11
  • 25