What is a good android phone to test/develop with? Is the nexus still the best choice?
What is a good android phone to test/develop with? Is the nexus still the best choice?
Android emulator is slow to start, but it's cross-platform, and allows for hot-updating.
It is at its most useful when I want to pull a file from internal storage, which often isn't possible on a device, or when I don't have a device handy, in which case it is a passable solution. It's never, ever my first choice, though.
Another module is the App itself. The last module is the TestApp. This is the recommended Test Setup: http://developer.android.com/guide/developing/testing/testin...
The testapp and the app are copied to the emulator or a real device. Then the instrumentation is started. The maven build fails if any error or failure occurs while building, installing or testing.
The continuous integration is done by hudson. The emulator can be started "headless" (-no-window) so it doesn't need to connect to the running XWindow-Server. Currently I am starting the emulator from maven with a special profile that is only used in hudson. When testing locally I usually have my phone already connected. It seems to be possible to have hudson start the emulator. With that setup logcat-output would be captured by hudson. Thats were I want to go.
Also missing in my setup is an multi environment build with all screen resolutions, locales and OS-Versions.