There's never enough time for Q&A at the end of an I/O session - particularly when the session is immediately followed by lunch. In an effort to remedy this, here are the answers to most of the questions that were entered onto the Moderator page for my Android Protips talk.
Generally speaking, the best approach is likely to be a Broadcast Intent. You can package the data that will be used to update the View in the "other" app by including them as extras. The "other" app simply registers a Broadcast Receiver that listens for the Intent, extracts the data, and updates its view accordingly.
- Eclipse is a wonderful development tool. However sometimes it is clunky. Generic error messages, mysteriously build problems solved by quitting & relaunching, etc. Do you ever get frustrated with Eclipse? Do you have any tips of working with Eclipse?
- Do you have any tips for working with SQLite databases through eclipse? At the minute I rely on external tools to view data that is in the database on the phone to debug problem. This means manually copying it off the device. Any tips?
- Do the developers at Google use any hardware emulators to speed up development. If so, can you please recommend some. The soft emulator is too slow.
- Will there be a faster Android device emulator anytime soon?
- Is there a suite of AVDs for Eclipse that emulate actual devices?
- Will there soon be a legitimate way to replace the Android lockscreen (with a lockscreen application)?
- You mentioned better not to loose your signing key. But how to update your app, when your certificate expired?
- What's the recommended way to implement a horizontally scrolling, virtualized list?
- Are Shared Preferences the bast way to store small piece of data?
- A view from one app needs to be updated by another app. Can't use the widget paradigm, is there any other way?
Generally speaking, the best approach is likely to be a Broadcast Intent. You can package the data that will be used to update the View in the "other" app by including them as extras. The "other" app simply registers a Broadcast Receiver that listens for the Intent, extracts the data, and updates its view accordingly.
- How would you test/optimize the apps that are not meant for the Android Market?
- How can we know if a certain service is already running?
- Is there any option to backup the default SharedPreferences via BackupManager? Do I have to use the packagename?
- Is there a way for accessories to "push" an embedded app or service package to the device so that specialized services for certain types of accessories will be able to automatically add functionality to the device when connected?
- Just to make sure, now we can send requests to the devices in order to update the info, instead of having the refresh intervals?
- When will we have a UI Builder that is par to what we get for iPhone?!
- Can you describe your video and control hookup for your android tablet?