Hi, David

I want to acess the files which can be listed by adb shell, the below is one
example:

1) cmd:> adb shell
2) ls
3) cd proc
4) and there is one file named "cpuinfo" which I would like to access from
application sied

Is it possible ?

Thanks,
Liang

2008/5/3, David Given <[EMAIL PROTECTED]>:
>
> Liang Yang wrote:
> [...]
> > Is it possible to access the file in emulator, such as files in the
> below
> > directories :
>
> If you mean from the host computer, try 'adb pull'.
>
> If you mean from an Android application, the standard Java file I/O
> functions work as you would expect (although Unix file permissions may
> prevent your application from accessing files it's not allowed to).
>
> --
> ┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
> │ "I have always wished for my computer to be as easy to use as my
> │ telephone; my wish has come true because I can no longer figure out
> │ how to use my telephone." --- Bjarne Stroustrup
>
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to