Android Question "java.lang.ClassCastException......"

Asmoro

Active Member
Licensed User
Longtime User
Hi all,

I have an error on my log saying: "java.lang.ClassCastException: java.lang.Integer cannot be cast to android.content.Intent"

And has something to do with my Activity_Pause sub

Anyone knows the answer?

grtz
asmoro
 

warwound

Expert
Licensed User
Longtime User
I'd guess that in the IDE the auto-complete has auto-completed Int instead of Intent or vice versa?

Martin.
 
Upvote 0

Asmoro

Active Member
Licensed User
Longtime User
Thanks Warwound and NJdude, I did run once again with the 2.71 version and suddenly no error on my log.

It seems that the 2.71 B4a version has some bug?

Will let you know if I get the error again..hopefully not!
 
Upvote 0
Top