[android-developers] Re: Display Process IDs

2010-03-23 Thread Jaya Hoondlani
t work. > > > Thanks and Regards, > > Perumal > > > On Mar 23, 5:32 pm, Jaya Hoondlani wrote: > > > > Hi Perumal, > > > > You can do this to display all the PID's for running application > > > >  Context context = getApplicationContext(

[android-developers] Re: Display Process IDs

2010-03-23 Thread Jaya Hoondlani
Hi Perumal, You can do this to display all the PID's for running application Context context = getApplicationContext(); Resources appR = context.getResources(); ActivityManager actmgr=(ActivityManager)context.getSystemService (Context.ACTIVITY_SERVICE); List

[android-developers] Closing a process when Process ID & Process Name is known

2010-03-17 Thread Jaya Hoondlani
Hi All, I am having a requirement that i want to close a process that is running from my application. For Example : If a pdf file is opened in the device, i want that if my application is launched it should close. I am able to get the process id i.e 620 & process name : "com.htc.pdfreader" by u

[android-developers] Opening and Closing a File from Applcation in the default editor.

2010-03-12 Thread Jaya Hoondlani
Hi All, I need two things : 1) I want to open a file from open a file that is stored somewhere in android phone from my application. I am able to get the location of the fie but it is not opening. This is what i have tried: Intent myIntent = new Intent(android.content.Intent.ACTION_PICK,

[android-developers] Re: Flash file android

2010-03-12 Thread Jaya Hoondlani
Hi Narendra, You can try this out! http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-sdk-1-5/ Even i have not tried it... -Jaya Diaspark Inc. On Feb 9, 3:40 pm, Narendra Bagade wrote: > Hi all, > > For advertisement in my app ,I want to use flash file . > > Can anyone k