• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

logcat?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)

 
Saloon Keeper
Posts: 7597
177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Saloon Keeper
Posts: 7597
177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Saloon Keeper
Posts: 7597
177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Saloon Keeper
Posts: 7597
177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
reply
    Bookmark Topic Watch Topic
  • New Topic