Frage

I am trying to run the example code from the BigFlake Android samples, in specific this one example: CameraToMpegTest. I am new to Android development and I am not sure how I should treat this test suite. I try to create an Android Test Project in Eclipse but it doesn't run. Examples on the Internet seems to create an Android Test Project from a specific application project. Anybody tried to run these code and can give me some hint?

War es hilfreich?

Lösung

The bigflake samples were written as CTS tests, to be executed in the test harness (though some of them never actually turned into tests). If you're not set up with a full source tree it can be difficult to get them to work unmodified.

For a complete app example, see Grafika. The examples are a bit more involved, but you can get the code running more easily. In particular, "Continuous capture" and "Show + capture camera" will be of interest.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top