Ok, so is there any way to update system settings via the SettingsProvider from the command line, for instance using something like "adb am broacast <intent> <...>"?
Best, Kevin On Nov 11, 5:29 am, Dianne Hackborn <[email protected]> wrote: > Not really, changes are supposed to go through the SettingsProvider (it owns > the database) which takes care of sending out the notification as part of > its change to the database. > > > > On Wed, Nov 10, 2010 at 8:09 PM, G2 <[email protected]> wrote: > > Hello, > > > Is there a way (preferably an adb command line) to tell the system to > > update its settings (like auto-rotation for instance) after a > > modification of the Settings database through a sqlite3 adb command > > line such as: > > sqlite3 /data/data/com.android.providers.settings/databases/ > > settings.db > > update system set value='1' where name='accelerometer_rotation'; > > > Thanks in advance for any hint, > > > Grégoire > > > -- > > unsubscribe: > > [email protected]<android-porting%[email protected]> > > website:http://groups.google.com/group/android-porting > > -- > 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. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
