how to open the new screen

by crajesh » Wed, 27 Jan 2010 03:29:38 GMT

Sponsored Links

  i am new in android, i need to open the new screen, how to open it



how to open the new screen

by schwiz » Wed, 27 Jan 2010 06:08:21 GMT

 you need to be more specific what do you want to be in the new
window?  I assume you want to start a new activity in which case you
need to use the startActivity method and pass it an Intent for what
you want the new window to hold.


Sponsored Links

how to open the new screen

by rajesh chandrasekar » Wed, 27 Jan 2010 12:12:00 GMT


Thanks for your replay.
i opened the new screen, but i need to open in full screen size..

will please give me any idea to open in full screen..



how to open the new screen

by Justin Anderson » Wed, 27 Jan 2010 12:22:21 GMT

 What do you mean by open a new screen?  Do you mean launching a new
activity? #configurewindowproperties

I think this is what you want.  It offers two methods, programmatically
setting it to full-screen and doing it in XML.  The XML is better.


There are only 10 types of people in the world...
Those who know binary and those who don't.

On Tue, Jan 26, 2010 at 9:11 PM, rajesh chandrasekar


how to open the new screen

by me,Ramesh Yankati » Thu, 28 Jan 2010 21:56:26 GMT

 You need to use Intent.


Intent intent=new Intent();
intent.setclass(this, class_name);



how to open the new screen

by Wayne Wenthin » Fri, 29 Jan 2010 06:56:52 GMT

 You'll want something like this in your onCreate

requestWindowFeature(Window.FEATURE_NO_TITLE);  //Turn off the title bar
WindowManager.LayoutParams.FLAG_FULLSCREEN);  //Make it full screen

On Thu, Jan 28, 2010 at 5:55 AM, me,Ramesh Yankati


Other Threads

1. Permission at installation time and run tim

Hi all,

All documents say that permissions in Android are granted at the
installation time. However, I wonder how they are actually checked at
run time. In my mind, there are 2 possibilities:

- First, when an application is installed, all permissions specified
in Manifest.xml are parsed and check if they are granted or not. In
case, all are granted, the source code is also parsed to check if
every component/system access is legal (i. e. it belongs to one of
granted permissions). When all accesses are passed, the application is
installed successfully. Later, the application can be run without
caring about permissions, i. e. no check is performed.

- Second, at installation time, requested permissions are parsed and
check if they are granted or not. After passing this phase, the
application is successfully installed. During the run-time, whenever
the application requests to access other components/system, this
action is checked against granted permissions (at installation time).

I think the first one is not a good idea. I think it is so awkward and
it's impossible to parse all source code, assuming the code is
compiled into byte code.

So, it should be the second one. Am I correct? Or is there any other

Thanks in advance,


2. ring replacement

im digging through the development pages in anticipation on finally
getting my android (im on verizon) but im having trouble figuring out
the first project i have planned.  i want to replace the ring on the
phone but its more than just replacing the audio file.  the program i
want to write modifies the ring each time it rings, specifically i
want the phone to basically count each ring out loud.  im assuming i
need the CALL_STATE_RINGING intent out of the telephonymanager but
lacking an actual phone to explore im not sure how it behaves or what
i would call once its fired.  does that intent fire every time the
ringer fires or just when the phone starts ringing?  and can i set a
sequence of rings to go through or do i need to silence the ringer and
play them another way?


3. user demographics

4. startActivity and the back button

5. How can I android 2.0 source code

6. Bold a row in ListView programmatically

7. How can I contact to Google Calendar license?