Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Mark Murphy
On Fri, Jul 22, 2011 at 8:31 PM, Sebo stomasze101...@gmail.com wrote:
 Quick question, do you know if there is a way to turn off any APPS
 that run in the background (e-mail/GPS...), so my application while it
 is running won't be interrupted at all(Except for the OS of
 course)?

Fortunately, this is not possible.

 OR is there a way to tell when my application starts that my APP is
 the highest prioiryt in the whole system?

The foreground process is already the highest prioiryt [sic] in the
whole system.

   I tried setting my
 Acitivity prioity (In the Manifest) to the highest possible and that
 didn't work that well.

There is no Acitivity prioity (In the Manifest).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Sebastian Tomaszewski
Hello Mark,
Thank you for your reply, I greatly appreciate it.
Fortunately...come on...  :)... I guess there is a reason behinid it
is there?
So does that mean that android:priority=*2147483647* didn't do anything
for me in my Manifest.   I read somewhere that this could have helped?... A
little bit confused here, but maybe I might have misread this...
http://developer.android.com/guide/topics/manifest/intent-filter-element.html#priority

Nevertheless, would the application that is running be considred as
Foreground Process?  Please let me know.

Thank you and Best Regards,


Sebo

On Tue, Jul 26, 2011 at 4:20 AM, Mark Murphy mmur...@commonsware.comwrote:

 On Fri, Jul 22, 2011 at 8:31 PM, Sebo stomasze101...@gmail.com wrote:
  Quick question, do you know if there is a way to turn off any APPS
  that run in the background (e-mail/GPS...), so my application while it
  is running won't be interrupted at all(Except for the OS of
  course)?

 Fortunately, this is not possible.

  OR is there a way to tell when my application starts that my APP is
  the highest prioiryt in the whole system?

 The foreground process is already the highest prioiryt [sic] in the
 whole system.

    I tried setting my
  Acitivity prioity (In the Manifest) to the highest possible and that
  didn't work that well.

 There is no Acitivity prioity (In the Manifest).

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training in NYC: http://marakana.com/training/android/

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Streets Of Boston
Yes, it's fortunately. :-)

It's 'fortunately' for the developers of the e-mail/GPS/etc apps. If your 
app could take (almost) all CPU cycles, their apps will no longer run for 
some period of time and who knows what detrimental effects that could have 
on their apps. Then they would come to the android-developers group asking 
how they can avoid other apps from taking all the processing cycles or how 
they can set the priority even higher.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Sebastian Tomaszewski
CHEERS... :)... That is completely understandable... Thanks...

On Tue, Jul 26, 2011 at 10:49 AM, Streets Of Boston flyingdutc...@gmail.com
 wrote:

 Yes, it's fortunately. :-)

 It's 'fortunately' for the developers of the e-mail/GPS/etc apps. If your
 app could take (almost) all CPU cycles, their apps will no longer run for
 some period of time and who knows what detrimental effects that could have
 on their apps. Then they would come to the android-developers group asking
 how they can avoid other apps from taking all the processing cycles or how
 they can set the priority even higher.


 --
  You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Dianne Hackborn
android:priority is for IntentFilter matching, it has nothing to do with
thread priority.  Also third party apps can't get an android:priority  0.

On Tue, Jul 26, 2011 at 10:37 AM, Sebastian Tomaszewski 
stomasze101...@gmail.com wrote:

 Hello Mark,
 Thank you for your reply, I greatly appreciate it.
 Fortunately...come on...  :)... I guess there is a reason behinid it
 is there?
 So does that mean that android:priority=*2147483647* didn't do anything
 for me in my Manifest.   I read somewhere that this could have helped?... A
 little bit confused here, but maybe I might have misread this...

 http://developer.android.com/guide/topics/manifest/intent-filter-element.html#priority

 Nevertheless, would the application that is running be considred as
 Foreground Process?  Please let me know.

 Thank you and Best Regards,


 Sebo

 On Tue, Jul 26, 2011 at 4:20 AM, Mark Murphy mmur...@commonsware.comwrote:

 On Fri, Jul 22, 2011 at 8:31 PM, Sebo stomasze101...@gmail.com wrote:
  Quick question, do you know if there is a way to turn off any APPS
  that run in the background (e-mail/GPS...), so my application while it
  is running won't be interrupted at all(Except for the OS of
  course)?

 Fortunately, this is not possible.

  OR is there a way to tell when my application starts that my APP is
  the highest prioiryt in the whole system?

 The foreground process is already the highest prioiryt [sic] in the
 whole system.

    I tried setting my
  Acitivity prioity (In the Manifest) to the highest possible and that
  didn't work that well.

 There is no Acitivity prioity (In the Manifest).

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training in NYC: http://marakana.com/training/android/

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Sebastian Tomaszewski
Nathan,
Sorry I haven't read your e-mail prior to sending my last response, but one
more thing, again I understand the criticality of reason why we don't want
to do it Just to clarify, I don't want to maliciously  KILL the
processes running in the background.  I am currently writing an APP, which
won't be ever on the MARKET for the ANDROID community to
use.  Instead this APP will be used for my company purposes.  The reason why
I was asking to do that is because I wanted to make sure that nothing else
interrupts me while I am running  (it is very time critical application that
I am writing)...

Is there someway that I could learn how to do this?   If there are ways, I
understand why you won't be able to give me the examples for that on this
post, but is there someway that I could contact someone in ANDROID DEV group
that will be able to provide me with this information

Previously in this thread it was mentioned that The foreground process is
already the highest prioiryt [sic] in the whole system., does anyone know
what that means?

Thank you,


Sebo



On Tue, Jul 26, 2011 at 11:43 AM, Sebastian Tomaszewski 
stomasze101...@gmail.com wrote:

 CHEERS... :)... That is completely understandable... Thanks...

   On Tue, Jul 26, 2011 at 10:49 AM, Streets Of Boston 
 flyingdutc...@gmail.com wrote:

 Yes, it's fortunately. :-)

 It's 'fortunately' for the developers of the e-mail/GPS/etc apps. If your
 app could take (almost) all CPU cycles, their apps will no longer run for
 some period of time and who knows what detrimental effects that could have
 on their apps. Then they would come to the android-developers group asking
 how they can avoid other apps from taking all the processing cycles or how
 they can set the priority even higher.


 --
  You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Sebastian Tomaszewski
Dianne,
Thank you for the explenation.  I greatly appreciate it.

Sebo

On Tue, Jul 26, 2011 at 11:47 AM, Dianne Hackborn hack...@android.comwrote:

 android:priority is for IntentFilter matching, it has nothing to do with
 thread priority.  Also third party apps can't get an android:priority  0.

   On Tue, Jul 26, 2011 at 10:37 AM, Sebastian Tomaszewski 
 stomasze101...@gmail.com wrote:

   Hello Mark,
 Thank you for your reply, I greatly appreciate it.
 Fortunately...come on...  :)... I guess there is a reason behinid it
 is there?
 So does that mean that android:priority=*2147483647* didn't do
 anything for me in my Manifest.   I read somewhere that this could have
 helped?... A little bit confused here, but maybe I might have misread
 this...

 http://developer.android.com/guide/topics/manifest/intent-filter-element.html#priority

 Nevertheless, would the application that is running be considred as
 Foreground Process?  Please let me know.

 Thank you and Best Regards,


 Sebo

On Tue, Jul 26, 2011 at 4:20 AM, Mark Murphy 
 mmur...@commonsware.comwrote:

 On Fri, Jul 22, 2011 at 8:31 PM, Sebo stomasze101...@gmail.com wrote:
  Quick question, do you know if there is a way to turn off any APPS
  that run in the background (e-mail/GPS...), so my application while it
  is running won't be interrupted at all(Except for the OS of
  course)?

 Fortunately, this is not possible.

  OR is there a way to tell when my application starts that my APP is
  the highest prioiryt in the whole system?

 The foreground process is already the highest prioiryt [sic] in the
 whole system.

    I tried setting my
  Acitivity prioity (In the Manifest) to the highest possible and that
  didn't work that well.

 There is no Acitivity prioity (In the Manifest).

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training in NYC: http://marakana.com/training/android/

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

 --
  You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Mark Murphy
On Tue, Jul 26, 2011 at 3:01 PM, Sebastian Tomaszewski
stomasze101...@gmail.com wrote:
 processes running in the background.  I am currently writing an APP, which
 won't be ever on the MARKET for the ANDROID community to
 use.  Instead this APP will be used for my company purposes.  The reason why
 I was asking to do that is because I wanted to make sure that nothing else
 interrupts me while I am running  (it is very time critical application that
 I am writing)...

Don't allow other applications on the device. This may involve your
firm purchasing its own devices from a device manufacturer or taking
other steps to get rid of other applications.

 Previously in this thread it was mentioned that The foreground process is
 already the highest prioiryt [sic] in the whole system., does anyone know
 what that means?

The [sic] is referring to your typo. The foreground process is
whatever application is on the screen.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-26 Thread Sebastian Tomaszewski
Mr. Mark,
Thank you, I greatly appreciate your help and clarifications.  Sorry about
the typo...

Regards,


Sebo

On Tue, Jul 26, 2011 at 1:24 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Tue, Jul 26, 2011 at 3:01 PM, Sebastian Tomaszewski
 stomasze101...@gmail.com wrote:
  processes running in the background.  I am currently writing an APP,
 which
  won't be ever on the MARKET for the ANDROID community to
  use.  Instead this APP will be used for my company purposes.  The reason
 why
  I was asking to do that is because I wanted to make sure that nothing
 else
  interrupts me while I am running  (it is very time critical application
 that
  I am writing)...

 Don't allow other applications on the device. This may involve your
 firm purchasing its own devices from a device manufacturer or taking
 other steps to get rid of other applications.

  Previously in this thread it was mentioned that The foreground process
 is
  already the highest prioiryt [sic] in the whole system., does anyone
 know
  what that means?

 The [sic] is referring to your typo. The foreground process is
 whatever application is on the screen.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training in NYC: http://marakana.com/training/android/

 --
  You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Turning off all of the APPS running in the background or setting the highest priority on my APP!!!

2011-07-25 Thread Sebo
Hello All,
Quick question, do you know if there is a way to turn off any APPS
that run in the background (e-mail/GPS...), so my application while it
is running won't be interrupted at all(Except for the OS of
course)?.   BOTTOM line the following is what I would like to do:
1. As soon as my APP Enters, it would turn off the other background
APPS/Services/Tasks (Except for OS) from running.
2. Perform operations without being interrupted
3. On the exit, the APP would re-enable all of those apps to run?

OR is there a way to tell when my application starts that my APP is
the highest prioiryt in the whole system?  I tried setting my
Acitivity prioity (In the Manifest) to the highest possible and that
didn't work that well.

Please let me know if you have any suggestions..

I greatly appreciate it.



Sebo
-- DROIDS for LUNCH... ANyone?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en