Thursday, February 14, 2008

Android API: Can't touch this!

From Ed Burnette's blog entry on the Android SDK M5 update:

But my favorite addition to M5 has to be a function called “getDataFilePath()”. The documentation says:

DO NOT USE THIS FUNCTION!! Someone added this, and they shouldn’t have. You do not have direct access to files inside of a content provider. Don’t touch this. Go away.

1 comment:

hannibal said...

Mehehe :D Hilarious :) We had much comments like this i a huge c# and perl based project :) Very nice.