Windows phone 8 admob white surrounding in Landscape - windows-phone-8

When I have a Admob Adview with this code:
<GoogleAds:AdView
Name="bottomAd"
AdUnitID="ca-xxxxxxxxxxxxxxxxxxxxxx"
Format="Banner"
ReceivedAd="OnAdReceived"
FailedToReceiveAd="OnFailedToReceiveAd"
VerticalAlignment="Bottom" />
But when I start my app in Landscape mode I get a white surrounding around my AdView.
Sometimes the AdView fills the complete size, but some ads are too small like this:
Screenshot:
http://i.stack.imgur.com/XVjnD.png

I used to worry about it but I guess it's about text / image ads, image ads are big but texts aren't... We should contact google for them to fix text ads...

Related

Mobile phone browser html 5 input video capture, size of video frame

<input type="file" accept="video/*" capture />
With this html, I need mobile browser users to be able to start recording a video of themselves talking. This works except:
I wish to display some text on the screen (like a speech prompter) while the mobile is showing the video-recording UI (the UI looks native to mobile). Ideally I can make the video-recording UI half the screen, then show the speech text on the other half.
How can I do this?

Google Maps View Android extra margin without tiles

I am experiencing this white margin where tiles are missing only on some devices like Huawei with a 16:9 screen like the P20 Smart. You can see that the view size is correct as the buttons are placed correctly just the tiles are not loaded correctly. I am pretty sure it's some internal issue of Google Maps SDK but any clues how to fix it would be appreciated.
The view is shown as a dialog on top of Unity game.
Anyway, you can set size of your map view larger then screen and use Map padding for correct placing of map controls and Google logo. Something like that:
Updated explanation
For "small view in the middle of the screen" that small view should have parent layout for hiding invisible areas:

facebook messenger og:image cropping

I have some issues with my website image preview when I share my website as private message on Facebook (in messenger not Facebook post). In my html homepage I use og:image and I tested with two different image (obviously not in the same time) size 200x200 and 600x315 (I also try by specify the width and height with og:image:width and og:image:height but nothing change).
When I share the website link (with 200x200 image) on facebook messenger (as private message in chat to a friend) I obtain on desktop a preview (in the small chat on bottom or directly in messenger) with my website description on the right and my website image not cropped on the left and this is correct due to using an image small than 600x315. On messenger mobile instead I see the image cropped on top and the description on bottom and this bad.
Then I try, as recommend by facebook, to use an image 600x315 and in this case the result got worse because on desktop I see in the small chat the website description on the right and the image cropped on the left and If I open messenger I see a large image not cropped on top and the description on bottom. On messenger mobile instead I see the image cropped on top and the description on bottom.

Different picture format - Image Viewer - WP8

I got pictures in the isolated storage and i want to display them as well as the WINDOWS PHONE APP does.
I would like to reproduce the same effect that the Windows phone app does when you open the camera roll and you scroll through the images..
I find it particularly difficult because of the image orientation (horizontal and the vertical ones). I fit the vertical ones, but as soon as there are an horizontal picture any fit procedure fails!
Example?
thank you
Take a look at the MediaViewer class in the Silverlight Basic Lens sample. http://code.msdn.microsoft.com/wpapps/Basic-Lens-sample-359fda1b

I wrote a web page and want to display on the phone. How do I adjust the background image?

I wrote a web page and I want to display it on a phone now, but the background picture is too big to display fully, how to adjust?
<td width="60%" height="105" background="templets/images/top_logo.jpg" align="left">
It is normal in the computer web browser, but on the phone, it can shows only a part of the image, not scaled down.
I assume that there's a simple, one- or two-liner to make this happen. Where can I find an example of it?
just do a set to the webview
for example
//adapt to print 39adapt to the vertical screen 57adapt to cross scree
mWebView.setInitialScale(39)
You can use jquerymobile. It helps in all mobile platforms like android,iphone and blackberry.