problem when i click the ad
Hello!
first of all nice job on the mobfox lib
i am new to all this money from ads but it sounds good
your lib worked with no major problems
1)i changed the name of mobfoxsdk-1.2.xml to mobfoxsdk-1.5.xml
the file i got from mobfox was named mobfoxsdk-1.5.jar and b4a complained about a missing file.now its ok
2)the Sub mm_FailedToReceiveAd (ErrorCode As String) is giving me
an error "mobfox is already loading an ad.i don't know if its because i use the
developerid or something else.but the "test ad" shows fine. "mobfox it works etc".i tried with and without m.loadad
my only problem is when i click on the "Test ad" it crashes the program
the log is:
Uncaught exception in request thread
com.mobfox.sdk.RequestException: MobFox is already loading an ad
at com.mobfox.sdk.MobFoxView.loadContent(MobFoxView.java:447)
at com.mobfox.sdk.MobFoxView.loadNextAd(MobFoxView.java:611)
at com.madelephantstudios.MESMF.MESGS.loadAd(MESGS.java:70)
at com.myprogram.client.main._activity_create(main.java:418)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:113)
at com.myprogram.client.main.afterFirstLayout(main.java:84)
at com.myprogram.client.main.access$100(main.java:16)
at com.myprogram.client.main$WaitForLayout.run(main.java:72)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
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:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
GC_CONCURRENT freed 659K, 47% free 3629K/6727K, external 2076K/2137K, paused 5ms+2ms
GC_EXPLICIT freed 460K, 51% free 4347K/8839K, external 16093K/18094K, paused 84ms
Aggregate from 1327286811974 (log), 1327286811974 (data)
GC_EXPLICIT freed 2K, 51% free 2711K/5447K, external 1625K/2137K, paused 54ms
GC_CONCURRENT freed 1047K, 57% free 3263K/7495K, external 2915K/3640K, paused 2ms+2ms
GC_CONCURRENT freed 427K, 42% free 4159K/7111K, external 2100K/2137K, paused 16ms+2ms
Starting: Intent { cmp=com.myprogram.client/com.mobfox.sdk.InAppWebView (has extras) } from pid 17930
couldn't save which view has focus because the focused view com.mobfox.sdk.MobFoxView$4@405ae330 has no id.
** Activity (main) Pause, UserClosed = false **
--- called into dvmAbstractMethodStub
Shutting down VM
threadid=1: thread exiting with uncaught exception (group=0x40015560)
FATAL EXCEPTION: main
java.lang.AbstractMethodError: abstract method not implemented
at com.madelephantstudios.MESMF.MESGS$1.adClicked(MESGS.java)
at com.mobfox.sdk.MobFoxView$10.run(MobFoxView.java:722)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
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:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Force finishing activity com.myprogram.client/com.mobfox.sdk.InAppWebView
Force finishing activity com.myprogram.client/.main
Activity pause timeout for HistoryRecord{40a5e368 com.myprogram.client/com.mobfox.sdk.InAppWebView}
surfaceCreated
surfaceChanged
Activity destroy timeout for HistoryRecord{40b26df0 com.myprogram.client/.main}
Activity destroy timeout for HistoryRecord{40a5e368 com.myprogram.client/com.mobfox.sdk.InAppWebView}
GC_EXPLICIT freed 274K, 57% free 3233K/7495K, external 2915K/3640K, paused 57ms