[android-developers] should DeviceAdmin.setMaximumTimeToLock require android.permission.WRITE_SETTINGS ?

2011-08-09 Thread RickGillaspy
I've got an application that works on lots of devices, but lately a customer with a CASIO C771 running 2.2.1 is failing when my device administrator attempts to set the maximum lock timeout. java.lang.reflect.InvocationTargetException at android.app.admin.DevicePolicyManager.setMaximumTime

[android-developers] aapt.exe takes minutes to complete in eclipse build.

2011-05-12 Thread RickGillaspy
Since I've updated to api level 11, it seems that building is super slow. Sometimes when eclipse is building the project it hangs at 'android library update' for minutes at a time, and process explorer shows appt.exe pegging my CPU. I've tried all the workarounds I could find by googling. -- sett

[android-developers] Re: LOCK_PATTERN_ENABLED on API 8 (Froyo)

2010-09-03 Thread RickGillaspy
I don't understand why LOCK_PATTERN_ENABLED was added in then. If we don't want applications knowing or depending on if there is a screen lock enabled, why let applications know all that information about a lock pattern? and if applications can know about a lock pattern, why not the existence of

[android-developers] Re: Error creating dex file while building using ANT

2009-12-17 Thread RickGillaspy
I'm seeing this exact problem. I've tried several different java versions, and downloaded the latest ant build. I even wrote a sample java program an verified that MessageDigest.getInstance("SHA-1"); does not throw this exception for me.. does anyone have an idea what could be causing it? On Oc

[android-developers] Remote display for demo

2009-12-07 Thread RickGillaspy
Is there an easy way to view/control an android device from the connected computer? I've searched a bit and see that some people have put a vnc server on the device, but it appears to require rooting the phone, which I'd rather not do. In the SDK, using DDMS, I see I can take a screen shot quite

[android-developers] Android 2.0? how can we know what's in it?

2009-10-19 Thread RickGillaspy
It seems like Android 2.0 is good enough for Verizon to ship http://www.boygeniusreport.com/2009/10/19/motorola-droid-hands-on/ All the rumors point to the end of this month.. But as a developer how can one know what to depend on Android 2.0 devices? Is the calendar app there? Does email alway

[android-developers] Re: Memory leak or feature

2009-10-15 Thread RickGillaspy
Is there a way to know the process has GCed? or to force a GC for this process? On Oct 15, 12:56 pm, Dianne Hackborn wrote: > If you press back and let the system finish the activity, all references to > it will be gone, so though your process is there after it GCs the resources > (views etc) a