[android-beginners] LogCat

2010-06-22 Thread DonFrench
I use LogCat a lot when debugging but it is an irritation that it
frequently has to be reset to get the latest log output. I am only
aware of two ways to get the log output when this happens: 1) Go to
the DDMS perspective and then pull down the menu in the Devices view
and select reset adb, and 2) Exit Eclipse and restart it.  Some of the
time Reset adb works but often it does not and I have to exit and
restart Eclipse.  So, first, am I doing something wrong that causes
LogCat to stop functioning?  And second, is there another way to
refresh the log other than the two methods I mentioned?  And third, is
this a bug in the Android Eclipse plug-in?  If it is, why doesn't
Google fix it?

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] LogCat

2010-06-22 Thread Kostya Vasilyev

Don,

I can recommend running adb logcat from the OS's command line window.

This way, it's always around, you can make it as large as you want, and 
can do filtering by piping through grep or find, if necessary.


-- Kostya

22.06.2010 22:02, DonFrench пишет:

I use LogCat a lot when debugging but it is an irritation that it
frequently has to be reset to get the latest log output. I am only
aware of two ways to get the log output when this happens: 1) Go to
the DDMS perspective and then pull down the menu in the Devices view
and select reset adb, and 2) Exit Eclipse and restart it.  Some of the
time Reset adb works but often it does not and I have to exit and
restart Eclipse.  So, first, am I doing something wrong that causes
LogCat to stop functioning?  And second, is there another way to
refresh the log other than the two methods I mentioned?  And third, is
this a bug in the Android Eclipse plug-in?  If it is, why doesn't
Google fix it?

   



--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] LogCat

2010-06-22 Thread Mikey
Thanks a lot for that tip, even though I was not the person asking the 
question...

On 22 Jun 2010, at 19:11, Kostya Vasilyev wrote:

 Don,
 
 I can recommend running adb logcat from the OS's command line window.
 
 This way, it's always around, you can make it as large as you want, and can 
 do filtering by piping through grep or find, if necessary.
 
 -- Kostya
 
 22.06.2010 22:02, DonFrench пишет:
 I use LogCat a lot when debugging but it is an irritation that it
 frequently has to be reset to get the latest log output. I am only
 aware of two ways to get the log output when this happens: 1) Go to
 the DDMS perspective and then pull down the menu in the Devices view
 and select reset adb, and 2) Exit Eclipse and restart it.  Some of the
 time Reset adb works but often it does not and I have to exit and
 restart Eclipse.  So, first, am I doing something wrong that causes
 LogCat to stop functioning?  And second, is there another way to
 refresh the log other than the two methods I mentioned?  And third, is
 this a bug in the Android Eclipse plug-in?  If it is, why doesn't
 Google fix it?
 
   
 
 
 -- 
 Kostya Vasilev -- WiFi Manager + pretty widget -- 
 http://kmansoft.wordpress.com
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.
 
 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android
 
 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] logcat of video capture using MediaRecorder

2010-04-05 Thread Nandini
Hi

can anyone provide me the logcat of Video capture using MediaRecorder?

Thanks

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe, reply using remove me as the subject.


[android-beginners] [Logcat] How to set multiple Tags in one filter?

2010-02-02 Thread Chiougod
Hi,

  If I have two activities in one applications and I use different
Tags for each activity, can I use one filter to see all logs for both
activities with different Tags? However, I can use Pid to get all
logs for both activities in one Logcat view, but is there any way to
set multiple tags?

Thanks,

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] LogCat window seems to stop working

2010-01-28 Thread Kevin Duffey
Hey all,

Has anyone noticed that their LogCat window seems to stop working after an
app force closes.. or maybe for some other reason? I've been having issues
getting debugging to work on my Ubuntu 9.04 64-bit system with this annoying
QEMU channel closed problem. That aside, even when things do work, it seems
that for some odd reason LogCat stops receiving..or displaying anything.
Even when my app works, and I redeploy it, it seems to just stop showing any
Log.v output. I did try filtering, setting to verbose, info, error, etc, and
it only seems on the first run of the app when all works fine that there is
any output.

Is there some way to reconnect it? When I clear the log, it stays empty
until I restart Eclipse..which is quite painful to have to do every time I
want to deploy to watch log output.

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] logcat question

2009-12-19 Thread tinyang
I'm trying to figure out a java.lang.RuntimeException problem in my app.
When I look at the logcat, it will show something like this:
 
12-19 09:29:38.055: WARN/dalvikvm(716): threadid=3: thread exiting with
uncaught exception (group=0x4000fe70)
12-19 09:29:38.065: ERROR/AndroidRuntime(716): Uncaught handler: thread main
exiting due to uncaught exception
12-19 09:29:38.075: ERROR/AndroidRuntime(716): java.lang.RuntimeException:
Unable to start activity ComponentInfo{test.app/test.app.CameraPreview}:
java.lang.NullPointerException
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2268)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2284)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
android.os.Handler.dispatchMessage(Handler.java:99)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
android.os.Looper.loop(Looper.java:123)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
android.app.ActivityThread.main(ActivityThread.java:3948)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
java.lang.reflect.Method.invokeNative(Native Method)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
java.lang.reflect.Method.invoke(Method.java:521)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:7
82)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
dalvik.system.NativeStart.main(Native Method)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): Caused by:
java.lang.NullPointerException
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
test.app.CameraPreview.onCreate(CameraPreview.java:42)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2231)
12-19 09:29:38.075: ERROR/AndroidRuntime(716): ... 11 more

I want to see the 11 more lines in the error logging.  How do I view
those?
 
Thanks.
 

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

[android-beginners] logcat - getting logs for media player,

2009-11-03 Thread guru
Hi All,

I want to get call trace from application layer( Media Player) to down
the audio decoder.

I am using Emulator to get logs.

Here is the procedure i followed:

1. Build the andorid code with logger enabled.
2. Copied system.img file to add-ons\google_apis-3\images.
3. ran the media player in the emulator.

But I am not seeing any logs in logcat window.

Please let me know where I went wrong?

Regards
Gururaja B O

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


[android-beginners] logcat issue

2008-09-08 Thread sudheer

Hello
I am trying to develop an application which will try to extract the
logs generated by system when it is executed. I try to use the exec
command to start logcat at the start of my program and later want to
collect the log messages generated during the application execution.
when I tried using the command 'logcat -d -f filepath',  an empty file
is created in the specified filepath . Is there any way for me to
redirect the logs generated by application into a file in the android
file system?
how should I go about this?

Thanks in advance,
Sudheer

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---