[android-developers] make AccountManager.getAuthToken() prompt for credentials again

2010-07-28 Thread Ken Hughes
I hope this is a simple problem I'm overlooking. I'm working on an app which uses the account manager to get an auth token. The first call to manager.getAuthToken() prompts the user for permission to allow the application to access their login/password. I'd like to remove this permission. It

[android-developers] Re: How to catch a Done key press from the soft keyboard

2010-06-13 Thread Ken Hughes
Look here for an example. I'm guessing by the Done key you mean KEYCODE_DPAD_CENTER. http://developer.android.com/reference/android/app/Activity.html Ken On Jun 13, 3:32 am, oriharel ori.ha...@gmail.com wrote: Hi, how do I catch specific key events from the soft keyboard? specifically I'm

[android-developers] Re: Unwanted state changes of CheckBoxes in ListView

2010-06-10 Thread Ken Hughes
I'm trying to do something similar, but I can't get my custom view class to see the click events (I set breakpoints in the constructor and I get to those) but I never hit breakpoints in the toggle() or setChecked() methods. Ken On Jun 1, 6:48 pm, zealot zhentao.hu...@gmail.com wrote: Hi, I've

[android-developers] problem with AlertDialog and setSingleChoiceItems()

2010-06-07 Thread Ken Hughes
I've got an alert dialog with a single choice item selection which is giving me issues. The dialog has a list of items, positive and negative buttons, and is cancellable. Pressing the negative button calls dialog.cancel(). When setSingleChoiceItem() is called, I pass the value of the checked