Re: [android-developers] Setting screen on/off

2012-01-26 Thread Rick Alther
I'm running into the exact same problem. Is the the answer still the same at this time - no support for it in the SDK? What about an NDK solution? Thanks, - Rick Alther -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: SDK Tools r12 causing aapt to fail

2011-07-22 Thread Rick Alther
I'm experiencing the same problem, but I'm hitting it with these inherited styles: - WindowTitleBackground - DialogWindowTitle - Widget.TextView.ListSeparator.White Reverting to Platform Tools R5 worked for me as well (Thanks teo2k!) - Rick -- You received this message because you

[android-developers] Re: ADT debugger always stops at ALL exceptions

2011-05-19 Thread Rick Alther
In my experience there is no difference debugging an Android application than any other Java application. When I uncheck that preference, I no longer stop at any exception that is caught. If it's still breaking on any caught exceptions after that preference has been unchecked, then I am at a

[android-developers] Re: ADT debugger always stops at ALL exceptions

2011-05-18 Thread Rick Alther
This is basic Java debugging in Eclipse. In Java or Debug perspective: - Run-Add Java Exception Breakpoint. - Uncheck Suspend on caught exceptions - Click OK You can also filter which exceptions you wish to break on here as well if you choose. -- You received this message because

[android-developers] Re: menu item disabled, but clickable

2011-05-11 Thread Rick Alther
Zanorotti, what kind of menu is this? I use setEnabled() on my Options Menu and it works as you describe - i.e. it's grayed out and does not react to the user tapping it. Do you have a code sample (and the related XML menu resource) so we can see if there is a problem? - Rick Alther -- You

[android-developers] Style inheritance bug in API9 and higher?

2011-05-06 Thread Rick Alther
that I'm unaware of? Thanks, - Rick Alther -- 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

[android-developers] Re: Style inheritance bug in API9 and higher?

2011-05-06 Thread Rick Alther
On Saturday, May 7, 2011 12:09:01 AM UTC-4, Rick Alther wrote: It mentions a layout_width attribute is missing, so for kicks I declare one. When I run it again, I get a FC complaining that it's missing a layout_width attribute. This should be corrected to: ...it's missing

[android-developers] Getting notified when a device administrator is enabled/disabled

2011-04-29 Thread Rick Alther
I would like to be notified when a device administrator is enabled/disabled on the device. I've tried listening for ACTION_DEVICE_ADMIN_DISABLED and ACTION_DEVICE_ADMIN_ENABLED, but I'm never receiving a broadcast. The docs state they are sent the device administrator itself, so perhaps they

Re: [android-developers] Getting notified when a device administrator is enabled/disabled

2011-04-29 Thread Rick Alther
more of a notification/awareness thing. I can set an alarm and query the list of active device admins periodically, but polling seems such a waste when a simple broadcast would suffice. Thanks, - Rick Alther -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Device Not Recognized

2011-03-22 Thread Rick Alther
You need to install the Google USB Driver package, revision 4. Instructions are right here: http://developer.android.com/sdk/win-usb.html - Rick -- 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] Re: BroadcastReceiver not working

2011-03-09 Thread Rick Alther
You need to have the PROCESS_OUTGOING_CALLS permission, not READ_PHONE_STATE. - Rick -- 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,