Viewing Device Logs

Millennial Media SDK Log Outputs

You should see several events being logged from your device, including system events and events from other running programs. Is is often helpful when troubleshooting to view an ad call that you mave made such as the one below. You should provide this with any technical support request so we can quickly determine the next steps.

Sample Ad Call

http://ads.mp.mydas.mobi/getAd.php5?medialets=false&sdkapid=28911&auid=ABE7E7EB-E70D-51B9-BBFE-537958D5C0BC&mmisdk=4.2.5-11.5.16.i&ua=iPhone%20Simulator%204.0.2&dv=4.0.2&dm=i386&adtype=MMBannerAdTop&hswd=320&hsht=53&accelerometer=false&zip=21224&age=35&gender=male&video=true&language=en&country=US&cachedvideo=true

Viewing Device Logs for Mobile Apps

iOS

  1. Open Xcode.
  2. Build and Run your application with the SDK installed.
  3. Choose View –> Debug Area –> Activate Console.

Android

  1. Open Eclipse.
  2. Choose Window –> Show View –> LogCat.

Or, for viewing logs from the command line:

  1. Open the command line (command prompt on a PC or Terminal on a Mac).
  2. Enter adb logcat into the command line.

Windows Phone

To view logs for Windows Phone, do the following steps:

  1. Compile and run your application with the SDK installed.
  2. View the ouput log in Visual Studio 2010.
  3. Choose Window –> Show Other Window –> Output