I want to Create one simple app witch is display a dialog box with 2 buttons YES and No witch ask to user that they want to install new application ? when user install a new application in android device.if user press YES button then application have permission to install and if user press NO button then new application installation is going cancel. Than开发者_如何学编程ks to all
The all over idea is as follows.
your app should have intent receiver which will here for broadcast intent
ACTION_PACKAGE_INSTALL
Then In on receive method you can implement your logic.
This is just the faint idea.Might be helpful to you for further r and d.
精彩评论