[android-developers] Enable Device Policy Manager silently

2010-11-09 Thread klavin
Hi I was wondering if there was a way to enable the Device Policy Manager without getting the users consent? The examples I've seen say to start an activity with intent DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN which results in a window being popped up on the handset. Is it possible to enable

[android-developers] Bluetooth name and address in 1.5

2010-11-08 Thread klavin
I was wondering if its possible to get the bluetooth name and / or address in 1.5? The BluetoothAdapter class isnt availabel in that release. Is there another way to get this info on 1.5? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] How to start a background service on install

2010-10-22 Thread klavin
I have an app which runs as a background service only. I'l like it to start up when its installed. As its just a background service it doesnt show up on the pane of installed apps. So there is no way for the user to manually start it. I've already regietered for the BOOT_COMPLETED intent which

[android-developers] How to start an app after a Force Stop

2010-10-22 Thread klavin
If I Force Stop an app (via Settings-Applications-Manage Applications-Any App-Force Stop) will the app ever start up automatically again or is the only way to start it up again to have the user start it. I have an app that starts a service. The service registers an alarm I've defined, with the

[android-developers] Query default email app for registered accounts

2010-10-14 Thread klavin
Can you query the Email app for a list of the email accounts that are registered with it? When you add an account to the combined inbox, say a yahoo account, it does not show up in the Account Manager. I'd like to get a list of these accounts that the Email app is managing and then remove the

[android-developers] Get count of email messages in Email app

2010-10-06 Thread klavin
I'd like to get access to the data stored in the default Email app. I'd like to find out what accounts are associated with the App, and for each account, what folders are associated with the account, and for each folder how many emails are in that folder. I need this information on 2.1 and 1.5. I

[android-developers] Get count of email messages in Email app

2010-10-06 Thread klavin
I'd like to get access to the data stored in the default Email app. I'd like to find out what accounts are associated with the App, and for each account, what folders are associated with the account, and for each folder how many emails are in that folder. I need this information on 2.1 and 1.5. I