[android-developers] Re: How to Speed up Animation

2009-07-23 Thread craig3353
I wrote an app that does something similar: full screen redraws while the user scrolls. It took some effort, but it's pretty fast now. Have you profiled your code? Profile on a device rather than in the emulator as the graphics performance differs significantly. Also profile your memory usage

[android-developers] Re: Programming for performance.

2009-07-23 Thread craig3353
Consider doing this the same way hard disks are encrypted because it's the same problem: when a user changes their disk encryption password, the entire disk is not re-encrypted. The trick is that the disk encryption software creates its own master key for encrypting the disk, and it never

[android-developers] Re: Current Preference Screen? (easyy)

2009-03-30 Thread craig3353
Actually, Noam, I think you need to clarify where your problem is. Here are some method names to become familiar with: Activity.onCreate(Bundle) Activity.onSaveInstanceState(Bundle) The first time through onCreate, the Bundle parameter will be null. Before pausing, your onSaveInstanceState