Note that there are some explanatory texts on larger screens.

plurals
  1. POIntegrating Leaderboarad Heyzap with sample app
    primarykey
    data
    text
    <p>Hi I am integrating Heyzap Leaderboard with my app for the first time. I have gone through <a href="http://developers.heyzap.com/mobile/docs/android_sdk" rel="nofollow noreferrer">this</a> document on the official website of Heyzap. But I feel they have guided only on the check-in Heyzap.</p> <p>I downloaded sdk for leaderboard Heyzap and made that a library project in my project. But I'm getting errors in the below mentioned three java files inside that sdk. </p> <p>1) <strong>HeyzapLib.java</strong>:</p> <p>Errors- </p> <ul> <li>errror1</li> </ul> <blockquote> <p>i.setFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);</p> <p>The error says "FLAG_INCLUDE_STOPPED_PACKAGES cannot be resolved or is not a field";</p> </blockquote> <ul> <li>error2</li> </ul> <blockquote> <p>new LeaderboardDialog(context, context.getPackageName(), levelId).show();</p> <p>The error says "The constructor LeaderboardDialog(Context, String, String) is undefined"</p> </blockquote> <ul> <li>error3</li> </ul> <blockquote> <p>LeaderboardScoreLauncher.launchScoreDialog(context, score, displayScore, levelId, gameIcon, context.getPackageName(), true, showScoreDialog);</p> <p>The error says "The method launchScoreDialog(Context, String, String, String, Drawable, String, boolean) in the type LeaderboardScoreLauncher is not applicable for the arguments (Context, String, String, String, Drawable, String, boolean, boolean)"</p> </blockquote> <p>2) <strong>HeyzapMarmalade.java</strong>:</p> <p>error: </p> <blockquote> <p>The import com.ideaworks3d cannot be resolved</p> </blockquote> <p>3) <strong>UnityHelper.java</strong>:</p> <p>error: </p> <blockquote> <p>The import com.unity3d cannot be resolved</p> </blockquote> <p>Also, in the document that came along with the SDK, they have guided to make Leaderboards on their dashboard by finding the game by the package name and then adding the leaderboards. I have done as directed but then how to link that with my code?</p> <p>Can anyone suggest anything or advise on how to proceed?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload