But I have detected two "issues" or things to be resolved regarding the HeyZap behaviour (not the Gideros plugin). I have reported to HeyZap support but still waiting.
1) I've created a URL schema (and I've assigned it in the XCode project) as HeyZap indicates in order to redirect the user to the app after check in. But when the user check in the HeyZap account for the first time in the app (i.e. creating the new user account), the HeyZap web is showed and there aren't any redirect to the app.
2) After the user performs the check in, HeyZap SDK is using forever the same user that did the check in for the first time in the device. If the app is uninstalled from the device and it's installed again, the same user is used by HeyZap. I have not could to force that HeyZap asks for a new check in again.
@thanhquan1512 , @ar2rsawseen : Have you noticed this behavior in your app using/testing the HeyZap SDK?
@SimplesApps 1) as I see there are changes in heyzap, that now custom url scheme should also be specified in the SDK call and set up in xcode, and they need to match.
Now I need to figure out how to implement that most probably only use url scheme, which is the same as bundleID or something like that, will think about it more
2) the user must log out from Heyzap app/website to be switched
1) Ok, please let me know when you change the SDK call.
2) When the app call the heyzap:init method for the first time in the device the user has to check in. But for the next times, although the user hasn't logged in, the heyzap:init call in the app is taking into account the same user. If you go to the HeyZap website the user is not logged in, it's is not possible to log out.
there are 2 cases when using Heyzap plugin (the same as facebook) 1) Heyzap official app is installed, thus everything is redirected to Heyzap app 2) Heyzap official app is NOT installed, thus everything is done through browser (heyzap website)
Thanks I will try it out, they seem to update there SDK a lot I hope that's a good thing. I would have used an older SDK but I don't have access to them. cheers ~O)
Im trying to add Hayzap plugin to a project. I had a few problems which I got over, but I stuck on [3]
To just cover what I've done I listed the 3 issues, Im using Hayzap-sdk version 6.3.7.
[1] I had to add these functions to GHeyzap class to fix build errors
@Override public void onAudioStarted() { // TODO Auto-generated method stub
}
@Override public void onAudioFinished() { // TODO Auto-generated method stub
}
[2] I when exporting the project I was getting a "Conversion to Dalvik format failed with error 1". So I removed the hayzap library reference, ran fix project properties in android tools, then added hayzap library reference back again. That fixed that problem, it built and I installed on the device.
[3] The problem I have now is liblua.so not found, here is my trace
FATAL EXCEPTION: main java.lang.UnsatisfiedLinkError: dlopen failed: could not load library "liblua.so" needed by "libheyzap.so"; caused by library "liblua.so" not found at java.lang.Runtime.loadLibrary(Runtime.java:362) at java.lang.System.loadLibrary(System.java:525) at com.giderosmobile.android.GameActivity.(GameActivity.java:31) at java.lang.Class.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1130) at android.app.Instrumentation.newActivity(Instrumentation.java:1078) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2210) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2349) at android.app.ActivityThread.access$700(ActivityThread.java:159) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:176) at android.app.ActivityThread.main(ActivityThread.java:5419) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862) at dalvik.system.NativeStart.main(Native Method)
Just turn off the autocompile in eclipse - and then clean just your project - it should get rid of the error - think it's a bug with eclipse.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@Bill5567 libheyzap.so was compiled for the latest Gideros version 2014.01 which had liblua, libgideros, etc separated as different libs. It seems you were trying to use it with older Gideros export format
android-sdk.jar I actually never heard of it. Its usually like facebook-android-sdk.jar or dropboxandroid-sdk.jar, etc which IDE are you using? Eclipse or Android Studio?
Update : I have a game call bumpy bird installed on my phone from the store. it was also developed using gideros by another member. Its also crashing with the same problem.
02-24 12:14:17.069: E/AndroidRuntime(14443): java.lang.RuntimeException: Unable to instantiate receiver com.heyzap.sdk.PackageAddedReceiver: java.lang.ClassNotFoundException: Didn't find class "com.heyzap.sdk.PackageAddedReceiver" on path: /data/app/com.pinchgames.bumpybird-1.apk
@Bill5567 I just found out this problem too. It happens whenever an app is installed or updated. No wonder my heyzap shows no install at all. Gonna release an update now.
Comments
Anyone knows if HeyZap services are ok now ?
I'm trying to add a new game for testing in HeyZap but the page is not found…
https://developers.heyzap.com/dashboard/add_game
Please @ar2rsawseen could you try it? Go to "Create a New Game" from the "Create a Leaderboards" option in the Dashboard of HeyZap.com
Is there any way to TEST the HeyZap leaderboards functions for a Gideros game I'm developing before put it on the stores?
If not, is there another leaderboard & score management service well tested and working with Gideros?
https://play.google.com/store/apps/developer?id=SimplesApps
http://www.amazon.com/gp/mas/dl/android?p=com.simplesapps.actionbasket
https://itunes.apple.com/artist/david-rodriguez/id763996989
https://developers.heyzap.com/dashboard/games/search
It seems they have some incorrect links in the web, but they have a speedy support !
>-
https://play.google.com/store/apps/developer?id=SimplesApps
http://www.amazon.com/gp/mas/dl/android?p=com.simplesapps.actionbasket
https://itunes.apple.com/artist/david-rodriguez/id763996989
Ultimate Games on Appstore
Ultimate Games on Google Play
But I have detected two "issues" or things to be resolved regarding the HeyZap behaviour (not the Gideros plugin). I have reported to HeyZap support but still waiting.
1) I've created a URL schema (and I've assigned it in the XCode project) as HeyZap indicates in order to redirect the user to the app after check in. But when the user check in the HeyZap account for the first time in the app (i.e. creating the new user account), the HeyZap web is showed and there aren't any redirect to the app.
2) After the user performs the check in, HeyZap SDK is using forever the same user that did the check in for the first time in the device. If the app is uninstalled from the device and it's installed again, the same user is used by HeyZap. I have not could to force that HeyZap asks for a new check in again.
@thanhquan1512 , @ar2rsawseen : Have you noticed this behavior in your app using/testing the HeyZap SDK?
https://play.google.com/store/apps/developer?id=SimplesApps
http://www.amazon.com/gp/mas/dl/android?p=com.simplesapps.actionbasket
https://itunes.apple.com/artist/david-rodriguez/id763996989
Thanks!
https://play.google.com/store/apps/developer?id=SimplesApps
http://www.amazon.com/gp/mas/dl/android?p=com.simplesapps.actionbasket
https://itunes.apple.com/artist/david-rodriguez/id763996989
1) as I see there are changes in heyzap, that now custom url scheme should also be specified in the SDK call and set up in xcode, and they need to match.
Now I need to figure out how to implement that
most probably only use url scheme, which is the same as bundleID or something like that, will think about it more
2) the user must log out from Heyzap app/website to be switched
1) Ok, please let me know when you change the SDK call.
2) When the app call the heyzap:init method for the first time in the device the user has to check in. But for the next times, although the user hasn't logged in, the heyzap:init call in the app is taking into account the same user. If you go to the HeyZap website the user is not logged in, it's is not possible to log out.
https://play.google.com/store/apps/developer?id=SimplesApps
http://www.amazon.com/gp/mas/dl/android?p=com.simplesapps.actionbasket
https://itunes.apple.com/artist/david-rodriguez/id763996989
https://play.google.com/store/apps/developer?id=SimplesApps
http://www.amazon.com/gp/mas/dl/android?p=com.simplesapps.actionbasket
https://itunes.apple.com/artist/david-rodriguez/id763996989
1) Heyzap official app is installed, thus everything is redirected to Heyzap app
2) Heyzap official app is NOT installed, thus everything is done through browser (heyzap website)
https://play.google.com/store/apps/developer?id=SimplesApps
http://www.amazon.com/gp/mas/dl/android?p=com.simplesapps.actionbasket
https://itunes.apple.com/artist/david-rodriguez/id763996989
Using "heyzap-sdk-6.1.4" and paid gideros 2013.09.1 version
In eclipse when compiling get the 9 errors below all from Gheyzap.java , any help would be great I cannot figure out the issue.
OnAdDisplayListener cannot be resolved to a type
The method onFailedToFetch(String) of type GHeyzap must override or implement a supertype method
The method onAvailable(String) of type GHeyzap must override or implement a supertype method
The import com.heyzap.sdk.ads.OnAdDisplayListener cannot be resolved
The method setDisplayListener(HeyzapAds.OnStatusListener) in the type InterstitialOverlay is not applicable for the arguments
The method onHide(String) of type GHeyzap must override or implement a supertype method
The method onFailedToShow(String) of type GHeyzap must override or implement a supertype method
The method onShow(String) of type GHeyzap must override or implement a supertype method
The method onClick(String) of type GHeyzap must override or implement a supertype method
Let me recheck
Likes: johnyc100
I would have used an older SDK but I don't have access to them.
cheers ~O)
Im trying to add Hayzap plugin to a project. I had a few problems which I got over, but I stuck on [3]
To just cover what I've done I listed the 3 issues, Im using Hayzap-sdk version 6.3.7.
[1] I had to add these functions to GHeyzap class to fix build errors
@Override
public void onAudioStarted() {
// TODO Auto-generated method stub
}
@Override
public void onAudioFinished() {
// TODO Auto-generated method stub
}
[2] I when exporting the project I was getting a "Conversion to Dalvik format failed with error 1". So I removed the hayzap library reference, ran fix project properties in android tools, then added hayzap library reference back again. That fixed that problem, it built and I installed on the device.
[3] The problem I have now is liblua.so not found, here is my trace
FATAL EXCEPTION: main
java.lang.UnsatisfiedLinkError: dlopen failed: could not load library "liblua.so" needed by "libheyzap.so"; caused by library "liblua.so" not found
at java.lang.Runtime.loadLibrary(Runtime.java:362)
at java.lang.System.loadLibrary(System.java:525)
at com.giderosmobile.android.GameActivity.(GameActivity.java:31)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1130)
at android.app.Instrumentation.newActivity(Instrumentation.java:1078)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2210)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2349)
at android.app.ActivityThread.access$700(ActivityThread.java:159)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:5419)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)
at dalvik.system.NativeStart.main(Native Method)
I dont have a liblua.so in my libs folder.
But on export Im getting
Failed to add
"c:\Projects\workspace\game\android-sdk\bin\android-sdk.jar"
android-sdk.jar is the heyzap jar
"Conversion to Dalvik format failed with error 1"
errrrrrr ......
https://deluxepixel.com
It seems you were trying to use it with older Gideros export format
These 2 errors come up intermittently during an export.
"Cannot include android-sdk.jar"
"Conversion to Dalvik format failed with error 1"
Have to clean/rebuild/no auto build/export retry etc until it works. Haven't worked what combination makes it work everytime.
I actually never heard of it. Its usually like facebook-android-sdk.jar or dropboxandroid-sdk.jar, etc
which IDE are you using? Eclipse or Android Studio?
I have new problem too. I have left the game running in the back ground for sometime, then I got a crash notification. Checking the ddms its
java.lang.RuntimeException: Unable to instantiate receiver com.heyzap.sdk.PackageAddedReceiver: java.lang.ClassNotFoundException: Didn't find class "com.heyzap.sdk.PackageAddedReceiver"
Thats the intent I added to my manifest as per the install instructions. Has it changed in
Hayzap-sdk version 6.3.7 maybe ?
02-24 12:14:17.069: E/AndroidRuntime(14443): java.lang.RuntimeException: Unable to instantiate receiver com.heyzap.sdk.PackageAddedReceiver: java.lang.ClassNotFoundException: Didn't find class "com.heyzap.sdk.PackageAddedReceiver" on path: /data/app/com.pinchgames.bumpybird-1.apk
Leader board works fine.
I have heyzap:init(true,"")
and Im calling
heyzap:showAd("interstitial"), I tried video too
I added a log output call to the java in
public static void showAd(final Object parameters)
So i know that its calling showAd() OK.
I checked heyzap console and it has show ads enabled, anyone got any ideas for me...