Reputation: 9914
I am working on a small project in Android and an testing the progress using Android plug-ins for NetBeans 7.0. The problem is that I am using ShapeRenderer to draw filled circle. When I am running in android emulator, I am not able to see the filed circle. But when I run the same application as desktop, I can see the filled circle.
private void drawFilledCircle(){
shapeRenderer.setProjectionMatrix(camera.combined);
shapeRenderer.begin(ShapeType.FilledCircle);
shapeRenderer.setColor(new Color(0, 1, 0, 1));
shapeRenderer.filledCircle(470, 45, 10);
shapeRenderer.end();
}
Anybody has faced this before or let me know if I miss anything? The framework I use is LibGDX and Android version is 2.3.3
Thanks to all
Upvotes: 0
Views: 181
Reputation: 9914
I am able to see the output in now in android emulator as well. It looks it was not compiling the application properly. Thanks
Upvotes: 1