[android-developers] Re: How can we keep a particular application on the top always

2011-08-01 Thread Ankit
Hi , Thanks for your valuable suggestions. Actually we want to know if it is possible using launch modes and task affinities basically without changing the System Image. We want to place our application over other applications, while keeping the background application working as normal. Please

Re: [android-developers] Re: How can we keep a particular application on the top always

2011-07-29 Thread Dianne Hackborn
What I am saying is you shouldn't use an activity, you should go modify the SystemUI code to introduce your window there in the same way the status bar is done. On Thu, Jul 28, 2011 at 10:37 PM, trickybit jmack...@gmail.com wrote: Is there a way for an activity to specify the type of its main

Re: [android-developers] Re: How can we keep a particular application on the top always

2011-07-29 Thread firstName lastName
Try SYSTEM_ALERT_WINDOW uses-permission android:name=android.permission.SYSTEM_ALERT_WINDOW / Create a service and in the service, WindowManager mWindowManager = (WindowManager)getSystemService(WINDOW_SERVICE); LayoutInflater inflater =

[android-developers] Re: How can we keep a particular application on the top always

2011-07-28 Thread trickybit
Is there a way for an activity to specify the type of its main window, in time for it to matter? Thanks On Jul 28, 12:11 pm, Dianne Hackborn hack...@android.com wrote: I suggest looking at the SystemUI process (frameworks/base/packages/SystemUI), which is responsible for showing the status