[android-developers] Re: How do I get informed whenever an application is started/created?

2009-11-17 Thread Moritzz
Well there's an intent sent, as I can see in ddms but how do I catch
it?

On 16 Nov., 15:15, Moritzz moritz...@googlemail.com wrote:
 Hey guys,

 I'd like to write sthg like a logger for my Android phone where I log
 whenever an application/activity is started respectively created. So
 it's not only about my own stuff but about all the stuff that gets
 started on the phone. Is there sthg like an intent flying around or
 any kind of stuff that I could catch?

 Cheers

 Moritz

-- 
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] Re: How do I get informed whenever an application is started/created?

2009-11-17 Thread Moritzz
Well there's an intent sent, as I can see in ddms but how do I catch
it?

On 16 Nov., 15:15, Moritzz moritz...@googlemail.com wrote:
 Hey guys,

 I'd like to write sthg like a logger for my Android phone where I log
 whenever an application/activity is started respectively created. So
 it's not only about my own stuff but about all the stuff that gets
 started on the phone. Is there sthg like an intent flying around or
 any kind of stuff that I could catch?

 Cheers

 Moritz

-- 
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] Re: How do I get informed whenever an application is started/created?

2009-11-17 Thread PJ
What's wrong with using the Android builtin logger?
http://developer.android.com/reference/android/util/Log.html

It's easy, just do stuff like:
Log.d(TAG, Your debug log message goes here.);
Log.w(TAG, Your warning message goes here.);

Just be sure to turn off logging and debugging before publishing, as
indicated in these best practices:
http://developer.android.com/guide/publishing/preparing.html

-- PJ


On Nov 17, 9:19 am, Moritzz moritz...@googlemail.com wrote:
 Well there's an intent sent, as I can see in ddms but how do I catch
 it?

 On 16 Nov., 15:15, Moritzz moritz...@googlemail.com wrote:



  Hey guys,

  I'd like to write sthg like a logger for my Android phone where I log
  whenever an application/activity is started respectively created. So
  it's not only about my own stuff but about all the stuff that gets
  started on the phone. Is there sthg like an intent flying around or
  any kind of stuff that I could catch?

  Cheers

  Moritz- Hide quoted text -

 - Show quoted text -

-- 
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] Re: How do I get informed whenever an application is started/created?

2009-11-17 Thread Moritzz
Nothing is wrong with the Android logger but it doesn't help with my
problem. I'd like my application to get informed whenever an
application is started!

On 17 Nov., 23:01, PJ pjbar...@gmail.com wrote:
 What's wrong with using the Android builtin 
 logger?http://developer.android.com/reference/android/util/Log.html

 It's easy, just do stuff like:
 Log.d(TAG, Your debug log message goes here.);
 Log.w(TAG, Your warning message goes here.);

 Just be sure to turn off logging and debugging before publishing, as
 indicated in these best 
 practices:http://developer.android.com/guide/publishing/preparing.html

 -- PJ

 On Nov 17, 9:19 am, Moritzz moritz...@googlemail.com wrote:

  Well there's an intent sent, as I can see in ddms but how do I catch
  it?

  On 16 Nov., 15:15, Moritzz moritz...@googlemail.com wrote:

   Hey guys,

   I'd like to write sthg like a logger for my Android phone where I log
   whenever an application/activity is started respectively created. So
   it's not only about my own stuff but about all the stuff that gets
   started on the phone. Is there sthg like an intent flying around or
   any kind of stuff that I could catch?

   Cheers

   Moritz- Hide quoted text -

  - Show quoted text -

-- 
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] Re: How do I get informed whenever an application is started/created?

2009-11-17 Thread Mark Murphy
Moritzz wrote:
 I'd like my application to get informed whenever an
 application is started!

You can't, AFAIK.

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

Android Development Wiki: http://wiki.andmob.org

-- 
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