Android - Not able to identify popup dialog/window

Android : Appium (UIautomatorviewer) is not identifying the element

I am trying to identify popup window in one of the android app, but appium is not able to identify that element.
It is android native element(mFilterPopupDialog) which is used in app

Environment

Appium version (or git revision) that exhibits the issue: 1.4.16.1
Last Appium version that did not exhibit the issue (if applicable):NA
Desktop OS/version used to run Appium: Windows 7
Node.js version (unless using Appium.app|exe):NA
Mobile platform/version under test: Android 5.0
Real device or emulator/simulator: Real device(HTC 1+)
Appium CLI or Appium.app|exe:

hey Usha,

try using the command
Alert alert = driver.switchto().alert
alert.accept();

hope this will resolve the issue.

@ [Contact]

That will throw exception Janardhan
(org.openqa.selenium.WebDriverException: Not yet implemented)

i have a case of tapping on OK button of the bluetooth alert.

driver.findElementByXPath("//UIAButton[1]").click();

where xpath is the Locator of OK button in the alert.

@ushahoneywell are u able to inspect the element in UIAutomator Viewer.

In android case, how do i treat this problem??