Now lets assume I have three RoboVM iOS projects and all should use MoPub.
How can I share the code of MoPub between all three projects?
Can I create a forth iOS "binding project" which contains the MoPub library and binding code and then link this binding project in my other three projects?
Is this a good idea or not? Or do you plan to create a new Eclipse binding project type?
Thanks in advance
interstitial = MPInterstitialAdController.getAdController("xxxx");
interstitial.setDelegate(new MPInterstitialAdControllerDelegate.Adapter() {
@Override
public void didFailToLoadAd(MPInterstitialAdController interstitial) {
interstitial.loadAd();
}
@Override
public void didDisappear(MPInterstitialAdController interstitial) {
interstitial.loadAd();
}
@Override
public void didExpire(MPInterstitialAdController interstitial) {
interstitial.loadAd();
}
});
--
You received this message because you are subscribed to the Google Groups "RoboVM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robovm+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Exception in thread "main" java.lang.ClassCastException: com.blueriver.picwords.RobovmLauncher$1 cannot be cast to org.robovm.objc.ObjCObject
at org.robovm.bindings.mopub.MPInterstitialAdController.setDelegate(MPInterstitialAdController.java)
Exception in thread "main" java.lang.NoSuchMethodError: org.robovm.objc.block.VoidBlock$Marshaler.toObject(Ljava/lang/Class;JZ)Ljava/lang/Object;
at org.robovm.bindings.mopub.MPInterstitialAdController.objc_show(Native Method)
at org.robovm.bindings.mopub.MPInterstitialAdController.show(MPInterstitialAdController.java)
Exception in thread "main" java.lang.NoSuchMethodError: org.robovm.objc.block.VoidBlock$Marshaler.toObject(Ljava/lang/Class;JZ)Ljava/lang/Object;
at org.robovm.bindings.mopub.MPInterstitialAdController.objc_show(Native Method)
at org.robovm.bindings.mopub.MPInterstitialAdController.show(MPInterstitialAdController.java)
at com.blueriver.game.RobovmLauncher$1.didLoadAd(RobovmLauncher.java)
at org.robovm.bindings.mopub.MPInterstitialAdControllerDelegate$Callbacks.didLoadAd(MPInterstitialAdControllerDelegate.java)
at org.robovm.cocoatouch.uikit.UIApplication.UIApplicationMain(Native Method)
at org.robovm.cocoatouch.uikit.UIApplication.main(UIApplication.java)
at com.blueriver.game.RobovmLauncher.main(RobovmLauncher.java)
Exception in thread "main" java.lang.NoSuchMethodError: org.robovm.objc.block.VoidBlock$Marshaler.toObject(Ljava/lang/Class;JZ)Ljava/lang/Object;
I can't use the workaround of creating a new UIViewController beacuse the AdColony SDK doesn't let you that option :/
--
--
Exception in thread "main" java.lang.NoSuchMethodError: org.robovm.objc.block.VoidBlock$Marshaler.toObject(Ljava/lang/Class;JZ)Ljava/lang/Object;
at org.robovm.cocoatouch.uikit.UIApplication.UIApplicationMain(Native Method)
at org.robovm.cocoatouch.uikit.UIApplication.main(UIApplication.java)
at org.robovm.bindings.mopub.sample.Sample.main(Sample.java)
--
How to send sms with recipients and body? I have used MFMessageComposeViewController but not set recipients :(
Oct 12 22:00:59 Asafs-iPhone IOSLauncher[5113] <Warning>: MOPUB: Looking for custom event class named InMobiBannerCustomEvent.
Oct 12 22:00:59 Asafs-iPhone IOSLauncher[5113] <Warning>: MOPUB: Requesting InMobi banner
Oct 12 22:00:59 Asafs-iPhone IOSLauncher[5113] <Warning>: MOPUB: Failed to create an inMobi Banner with invalid size {7.1806318e-37, 5.9439283e-15}
I would greatly appreciate any help in working this problem.