Hi!

I'm new to this group, and write because I felt that this problem was
a little hard to search for.

My problem is that everything works fine on the device (x10 mini) when
i run through eclipse. However, when I make a signed apk, put it on
the sd-card and manually install the program, it crashes after a short
time. The LogCat says that a variable conceived by a modulo operation
gets a negative value, and is used to get an Image from a arraylist.
This is the line for the variable:
"int currentFrame = (int) (2*((dt/frameTime)%(image.size()/2)));"

I would say that modulo can't generate a negative value, but i'm not
sure.

Anyway, this bug won't appear ever when i'm debugging, so what happens
when I make the apk? What's the difference between the debug app and
the signed apk?

Thank's on forehand!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to