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. How to Start Call Log Activity Using Intent


Please help me, can we start Call Log Activity using the Intent. Below is
the my code i try to start Call Log Activity using the Intent but not able
to success.

 Intent i = new Intent();
                 i.setData(android.provider.CallLog.CONTENT_URI); //*Not
i.setData(android.provider.CallLog.Calls.CONTENT_URI);       *//Working* *
Fine*, *It will open Dialer*
i.setData(android.provider.Contacts.People.CONTENT_URI);  *//Working **Fine,
It will open Favorites*

Please help me if you have any solution..



2. scrollHorizontal problem on TextView

I have run into a similar problem.  Apparently focus is required to
get ellipsize="marquee" or scrollHorizontal="true" to operate.  I
haven't found where that is documented?  Can anyone point that out?

Bigger problem is I have one line TextView and even giving it focus
doesn't allow it to scroll. What am I doing wrong here:

        android:text="Blah blah andlongwordandmore"

I tried setting <requestFocus/> in the layout and also tried calling
requestFocus() in onCreate().  I always wind up with static text that
is truncated.  :(

My objective is to put some wide text into a narrow TextView and allow
the user to see (but not change) the part that is not initially

On Dec 17 2009, 9:47pm, sathya subbiah <>


3. 3 dots at the end of the string in strings.xml

4. 3 dots at the end of the string in strings.xml

5. Speech Recognition Problem

6. getChildAt sometimes giving wrong child at particular position?

7. BitmapFactory.decodeByteArray gives pixelated bitmap