Here are a few things I did that I didn't think was very clear on Diego's blog:
- Create an ApiDemos Project first (New Android project -> Project from source -> use the source from [android SDK directory]/samples/ApiDemo).
- Don't bother to delete the Dummy class or remove the source directory you created (when you follow his instructions to create the ApiDemosTest project).
- The emulator has the ApiDemos installed by default. You should uninstall the default installation (adb uninstall com.example.android.apis) and run your ApiDemos project in Eclipse. If you don't, you'll get errors when you run ApiDemosTest because the default ApiDemos installation is in a separate security domain (I think).

0 comments:
Post a Comment