Open Feint crashing game

I now have Open Feint running on the andriod build of the game I have been developing.. testing on iOS all seems fine but on Android device the crashes and goes to a black screen before quiting... It seems to be once Open Feint has logged in and the user info shud be displayed. I am able to log into the open feint dash board and view leaderboard etc
but then sometimes this also crashes...

Any suggestions as to what may be going on or is it just not that stable on Android yet?

the Phone in question is a Desire HD

I dont have any problems with openfeint in android. Could you post some code?

Yes, I don't have any problems with crashing either. Maybe you have some sort of memory leak. Also if to many objects are on the screen at once it can cause the phone to crash if it's an older model.

Regards,
Jordan Schuetz
Ninja Pig Studios

How do you check the memory leakage? Possibly also it maybe because I am using the OpenFeint include method and not the new GameNetwork as the output says that is not to be used now... do you think that may cause the issue?

I don't think it is the objects on screen as it can happen on the mainmenu when there is not much going on

I am connecting like this..

MAIN.LUA

1
2
openfeint = require ("openfeint")
openfeint.init( "xxxxxxx", "xxxxxxxxx", "GAME NAME", "123456" )

You should use new gameNetwork. I have used it and i dont have any problems.

ok so im updating with gameNetwork...

how do i set the highscore though and achievements
So what is replacing openfeint.unlockAchievement() and openfeint.setHighScore()

1
2
3
4
5
6
openfeint.setHighScore( { leaderboardID="xxxx", score=_G.highscore} )
 
-- The following gives me errors?....
gameNetwork.setHighScore( { leaderboardID="xxxx", score=_G.highscore} )
 
openfeint.unlockAchievement ( "xxxx" ) 

To unlock an achievement do this code:

gameNetwork.request( "unlockAchievement", "achievmentid" )

Regards,
Jordan Schuetz
Ninja Pig Studios

Thanks all the API page has all info on.. didn't know that was on there

views:1554 update:2011/10/8 8:54:25
corona forums © 2003-2011