Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. Reject call code

Reject call code

Scheduled Pinned Locked Moved Android
designquestion
2 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anthony Joseph H
    wrote on last edited by
    #1

    Hi everyone, I'm currently in the process of designing an app, but need to know if this is possible first. I want to design the app to be able to reject a call before it gets as far as notifying the phones owner (through ringing) or even on the screen. It would essentially just be blocking a phone number, but there is more to this that I can't discuss yet. This is in no way looking to be malicious. If this possible? and if so, are there sample codes to this type of situation? Thank you for your time!

    D 1 Reply Last reply
    0
    • A Anthony Joseph H

      Hi everyone, I'm currently in the process of designing an app, but need to know if this is possible first. I want to design the app to be able to reject a call before it gets as far as notifying the phones owner (through ringing) or even on the screen. It would essentially just be blocking a phone number, but there is more to this that I can't discuss yet. This is in no way looking to be malicious. If this possible? and if so, are there sample codes to this type of situation? Thank you for your time!

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      You need to read up on the TelephonyManager and PhoneStateListener classes.

      "One man's wage rise is another man's price increase." - Harold Wilson

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups