I regularly put work into the API demos each release. See for example the evolution of the Service class. There is just a large amount of stuff there, and not a lot of time to work on it. If you have a particular part you would like to see improved, I'd be happy to review contributions.
On Fri, Dec 31, 2010 at 7:03 AM, Bob Kerns <[email protected]> wrote: > Can I suggest adding links (perhaps not real hyperlinks, but > conceptual links at least) from the API documentation to the relevant > API examples? > > I think you'd get a lot more value from the work you put into the API > demos this way. > > Also, I'd concur with the recent comment, but not the tone, that a lot > of the API demo classes are quite poorly named. Even if you know that > there IS an API demo for what you want to find, it can quite difficult > to locate it. > > Think of it as, the API demos could use a bit more product marketing > to get them to their intended audience. :=) > > On Dec 30, 10:11 pm, Dianne Hackborn <[email protected]> wrote: > > API demo here: > http://developer.android.com/resources/samples/ApiDemos/src/com/examp... > > > > On Thu, Dec 30, 2010 at 10:09 PM, Stephan Wiesner < > > > [email protected]> wrote: > > > Hi, > > > I want to read a txt file that is deployed with my application. > > > The file is in the assets directory and I try to read it with: > > > > > String url = "file:///android_asset/text.txt"; > > > InputStream instream = openFileInput(url); > > > > > This results however in: > > > 12-31 07:05:46.638: DEBUG/GMAP(14396): Read > > > error:java.lang.IllegalArgumentException: File > > > file:///android_asset/text.txt contains a path separator > > > > > So, where should I put the file or how should I read it? > > > > > Thanks, > > > Stephan > > > > > -- > > > 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]<android-developers%[email protected]><android-developers%2Bunsubs > [email protected]> > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > > -- > > Dianne Hackborn > > Android framework engineer > > [email protected] > > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see > and > > answer them. > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

