what do you mean with "Main"-Thread, the UI Thread ?
TouchEvents already come from the UI-Thread
Best Regards,
Nicolas
Paul wrote:Regarding the "Main Thread" questions, I think you could do a post in the tutorial section on the wonders and magic of creating TimerHandlers or just UpdateHandlers in general, since people can put their update logic or anything similar in there..
public Engine onLoadEngine() {
this.mCamera = new Camera(0, 0, CAMERA_WIDTH, CAMERA_HEIGHT);
return new Engine(new EngineOptions(true, ScreenOrientation.LANDSCAPE, new RatioResolutionPolicy(CAMERA_WIDTH, CAMERA_HEIGHT), this.mCamera));
}
Mimminito wrote:This error means you have imported the wrong Camera class.
Do fix it, find the Camera Import statement at the top of your class, and delete that line.
Then press Ctrl+Shift+O and it will being a dialog box up, allowing you to choose which import you want. Make sure you select the AndEngine Camera Import.
Users browsing this forum: cucux, Google Feedfetcher, jacob1208 and 28 guests