- Home /
Revmob Android Help?
Hi so im trying to implent Revmob into my game the only problem is everytime i launch the game on my android device the test ad does not appear? here is the code
import System.Collections.Generic;
private var APP_IDS = new Dictionary.<String, String>();
APP_IDS["Android"] = "My ID is already in here";
APP_IDS["IOS"] = "copy your iOS RevMob App ID here";
private var revmob:RevMob;
function Awake() {
revmob = RevMob.Start(APP_IDS, "Your GameObject name");// < What does this even mean
}
function Start () {
revmob.ShowFullscreen();
}
If you could help thank you also i read the integration manual
Answer by Mehul-Rughani · May 27, 2014 at 11:47 AM
use this
public RevMobFullscreen fullscreen;
function Awake() { revmob = RevMob.Start(APP_IDS, "Your GameObject name"); fullscreen = revmob.CreateFullscreen(); }
function Start () { fullscreen.Show (); }
Please discuss same thing with your colleagues and then answer the question :)
Provided code is in javascript and you are trying to use it in c#. So make changes accordingly.
You have to define this variable also.
public static Rev$$anonymous$$obFullscreen fullscreen;
Answer by siddharth3322 · May 30, 2014 at 05:57 PM
You have to create account and register application in RevMob website. After this process you get application id that you have to paste in you code.
After that you get test ads working. I think you have to view demo example provided by revmob. You got all your questions answers.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
another android dpi question... 1 Answer
Integration of unity project with native android app? 0 Answers
Integrating .jar file with unity 1 Answer