prakharprakhar89's Recent Forum Activity

  • How can I get Ip address of Device ?

  • Help me out please . I have java script code to show full scree ads like this ..

    <script language="javascript" type="text/javascript">

    var _sa = _sa || [];

    _sa.push(["initialize","c57c634d-2bab-4350-95dc-2dd4d477e6bc"]);

    _sa.push(['displayAd']);

    (function () {

    var sa = document.createElement('script');

    sa.type = 'text/javascript';

    sa.async = true;

    sa.src = '//ads.appnext.com/ad/source.js';

    var s = document.getElementsByTagName('script')[0];

    s.parentNode.insertBefore(sa, s);

    })();

    </script>

    Can any one tell me how to execute this code and show full screen ad when my layout starts ?

  • Help me out please . I have java script code to show full scree ads like this ..

    <script language="javascript" type="text/javascript">

    var _sa = _sa || [];

    _sa.push(["initialize","c57c634d-2bab-4350-95dc-2dd4d477e6bc"]);

    _sa.push(['displayAd']);

    (function () {

    var sa = document.createElement('script');

    sa.type = 'text/javascript';

    sa.async = true;

    sa.src = '//ads.appnext.com/ad/source.js';

    var s = document.getElementsByTagName('script')[0];

    s.parentNode.insertBefore(sa, s);

    })();

    </script>

    Can any one tell me how to execute this code and show full screen ad when my layout starts ?

  • I am using admob Construct 2 plugin , it work on android , but its not working on windows phone ?

    How to resolve it ?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ashley

    Hi,

    I am unable to monetize my game because here is Java script for ads

    I have java script here ==========

    <script language="javascript" type="text/javascript">

    var _sa = _sa || [];

    _sa.push(["initialize","My game Ads ID]);

    _sa.push(['displayAd']);

    (function () {

    var sa = document.createElement('script');

    sa.type = 'text/javascript';

    sa.async = true;

    sa.src = '//ads.appnext.com/ad/source.js';

    var s = document.getElementsByTagName('script')[0];

    s.parentNode.insertBefore(sa, s);

    })();

    </script>

    I am doing > On start Of layout > Browser > Execute Java Script ( )

    and in that method I am passing above mentioned Java Script .

    But I think my script not execution, Do not know why ?

  • Hi,

    I have java script here ==========

    "<script language=""javascript"" type=""text/javascript"">

    var _sa = _sa || [];

    _sa.push([""initialize"","" ""]);

    _sa.push(['displayAd']);

    (function () {

    var sa = document.createElement('script');

    sa.type = 'text/javascript';

    sa.async = true;

    sa.src = '//ads.appnext.com/ad/source.js';

    var s = document.getElementsByTagName('script')[0];

    s.parentNode.insertBefore(sa, s);

    })();

    </script>"

    I am doing > On start Of layout > Browser > Execute Java Script ( )

    and in that method I am passing above mentioned Java Script .

    But I think my script not execution, Do not know why ?

  • I have Java Script like below:

    <script language="javascript" type="text/javascript">

    var _sa = _sa || [];

    _sa.push(["initialize","","","","",""]);

    _sa.push(['displayAd']);

    (function () {

    var sa = document.createElement('script');

    sa.type = 'text/javascript';

    sa.async = true;

    sa.src = '//ads.appnext.com/ad/source.js';

    var s = document.getElementsByTagName('script')[0];

    s.parentNode.insertBefore(sa, s);

    })();

    </script>

    when I am using this plugin https://www.scirra.com/forum/viewtopic.php?t=64104&start=0

    to call this script, its giving me syntax error .

    I do not have much idea about Java Script .

    Why its giving me syntax error ?

  • I have Java Script like below:

    <script language="javascript" type="text/javascript">

    var _sa = _sa || [];

    _sa.push(["initialize","","","","",""]);

    _sa.push(['displayAd']);

    (function () {

    var sa = document.createElement('script');

    sa.type = 'text/javascript';

    sa.async = true;

    sa.src = '//ads.appnext.com/ad/source.js';

    var s = document.getElementsByTagName('script')[0];

    s.parentNode.insertBefore(sa, s);

    })();

    </script>

    when I am using this plugin https://www.scirra.com/forum/viewtopic.php?t=64104&start=0

    to call this script, its giving me syntax error .

    I do not have much idea about Java Script .

    Why its giving me syntax error ?

  • I want to switch the layout on back press on android and windows phone .

    How can I get back press key so that i could fire the events.

  • I added c2 plugin and set up ads position at Bottom Center, but when I go through this link

    https://www.scirra.com/manual/184/admob and set up all things, the final apk when i exported from

    intel xdk, Ads are coming at top center , not bottom center ?

    What problem should be ?

  • Nimtrix How to check for inverted conditions ?

  • Okkk..... Thank you

prakharprakhar89's avatar

prakharprakhar89

Member since 13 Nov, 2014

None one is following prakharprakhar89 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies