Friday, April 18, 2014

Ask: Service can display a Yes / No prompt box?


Ask a question, Service, when the condition is satisfied, displays a Yes / No prompt box to the forefront of Android, there are ways to achieve it?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Bomb inside a AlertDialog directly in the Service will be able to
Reply:
In general AlertDialog added:
 dialog.getWindow () setType (WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);. 

Reply:
Upstairs is feasible, it can do. Write an activity as a parent, to receive the broadcast, all the buttons you need to display the page inherit it when prompted servce display button sends a broadcast request when needed
Reply:
Positive Solutions for Service 2nd Floor, system-level pop-up dialog box can also use the notification
Reply:
Thank you, I look to see.

No comments:

Post a Comment