Posted an update, currently Android only, will start implementing same on the ios side, but you can try it out already on Androids
Android added absolute pixel based positioning Android added returning ad position Android added returning ad dimensions Android set/get method for tweening Amazon implemented ad refreshing
version 0.7 IOS added absolute pixel based positioning IOS added returning ad position IOS added returning ad dimensions IOS set/get method for tweening IOS added Adcolony IOS added Chartboost IOS added Heyzap IOS added InMobi Android and IOS "auto" ad type to get best suitable ad type automatically
IOS InMobi might not be completely tested and IOS Tapjoy is not yet fully implemented
Now thats interesting. How about #import "HeyzapAds.framework/HeyzapAds" Actually I just write #import "" and then write H letter inside the "" #import "H" and it offers auto completion for header path
And here is my directory structure if it changes anything
About Android. I have really many crashes in console about heyzap. It works, i can see requests and impressions in console, but crashes still make me worried.
1) java.lang.RuntimeException: Unable to instantiate receiver com.heyzap.sdk.PackageAddedReceiver: java.lang.ClassNotFoundException: Didn't find class "com.heyzap.sdk.PackageAddedReceiver" on path: DexPathList[[zip file "/data/app/com.debia.sostavslovo2-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.debia.sostavslovo2-2, /vendor/lib, /system/lib]] at android.app.ActivityThread.handleReceiver(ActivityThread.java:2405) at android.app.ActivityThread.access$1500(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5103) 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:737) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.heyzap.sdk.PackageAddedReceiver" on path: DexPathList[[zip file "/data/app/com.debia.sostavslovo2-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.debia.sostavslovo2-2, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:501) at java.lang.ClassLoader.loadClass(ClassLoader.java:461) at android.app.ActivityThread.handleReceiver(ActivityThread.java:2400)
2) java.lang.RuntimeException: Unable to instantiate receiver com.heyzap.sdk.PackageAddedReceiver: java.lang.ClassNotFoundException: com.heyzap.sdk.PackageAddedReceiver in loader dalvik.system.PathClassLoader[/data/app/com.debia.sostavslovo2-1.apk] at android.app.ActivityThread.handleReceiver(ActivityThread.java:1777) at android.app.ActivityThread.access$2400(ActivityThread.java:117) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3691) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:670) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ClassNotFoundException: com.heyzap.sdk.PackageAddedReceiver in loader dalvik.system.PathClassLoader[/data/app/com.debia.sostavslovo2-1.apk] at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240) at java.lang.ClassLoader.loadClass(ClassLoader.java:551) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at android.app.ActivityThread.handleReceiver(ActivityThread.java:1768)
And these type of errors in all apps where i integrate ads interface. And one more here: 3) java.lang.NullPointerException at com.giderosmobile.android.plugins.ads.Ads$10.run(Ads.java:291) at android.os.Handler.handleCallback(Handler.java:608) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:156) at android.app.ActivityThread.main(ActivityThread.java:4987) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) at dalvik.system.NativeStart.main(Native Method)
Yes Heyzap seems to be misbehaving lately with lots of different errors and crashes, will try to contact them once more to resolve it, but honestly did not yet receive a response for previous queries.
But thank you for error logs, will definitely help
Does anybody uses adcolony on Android? I tried to implement it, but have no luck. I'm not recieve any ads even in test mode. I understand that i'm doing something wrong, but don't know what exactly.
and 1) you need to enable v4c in your app's video zone you use by checking Enable Virtual Currency Rewards to Yes and Client Side Only to Yes 2) you need to provide videozone id (starting with vz) in both cases, and not your V4VC Secret Key (starting with v4vc) which is meant for server side verification
Yes you should be able to. in fact the purpose of providing video zone in setKey is to set a default videozone, if you don't provide any other in showAd method, but unfortunately, just tested, and it does not seem to work (although described in AdColony docs). But using the other videozone is completely fine.
Comments
Android added absolute pixel based positioning
Android added returning ad position
Android added returning ad dimensions
Android set/get method for tweening
Amazon implemented ad refreshing
http://giderosmobile.com/labs/ads-interface
Likes: MobAmuse
BTW saw Dweebs on OUYA Founders play list, congratz
Likes: MobAmuse
Your free gifts should be with you soon hopefully
http://giderosmobile.com/labs/ads-interface
version 0.7
IOS added absolute pixel based positioning
IOS added returning ad position
IOS added returning ad dimensions
IOS set/get method for tweening
IOS added Adcolony
IOS added Chartboost
IOS added Heyzap
IOS added InMobi
Android and IOS "auto" ad type to get best suitable ad type automatically
IOS InMobi might not be completely tested and IOS Tapjoy is not yet fully implemented
Likes: MobAmuse, phongtt, hosamred
How to pass through this?
How about #import "HeyzapAds.framework/HeyzapAds"
Actually I just write #import "" and then write H letter inside the ""
#import "H" and it offers auto completion for header path
And here is my directory structure if it changes anything
I have really many crashes in console about heyzap. It works, i can see requests and impressions in console, but crashes still make me worried.
1)
java.lang.RuntimeException: Unable to instantiate receiver com.heyzap.sdk.PackageAddedReceiver: java.lang.ClassNotFoundException: Didn't find class "com.heyzap.sdk.PackageAddedReceiver" on path: DexPathList[[zip file "/data/app/com.debia.sostavslovo2-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.debia.sostavslovo2-2, /vendor/lib, /system/lib]]
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2405)
at android.app.ActivityThread.access$1500(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
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:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.heyzap.sdk.PackageAddedReceiver" on path: DexPathList[[zip file "/data/app/com.debia.sostavslovo2-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.debia.sostavslovo2-2, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2400)
2)
java.lang.RuntimeException: Unable to instantiate receiver com.heyzap.sdk.PackageAddedReceiver: java.lang.ClassNotFoundException: com.heyzap.sdk.PackageAddedReceiver in loader dalvik.system.PathClassLoader[/data/app/com.debia.sostavslovo2-1.apk]
at android.app.ActivityThread.handleReceiver(ActivityThread.java:1777)
at android.app.ActivityThread.access$2400(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3691)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:670)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.heyzap.sdk.PackageAddedReceiver in loader dalvik.system.PathClassLoader[/data/app/com.debia.sostavslovo2-1.apk]
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:1768)
And these type of errors in all apps where i integrate ads interface.
And one more here:
3)
java.lang.NullPointerException
at com.giderosmobile.android.plugins.ads.Ads$10.run(Ads.java:291)
at android.os.Handler.handleCallback(Handler.java:608)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:4987)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
will try to contact them once more to resolve it, but honestly did not yet receive a response for previous queries.
But thank you for error logs, will definitely help
http://giderosmobile.com/labs/ads-interface
version 0.8
Removed unused SDKs
Android fixed destroying ad which was already garbage collected/destroyed
Amazon fixed auto ad
Amazon fixed precise positioning
Heyzap Upgraded SDK
Heyzap removed banner (not supported anymore)
P.S. Heyzap still seem to misbehave, so please test thoroughly when implementing heyzap in your apps
Likes: MobAmuse
Likes: MobAmuse
http://giderosmobile.com/labs/ads-interface
version 0.9
Added Ads:enableTesting() method
Automatically hide ads on failing
Android fixed fallbacking after Amazon Ads
IOS Updated Heyzap SDK
Updated Gideros example project
Upated Ads Interface Usage Matrix
missing "/" in admob manifest section
And in AdColony
every usespermission needs "-"
In main.lua i add
adcolony = Ads.new("adcolony")
adcolony:setKey("app00189fbd7fca4782970561", "v4vc09951897bf4846e5968b94")
adcolony:addEventListener(Event.AD_RECEIVED, function()
video=1
end)
adcolony:addEventListener(Event.AD_ACTION_END, function()
coins=coins+3
dataSaver.saveValue("coins", coins)
end)
adcolony:addEventListener(Event.AD_FAILED, function()
video=0
end)
and in menu section add button with
coinbutton:addEventListener("click",
function()
if video==1 then
adcolony:showAd("v4vc", "v4vc09951897bf4846e5968b94 ", true)
end
end)
But "video" never become 1. If i remove check for video==1, application closes on button press.
1) you need to enable v4c in your app's video zone you use by checking Enable Virtual Currency Rewards to Yes and Client Side Only to Yes
2) you need to provide videozone id (starting with vz) in both cases, and not your V4VC Secret Key (starting with v4vc) which is meant for server side verification
in fact the purpose of providing video zone in setKey is to set a default videozone, if you don't provide any other in showAd method, but unfortunately, just tested, and it does not seem to work (although described in AdColony docs).
But using the other videozone is completely fine.
Bye Adcolony.
We can't use rewarded options, yes? Only non-rewarded?
If we can, how to reward user?