Hello,
I am trying to find the exact location of networking event related
information on an Android based device.
I accessed the emulator (./adb shell), and changed to the dev
directory (cd /dev).
I thought this would be the right place to start. However, it does not
appear to be the case, or I am using the wrong path in my application
where I use the code listed below to access files in /dev.
I would appreciate it if someone could help me identify the files
containing networking related information, and their full path.
Thanks.
Alex Donnini
FileReader fstream = null;
try
{
fstream = new FileReader("/dev/log/main");
}
catch (FileNotFoundException e)
{
e.printStackTrace();
}
try
{
BufferedReader in = new BufferedReader(fstream, 500);
String line = null;
while ((line = in.readLine()) != null)
{
netTrafficDev.add(line);
}
}
catch (Exception e)
{
e.printStackTrace();
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---