I made a simple game(a maze game) with processing API and java ,and it works fine,I wanted to make it runs in Android and I finally did that!,but something is not working right!,the game is running very very slowly in android (I wait about 15 min to finally see the maze generated,and about 10 seconds when I run it with JRE),and that is something that I didn't understand,may be because of FrameRate or something!.
PS: I generate the maze in the draw() method ,does it affect the speed of running the game?