On Mon, Jul 26, 2010 at 3:05 AM, Andrea Rota <[email protected]> wrote: > I have been looking for a method to change the default SMS > application's preference programmatically.
First, there is no single "defalut SMS application". Each device may have different ones. Second, the AOSP Messaging application (com.android.sms) is not part of the Android SDK, and so there are no documented APIs for manipulating it. > I found that those preferences are stored as "shared preferences", > probably in data/data/com.android.sms/something.xml, but I am not able > to get to that directory since I haven't rooted my phone. > > Do you have any clue? You cannot modify settings in another application, any more than other applications can hack into yours. Sorry! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 2.9 Available! -- 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

