Android Tutorial & Lessons 24: Full Screen Activity & set the orientation

preview_player
Показать описание
Android Tutorial & Lessons 24: Full Screen Activity & set the orientation

Check out the discussion @ my forum for this lesson:

Whats up CornFanz, thanks for watching my videos, I would love it if you subscribe and give me some feedback.

In this lesson you will:
-Learn to set your Activity's orientation permanently as portrait or landscape
-Learn about the requestWindowFeature to get rid of that nasty title
-Learn to set your Activity to fullscreen
-Learn about the and setting up flags
-Bam!
-Some other sweet stuff
-subscribe
-Thumbs up this video ;)

This video is the 24th in a web series that I am creating to help you learn Android programming so you can create apps and eventually how to learn to write games for android phones. I want to explain things in a way that everyone can understand, even if you have no experience with Java, XML, C++, OpenGL, or as a matter of fact, any other programming language.

If you do have a lot of experience with programming, these first videos will be really slow for you, but my goal is to get everyone sprinting, but for now we have learn to crawl.

follow me on twitter: @cornboyz
Рекомендации по теме
Комментарии
Автор

@lopatamd excellent tip, my friend! worked like a charm. props to Travis and the cornboyz familia.

techture
Автор

simple, easy to understand and helpful!
Thanks!

arnoldackerer
Автор

Great tutorials. I also added some confirmations to the user using the Toast methods you outlined in previous lessons:
Toast working = Toast.makeText(getApplicationContext(), "Working...", Toast.LENGTH_SHORT);
working.show();
Bitmap phoneImage = BitmapFactory...
try{

Toast confirm = Toast.makeText(getApplicationContext(), "Successfully Set Wallpaper", Toast.LENGTH_SHORT);
confirm.show();
} catch...

directindies
Автор

hell yeah, this is what i need for quite a long time :D (fullscreen stuff..)
tnx a lot dude.. bless you xD

VasileSurdu
Автор

for orientation... you could also use "setRequestedOrientation(0)" for landscape and "setRequestedOrientation(1)" for portrait in your onCreate method :)

abstraction
Автор

hey thanks for everything i havent reached this tutorial but hey just a suggestion if u could make ur fonts bigger that will be great ..:)

tehroob
Автор

@ciken500 in the manifest instead of putting change 'portrait' to 'landscape', i'm guessing that would work anyway

lewishimself
Автор

how do u adjust the layout when in portrait orientation at the start of the video?

sohaibfarooqi
Автор

hey man cool app need some help i want to be able to have Multiple Activities so like 1s activity with button which then gos to the 2 activity and so on to the next page thanks fella

ravon
Автор

Is there a way to have Android Media Player v 4.0 or higher automatically direct to a specific website in Full Screen as soon as it turns on?

DesiSaran
Автор

Can someone explain to me why the whole toast thing makes the wallpaper app work?

MusicIsKnowledge
Автор

woah fuck yeah.. i just added

Toast showtoast=Toast.makeText(getApplicationContext(), "Wallpaper Set", Toast.LENGTH_SHORT);


at the case R.id.bSetWallpaper: at the end after try/catch and it worked :D


VasileSurdu