AdMob WindowsPhone 8 same ads all the time - windows-phone-8

I've integrated AdMob to some of my apps. But I get same ad all the time when I am connected to 3g. And ads are never refreshing. Any idea why is it happening ? Thanks.

Without making any changes, the AdControl includes a property IsAutoRefreshEnabled that creates a background timer to refresh ads automatically. This property is set to true by default. The default refresh interval of ads is sixty seconds for the Microsoft AdControl, and for Android it is a server setting in your AdMob account. For the windows AdMob solution, the refresh interval can be also set in code.
For setting custom Interval you can have Refrence from here Refresh Intervals

Related

Windows phone app player not working when submitted to the store

I have windows universal 8.1 app with two players. When I deploy locally using app deployment application or through visual studio it is working fine but when I submit app to the store, one player fails to work.
I am using microsoft player framework with this hls plugin https://phonesm.codeplex.com/
The player seems to load since I know player media opened event has triggered but player control is missing and there is no video or audio.
When try to play video content nothing happens but when I try to play audio only content I get audio but there is still no visible player control (player visibility is set to visible ofc).
The question is, how is it possible that the same package acts different whether deployed locally or acquired from store?

Windows phone dispatcher timer issue

I have a dispatcher timer in my windows phone app, issue is while user clicks on the center button (deactivated button) timer is stopping. I want to make this timer work when user again takes the app. I can save the stopping time in a isolated storage but getting confused while user again takes the app after the deactivated event occurs, timer getting stopped.
Basically i want a timer that runs when the application deactivating also.
You can't have running timer when application is deactivated. But what you can do is to save the exact time when user close app by saving it to isolated storage settings in deactivate event.
Then, when user activate app again, you need to get current time. Calculate how much time passed by and add it to your measured time variable.

AdMob Interstitial ads providing inconsistent DismissingOverlay callbacks

I am trying to use AdMob Interstitial Ads in my application in Windows Phone 8.
The version of "GoogleAds.dll" I am using is: "6.5.13.0".
Everything is working fine as per the samples provided by AdMob.
I just had one query regarding the "DismissingOverLay" callback provided by the Interstitial Ad. It says that it is provided "After the interstitial/overlay is dismissed."
But in my case I am getting it in the following scenarios -
1.) When I dismiss the Ad by clicking the close image or hardware back key.(This is fine.)
2.) When the Ad is clicked and external browser is open and when the external browser is closed. (once when control leaves the app and once when it comes back.)
3.) When the hardware lock button is pressed. (in this case I get the dismissed callback but when I unlock the screen, I can still find the ad, not being dismissed.)
Why I just need a clarification on this because I am trying to run some custom code when the Ad is actually dismissed, but as I am getting these callbacks at various points I am unable to find out when to accept these callbacks and when to reject?

AS3 Air app needs to continue running in the background

I am developing an app for iOS and Android that monitors a users locations and plots a course with markers every 10 seconds or so however when the phone is locked the location stops tracking and plotting the positions stop.
I have added UIBackgroundModes to location and also .executeInBackground = true.
Anything I could be missing?
I think you should ask this permission.
Yet the IOS is through incosistente this sense, not necessarily you'll get an update every 10 seconds.
Permission -> Background Location Updates

Debugging the App in WindowsPhone 8 Device

I am having a windowsPhone 8(lumia) device and I want to debug my App in Real Device.I used Developer Phone Registration.The problem i am facing now is,If click register button a small window appears and Vanishes after 15 seconds and cant able to register,plz help me.
Make sure you're running Developer Phone Registration from Windows Phone SDK 8.0, on Windows 8 - 64 bit.
Unlock phone screen during registration
Windows will ask you to enter a valid Windows Phone Developer account (which cost you $100)
You need to connect to Internet
Are the date and time set correctly on the phone? In SETTINGS | date + time, turn off the Set automatically setting and then retry registration. After registration succeeds, turn this setting on again.