You can't access files that don't belong to your application unless the 
file's creator makes them world-readable. This is a security feature. The 
same is true for databases.

I think there are content providers for MMS and SMS. Look in the Android 
Open Source repository. They're not documented, though, which means they're 
subject to change without notice. You'd have to figure out how to use them 
from the code, and then hope that you can get the proper permissions to 
access them.

You must never try to work directly with files unless the owner makes them 
world-readable *and* gives you permission to do so. To do otherwise is a 
security violation, and I suspect it's also a violation of your terms of 
service with Google. Worst of all, you would be showing that you are a Bad 
Person. In Android, stuff is made inaccessible for a reason. No matter how 
much you'd like to look at it, you're better off doing something else.

I'd like to know *why* you need to do this. It's always better to ask "How 
do I manage SMS messages, even if they're not mine" rather than asking "How 
to I get around a fundamental feature of the platform that isn't meant to 
be gotten around?"

Of course, you may be doing this for your own device, with no intention of 
distributing the app. Even so, if you're using APIs that are not in the 
public reference, you have no guarantee of long-term stability.


-- 
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

Reply via email to