On Sep 3, 3:34 pm, Dhrumil Shah dhrumilsh...@gmail.com wrote:
Hey Avigadl,
If I change the values of the each direction like DIRECTION_TOP = 0,
DIRECTION_DOWN = 1, DIRECTION_RIGHT = 2, DIRECTION_LEFT = 3; it is working?
I changed that but unfortunetly its not working.
Any other Solution?
Hello ko5tik,
Ok, then here is my code which is animates my ball.
package padd.testing;
import android.app.Activity;
import android.os.Bundle;
import android.view.*;
//import android.view.View.OnClickListener;
import android.graphics.*;
import android.content.*;
//import android.widget.Button;
Several suggestions:
1. Note that all the directions has value 0, this might be a poblem
wen you want to distinguish between directions. You have to set a
unique value to eac direction.
2. We suggest to use switch case statement instead of if else if.
Hope this helps.
On Sep 3, 12:35 pm,
Hey Avigadl,
If I change the values of the each direction like DIRECTION_TOP = 0,
DIRECTION_DOWN = 1, DIRECTION_RIGHT = 2, DIRECTION_LEFT = 3; it is working?
I changed that but unfortunetly its not working.
Any other Solution?
On Fri, Sep 3, 2010 at 5:26 PM, avigadl avig...@gmail.com wrote:
4 matches
Mail list logo