Admob code can’t see on device.
I followed the instructions here: http://www.admob.com/docs/AdMob_Android_SDK_Instructions.pdf
everything ok, but the 6. not clear for me
”
Step 6When integrating AdMob ads into your application it is
recommended to use test mode. In test mode test, ads are always
returned. Test mode is enabled on a per-device basis. To enable test
mode for a device, first request an ad, then look in LogCat for a line
like the following: To get test ads on the emulator use
AdManager.setTestDevices… Once you have the device ID you can enable
test mode by calling AdManager.setTestDevices:
AdManager.setTestDevices( new String[] { AdManager.TEST_EMULATOR, // Android emulator
"E83D20734F72FB3108F104ABC0FFC738", // My T-Mobile G1 Test Phone
} ); }
“
What is that long number on the code? How do I get that number?
In the oncreate method I put this code:
AdManager.setTestDevices(new String[] { AdManager.TEST_EMULATOR } );
(into the help activity, not into the main activity)
Of course you must start the app on the real device to get a device id