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
- Open Xcode.
- Build and Run your application with the SDK installed.
- Choose View --> Debug Area --> Activate Console.
Android
- Open Eclipse.
- Choose Window --> Show View --> LogCat.
Or, for viewing logs from the command line:
- Open the command line (command prompt on a PC or Terminal on a Mac).
- Enter
adb logcatinto the command line.
Windows Phone
To view logs for Windows Phone, do the following steps:
- Compile and run your application with the SDK installed.
- View the ouput log in Visual Studio 2010.
- Choose Window --> Show Other Window --> Output