Insert new item in phone's content menu

ThePuiu

Active Member
Licensed User
Longtime User
Hi, first of all, I hope I can explain better what I want to do:
I'm working on an application that automatically reject calls. I want to add a new item to the menu that appears when the user long press on the phone number in the missed call list. When I push that item, my application must take the phone number and save it to database. Is that possible? If yes, how?

Thank you!
 

yttrium

Active Member
Licensed User
Longtime User

Can you show me what the menu looks like now?

I'm really doubting this is possible mainly because it's a predetermined set of instructions in the dialer app itself.
 
Upvote 0

ThePuiu

Active Member
Licensed User
Longtime User
I made a screenshot and I drew where I want to show the new item.
 

Attachments

  • Screenshot.jpg
    62.8 KB · Views: 183
Upvote 0

yttrium

Active Member
Licensed User
Longtime User
Yeah, unless you want to rewrite the entire Dialer, you can't do that.
 
Upvote 0

yttrium

Active Member
Licensed User
Longtime User
ok, thank you even that's not the wanted answer!

You're asking if you can add a menu option to a different app that isn't using intents.

That menu option is hardcoded from a different app. There is nothing you can do to add that menu option short of rewriting a complete alternative to that app WITH the menu option.

There frankly isn't another answer. Sorry!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…