0

I am trying to show a view over incoming phone call , Like true caller. Please let me know how i can implement that.

I am trying to use this code: But it is showing me some error

    WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);
    Display display = wm.getDefaultDisplay();
    if (SysUtils.isGteAndroid4()) {
        Point size = new Point();
        display.getSize(size);
        return size;
    } else {
        return new Point(display.getWidth(), display.getHeight());
    }
Shank
  • 1,387
  • 11
  • 32
Amit Sharma
  • 926
  • 2
  • 10
  • 35
  • 1
    Mind posting the error? – Shank Jul 11 '16 at 17:35
  • Sorry man , Right now i am not on my development system . Do you have any refrence please let me know . I need a full tutorial for that.If you can guide me for that ten it will be helpfull – Amit Sharma Jul 11 '16 at 17:37
  • Here is how you can view [Incoming Number](http://stackoverflow.com/questions/13154445/how-to-get-phone-number-from-an-incoming-call) – Shank Jul 11 '16 at 17:39

0 Answers0