[android-developers] Re: why do all samples appear smaller than the full screen

2012-02-24 Thread doles
Found it. I added this to AndroidManifest.xml




On Friday, February 24, 2012 9:06:18 PM UTC-6, doles wrote:
>
> Hello, 
>
> I am learning android and am trying to run samples on a large screen 
> phone. However, none of the samples take up the entire screen on my phone. 
> I have looked all over for explicit sizes, but cannot find them. I started 
> reading up on mdpi, hdpi and large, medium and small layouts, however, it 
> will be great if someone could specifically give me a clue to why the 
> samples wont run full screen. My apps that I write from scratch do run full 
> screen.
>
> Thanks!!!
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] why do all samples appear smaller than the full screen

2012-02-24 Thread doles
Hello, 

I am learning android and am trying to run samples on a large screen phone. 
However, none of the samples take up the entire screen on my phone. I have 
looked all over for explicit sizes, but cannot find them. I started reading 
up on mdpi, hdpi and large, medium and small layouts, however, it will be 
great if someone could specifically give me a clue to why the samples wont 
run full screen. My apps that I write from scratch do run full screen.

Thanks!!!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] youtube chromeless iframe player in android

2011-08-23 Thread doles
Hello!

I have a webview in an activity in which I load HTML that loads the youtube 
html5 player. The rest of the HTML shows up ok in the webview, but my player 
just doesnt show up. that same html code works great on chrome on my windows 
laptop and i believe it should work on android's browser, but it isnt. The 
html i am running is the simple example from youtube's example site. here it 
is: Is there a way to make youtube work in the webview or this cannot be 
done? Thanks!


  




  // 2. This code loads the IFrame Player API code asynchronously.
  var tag = document.createElement('script');
  tag.src = "http://www.youtube.com/player_api";;
  var firstScriptTag = document.getElementsByTagName('script')[0];
  firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);

  // 3. This function creates an