i have a background service that collecte some rss data news and i need to show just a small view or small activity defiling rss content (no overlay other app)that defile the news as long as the service is alive but i dont now how to acomplich the last part of showing the view ps:it well be great if not needed android.permission.SYSTEM_ALERT_WINDOW
final WindowManager windowManager = (WindowManager) getSystemService(WINDOW_SERVICE);
WindowManager.LayoutParams params = new WindowManager.LayoutParams(
android.view.ViewGroup.LayoutParams.WRAP_CONTENT,
android.view.ViewGroup.LayoutParams.WRAP_CONTENT,
WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH,
PixelFormat.TRANSLUCENT
);
params.gravity = Gravity.BOTTOM | Gravity.START;
params.x = 220;
params.y = 220;
params.width = 220;
params.height = 220;
// my view code
windowManager.addView(View, params);