Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

logcat?

 
Jack Si
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SO im very new to android (hello world new) and i really just want to make a single app that only displays logcat .... could some one give me a place to start? The dev page isnt very helpful

I have been playing around with this code =/ (not mine but im trying to figure out how it works and trying to get it to display)

 
Tim Moores
Bartender
Posts: 3134
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you verified -maybe using a Terminal app- that "logcat" is a functional command on your Android device? It's not on mine.
 
Jack Si
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:Have you verified -maybe using a Terminal app- that "logcat" is a functional command on your Android device? It's not on mine.


logcat not a command its a log....

[adb] logcat [<option>] ... [<filter-spec>] .
 
Tim Moores
Bartender
Posts: 3134
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm familiar with logcat. You're using it as a command on the device, though, which is unlikely to work.
 
Jack Si
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jack Si wrote:
Tim Moores wrote:Have you verified -maybe using a Terminal app- that "logcat" is a functional command on your Android device? It's not on mine.


logcat not a command its a log....

[adb] logcat [<option>] ... [<filter-spec>] .



perhaps but im using an emulator at the moment
 
Tim Moores
Bartender
Posts: 3134
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"adb" is not part of the emulator, but it can access either an emulator or an actual device.
 
Jack Si
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:"adb" is not part of the emulator, but it can access either an emulator or an actual device.


Yes, you have to set it up, but im not using adb =/

I have another program that uses logcat and it works perfectly fine
 
Tim Moores
Bartender
Posts: 3134
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That leads us back to the question: is "logcat" a valid, working command on your device? Have you tried it in a terminal emulator?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic