[android-developers] Re: Provider.Settings.Secure database is lacking some entries

2009-01-27 Thread laubea...@googlemail.com

Hi Dianne,
Will do. Sorry for the noise. Thanks.
Laurent

On Jan 27, 6:54 pm, Dianne Hackborn  wrote:
> (Btw, there have already been numerous discussions on this lists about
> provisioning.)
>
> On Tue, Jan 27, 2009 at 9:54 AM, Dianne Hackborn wrote:
>
>
>
>
>
> > Could you please move this over to open of the open source groups such as
> > android-platform?  This group is for discussions about programming with the
> > SDK.  Thanks!
>
> > On Tue, Jan 27, 2009 at 2:58 AM, laubea...@googlemail.com <
> > laubea...@googlemail.com> wrote:
>
> >> Hi Dianne,
>
> >> I was looking for the entry that reflects the device provisioning.
> >> We are currently running our own RIL and the Phone app is rejecting MT
> >> calls because of the code in(packages/apps/Phone/src/com/Androi/phone/
> >> CallNotifier.java) :
> >> if (!provisioned) {
> >>            Log.i(TAG, "CallNotifier: rejecting incoming call because
> >> device isn't provisioned");
>
> >> Of course we can remove that check to get forward, but it would be
> >> nice to know how to properly set this value.
> >> Thanks,
> >> Laurent
> >> On Jan 27, 1:25 am, Dianne Hackborn  wrote:
> >> > That seems okay.  What do you think is wrong?  Not all of the possible
> >> > entries are initialized, like on 1.0.
>
> >> > On Mon, Jan 26, 2009 at 1:57 PM, laubea...@googlemail.com <
>
> >> > laubea...@googlemail.com> wrote:
>
> >> > > Hello,
> >> > > When running Cupcake release in my SDK I noticed that the secure table
> >> > > in settings db does not contain what is defined in [platform/
> >> > > frameworks/base.git] / core / java / android / provider /
> >> > > Settings.java.
>
> >> > > Here is the ADB output:
>
> >> > > sqlite3 /data/data/com.android.providers.settings/databases/
> >> > > settings.db
> >> > > sqlite3 /data/data/com.android.providers.settings/databases/
> >> > > settings.db
> >> > > SQLite version 3.5.9
> >> > > Enter ".help" for instructions
> >> > > sqlite> .tables
> >> > > .tables
> >> > > android_metadata   bookmarks          secure
> >> > > bluetooth_devices  gservices          system
> >> > > sqlite> .dump secure
> >> > > .dump secure
> >> > > BEGIN TRANSACTION;
> >> > > CREATE TABLE secure (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT
> >> > > UNIQUE ON CONFLICT REPLACE,valu
> >> > > e TEXT);
> >> > > INSERT INTO "secure" VALUES(1,'bluetooth_on','0');
> >> > > INSERT INTO "secure" VALUES(2,'data_roaming','0');
> >> > > INSERT INTO "secure" VALUES(3,'install_non_market_apps','0');
> >> > > INSERT INTO "secure" VALUES(4,'location_providers_allowed','network');
> >> > > INSERT INTO "secure" VALUES(5,'network_preference','1');
> >> > > INSERT INTO "secure" VALUES(6,'usb_mass_storage_enabled','1');
> >> > > INSERT INTO "secure" VALUES(7,'wifi_on','0');
> >> > > INSERT INTO "secure" VALUES
> >> > > (8,'wifi_networks_available_notification_on','1');
> >> > > INSERT INTO "secure" VALUES
>
> >> (9,'enabled_input_methods','com.example.android.softkeyboard/.SoftKeyboar
> >> > > d');
> >> > > INSERT INTO "secure" VALUES
>
> >> (19,'default_input_method','com.example.android.softkeyboard/.SoftKeyboar
> >> > > d');
> >> > > INSERT INTO "secure" VALUES(20,'adb_enabled','1');
> >> > > CREATE INDEX secureIndex1 ON secure (name);
> >> > > COMMIT;
>
> >> > > Would anyone know what could be wrong?
>
> >> > > Thanks,
> >> > > Laurent
>
> >> > --
> >> > Dianne Hackborn
> >> > Android framework engineer
> >> > hack...@android.com
>
> >> > Note: please don't send private questions to me, as I don't have time to
> >> > provide private support.  All such questions should be posted on public
> >> > forums, where I and others can see and answer them.- Hide quoted text -
>
> >> > - Show quoted text -
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
>
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support.  All such questions should be posted on public
> > forums, where I and others can see and answer them.
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Provider.Settings.Secure database is lacking some entries

2009-01-27 Thread Dianne Hackborn
(Btw, there have already been numerous discussions on this lists about
provisioning.)

On Tue, Jan 27, 2009 at 9:54 AM, Dianne Hackborn wrote:

> Could you please move this over to open of the open source groups such as
> android-platform?  This group is for discussions about programming with the
> SDK.  Thanks!
>
>
> On Tue, Jan 27, 2009 at 2:58 AM, laubea...@googlemail.com <
> laubea...@googlemail.com> wrote:
>
>>
>> Hi Dianne,
>>
>> I was looking for the entry that reflects the device provisioning.
>> We are currently running our own RIL and the Phone app is rejecting MT
>> calls because of the code in(packages/apps/Phone/src/com/Androi/phone/
>> CallNotifier.java) :
>> if (!provisioned) {
>>Log.i(TAG, "CallNotifier: rejecting incoming call because
>> device isn't provisioned");
>>
>> Of course we can remove that check to get forward, but it would be
>> nice to know how to properly set this value.
>> Thanks,
>> Laurent
>> On Jan 27, 1:25 am, Dianne Hackborn  wrote:
>> > That seems okay.  What do you think is wrong?  Not all of the possible
>> > entries are initialized, like on 1.0.
>> >
>> > On Mon, Jan 26, 2009 at 1:57 PM, laubea...@googlemail.com <
>> >
>> >
>> >
>> >
>> >
>> > laubea...@googlemail.com> wrote:
>> >
>> > > Hello,
>> > > When running Cupcake release in my SDK I noticed that the secure table
>> > > in settings db does not contain what is defined in [platform/
>> > > frameworks/base.git] / core / java / android / provider /
>> > > Settings.java.
>> >
>> > > Here is the ADB output:
>> >
>> > > sqlite3 /data/data/com.android.providers.settings/databases/
>> > > settings.db
>> > > sqlite3 /data/data/com.android.providers.settings/databases/
>> > > settings.db
>> > > SQLite version 3.5.9
>> > > Enter ".help" for instructions
>> > > sqlite> .tables
>> > > .tables
>> > > android_metadata   bookmarks  secure
>> > > bluetooth_devices  gservices  system
>> > > sqlite> .dump secure
>> > > .dump secure
>> > > BEGIN TRANSACTION;
>> > > CREATE TABLE secure (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT
>> > > UNIQUE ON CONFLICT REPLACE,valu
>> > > e TEXT);
>> > > INSERT INTO "secure" VALUES(1,'bluetooth_on','0');
>> > > INSERT INTO "secure" VALUES(2,'data_roaming','0');
>> > > INSERT INTO "secure" VALUES(3,'install_non_market_apps','0');
>> > > INSERT INTO "secure" VALUES(4,'location_providers_allowed','network');
>> > > INSERT INTO "secure" VALUES(5,'network_preference','1');
>> > > INSERT INTO "secure" VALUES(6,'usb_mass_storage_enabled','1');
>> > > INSERT INTO "secure" VALUES(7,'wifi_on','0');
>> > > INSERT INTO "secure" VALUES
>> > > (8,'wifi_networks_available_notification_on','1');
>> > > INSERT INTO "secure" VALUES
>> > >
>> (9,'enabled_input_methods','com.example.android.softkeyboard/.SoftKeyboar
>> > > d');
>> > > INSERT INTO "secure" VALUES
>> > >
>> (19,'default_input_method','com.example.android.softkeyboard/.SoftKeyboar
>> > > d');
>> > > INSERT INTO "secure" VALUES(20,'adb_enabled','1');
>> > > CREATE INDEX secureIndex1 ON secure (name);
>> > > COMMIT;
>> >
>> > > Would anyone know what could be wrong?
>> >
>> > > Thanks,
>> > > Laurent
>> >
>> > --
>> > Dianne Hackborn
>> > Android framework engineer
>> > hack...@android.com
>> >
>> > Note: please don't send private questions to me, as I don't have time to
>> > provide private support.  All such questions should be posted on public
>> > forums, where I and others can see and answer them.- Hide quoted text -
>> >
>> > - Show quoted text -
>> >>
>>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.
>
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Provider.Settings.Secure database is lacking some entries

2009-01-27 Thread Dianne Hackborn
Could you please move this over to open of the open source groups such as
android-platform?  This group is for discussions about programming with the
SDK.  Thanks!

On Tue, Jan 27, 2009 at 2:58 AM, laubea...@googlemail.com <
laubea...@googlemail.com> wrote:

>
> Hi Dianne,
>
> I was looking for the entry that reflects the device provisioning.
> We are currently running our own RIL and the Phone app is rejecting MT
> calls because of the code in(packages/apps/Phone/src/com/Androi/phone/
> CallNotifier.java) :
> if (!provisioned) {
>Log.i(TAG, "CallNotifier: rejecting incoming call because
> device isn't provisioned");
>
> Of course we can remove that check to get forward, but it would be
> nice to know how to properly set this value.
> Thanks,
> Laurent
> On Jan 27, 1:25 am, Dianne Hackborn  wrote:
> > That seems okay.  What do you think is wrong?  Not all of the possible
> > entries are initialized, like on 1.0.
> >
> > On Mon, Jan 26, 2009 at 1:57 PM, laubea...@googlemail.com <
> >
> >
> >
> >
> >
> > laubea...@googlemail.com> wrote:
> >
> > > Hello,
> > > When running Cupcake release in my SDK I noticed that the secure table
> > > in settings db does not contain what is defined in [platform/
> > > frameworks/base.git] / core / java / android / provider /
> > > Settings.java.
> >
> > > Here is the ADB output:
> >
> > > sqlite3 /data/data/com.android.providers.settings/databases/
> > > settings.db
> > > sqlite3 /data/data/com.android.providers.settings/databases/
> > > settings.db
> > > SQLite version 3.5.9
> > > Enter ".help" for instructions
> > > sqlite> .tables
> > > .tables
> > > android_metadata   bookmarks  secure
> > > bluetooth_devices  gservices  system
> > > sqlite> .dump secure
> > > .dump secure
> > > BEGIN TRANSACTION;
> > > CREATE TABLE secure (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT
> > > UNIQUE ON CONFLICT REPLACE,valu
> > > e TEXT);
> > > INSERT INTO "secure" VALUES(1,'bluetooth_on','0');
> > > INSERT INTO "secure" VALUES(2,'data_roaming','0');
> > > INSERT INTO "secure" VALUES(3,'install_non_market_apps','0');
> > > INSERT INTO "secure" VALUES(4,'location_providers_allowed','network');
> > > INSERT INTO "secure" VALUES(5,'network_preference','1');
> > > INSERT INTO "secure" VALUES(6,'usb_mass_storage_enabled','1');
> > > INSERT INTO "secure" VALUES(7,'wifi_on','0');
> > > INSERT INTO "secure" VALUES
> > > (8,'wifi_networks_available_notification_on','1');
> > > INSERT INTO "secure" VALUES
> > >
> (9,'enabled_input_methods','com.example.android.softkeyboard/.SoftKeyboar
> > > d');
> > > INSERT INTO "secure" VALUES
> > >
> (19,'default_input_method','com.example.android.softkeyboard/.SoftKeyboar
> > > d');
> > > INSERT INTO "secure" VALUES(20,'adb_enabled','1');
> > > CREATE INDEX secureIndex1 ON secure (name);
> > > COMMIT;
> >
> > > Would anyone know what could be wrong?
> >
> > > Thanks,
> > > Laurent
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
> >
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support.  All such questions should be posted on public
> > forums, where I and others can see and answer them.- Hide quoted text -
> >
> > - Show quoted text -
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Provider.Settings.Secure database is lacking some entries

2009-01-27 Thread laubea...@googlemail.com

Hi Dianne,

I was looking for the entry that reflects the device provisioning.
We are currently running our own RIL and the Phone app is rejecting MT
calls because of the code in(packages/apps/Phone/src/com/Androi/phone/
CallNotifier.java) :
if (!provisioned) {
Log.i(TAG, "CallNotifier: rejecting incoming call because
device isn't provisioned");

Of course we can remove that check to get forward, but it would be
nice to know how to properly set this value.
Thanks,
Laurent
On Jan 27, 1:25 am, Dianne Hackborn  wrote:
> That seems okay.  What do you think is wrong?  Not all of the possible
> entries are initialized, like on 1.0.
>
> On Mon, Jan 26, 2009 at 1:57 PM, laubea...@googlemail.com <
>
>
>
>
>
> laubea...@googlemail.com> wrote:
>
> > Hello,
> > When running Cupcake release in my SDK I noticed that the secure table
> > in settings db does not contain what is defined in [platform/
> > frameworks/base.git] / core / java / android / provider /
> > Settings.java.
>
> > Here is the ADB output:
>
> > sqlite3 /data/data/com.android.providers.settings/databases/
> > settings.db
> > sqlite3 /data/data/com.android.providers.settings/databases/
> > settings.db
> > SQLite version 3.5.9
> > Enter ".help" for instructions
> > sqlite> .tables
> > .tables
> > android_metadata   bookmarks          secure
> > bluetooth_devices  gservices          system
> > sqlite> .dump secure
> > .dump secure
> > BEGIN TRANSACTION;
> > CREATE TABLE secure (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT
> > UNIQUE ON CONFLICT REPLACE,valu
> > e TEXT);
> > INSERT INTO "secure" VALUES(1,'bluetooth_on','0');
> > INSERT INTO "secure" VALUES(2,'data_roaming','0');
> > INSERT INTO "secure" VALUES(3,'install_non_market_apps','0');
> > INSERT INTO "secure" VALUES(4,'location_providers_allowed','network');
> > INSERT INTO "secure" VALUES(5,'network_preference','1');
> > INSERT INTO "secure" VALUES(6,'usb_mass_storage_enabled','1');
> > INSERT INTO "secure" VALUES(7,'wifi_on','0');
> > INSERT INTO "secure" VALUES
> > (8,'wifi_networks_available_notification_on','1');
> > INSERT INTO "secure" VALUES
> > (9,'enabled_input_methods','com.example.android.softkeyboard/.SoftKeyboar
> > d');
> > INSERT INTO "secure" VALUES
> > (19,'default_input_method','com.example.android.softkeyboard/.SoftKeyboar
> > d');
> > INSERT INTO "secure" VALUES(20,'adb_enabled','1');
> > CREATE INDEX secureIndex1 ON secure (name);
> > COMMIT;
>
> > Would anyone know what could be wrong?
>
> > Thanks,
> > Laurent
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Provider.Settings.Secure database is lacking some entries

2009-01-26 Thread Dianne Hackborn
That seems okay.  What do you think is wrong?  Not all of the possible
entries are initialized, like on 1.0.

On Mon, Jan 26, 2009 at 1:57 PM, laubea...@googlemail.com <
laubea...@googlemail.com> wrote:

>
> Hello,
> When running Cupcake release in my SDK I noticed that the secure table
> in settings db does not contain what is defined in [platform/
> frameworks/base.git] / core / java / android / provider /
> Settings.java.
>
> Here is the ADB output:
>
> sqlite3 /data/data/com.android.providers.settings/databases/
> settings.db
> sqlite3 /data/data/com.android.providers.settings/databases/
> settings.db
> SQLite version 3.5.9
> Enter ".help" for instructions
> sqlite> .tables
> .tables
> android_metadata   bookmarks  secure
> bluetooth_devices  gservices  system
> sqlite> .dump secure
> .dump secure
> BEGIN TRANSACTION;
> CREATE TABLE secure (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT
> UNIQUE ON CONFLICT REPLACE,valu
> e TEXT);
> INSERT INTO "secure" VALUES(1,'bluetooth_on','0');
> INSERT INTO "secure" VALUES(2,'data_roaming','0');
> INSERT INTO "secure" VALUES(3,'install_non_market_apps','0');
> INSERT INTO "secure" VALUES(4,'location_providers_allowed','network');
> INSERT INTO "secure" VALUES(5,'network_preference','1');
> INSERT INTO "secure" VALUES(6,'usb_mass_storage_enabled','1');
> INSERT INTO "secure" VALUES(7,'wifi_on','0');
> INSERT INTO "secure" VALUES
> (8,'wifi_networks_available_notification_on','1');
> INSERT INTO "secure" VALUES
> (9,'enabled_input_methods','com.example.android.softkeyboard/.SoftKeyboar
> d');
> INSERT INTO "secure" VALUES
> (19,'default_input_method','com.example.android.softkeyboard/.SoftKeyboar
> d');
> INSERT INTO "secure" VALUES(20,'adb_enabled','1');
> CREATE INDEX secureIndex1 ON secure (name);
> COMMIT;
>
> Would anyone know what could be wrong?
>
> Thanks,
> Laurent
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---