• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

To Promt User from android source

sparlay_pk

Lurker
Mar 30, 2010
2
0
I want some changes in android source code i.e. to prompt a user on every service when an application is going to exercise it. but the problem is that neither I can start an activity from simple java class (PackageManagerService) nor put an AlertDialog etc within that class (PackageManagerService).

So Plz help me how to solve this problem.

Bahar A li
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones