how to open the new screen

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


Sponsored Links
 Hi,

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


Thanks
C.rajesh

--



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


 hi,

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..


Thanks
C.Rajesh





>



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?

 http://developer.android.com/guide/appendix/faq/commontasks.html #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.

Thanks,
Justin

----------------------------------------------------------------------
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.

like

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

Regards
Ramesh.




>



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
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
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

Hi,

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.setAction(Intent.ACTION_VIEW);
                 i.setData(android.provider.CallLog.CONTENT_URI); //*Not
Working*
                 //
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*
                 startActivity(i);

Please help me if you have any solution..

Thanks
Jaydip

-- 

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:

        <TextView
        android:id="@+id/wanttoscrollt"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:singleLine="true"
        android:ellipsize="marquee"
        android:text="Blah blah andlongwordandmore"
        ></TextView>

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
visible.


On Dec 17 2009, 9:47pm, sathya subbiah <sathya.subbia...@gmail.com>



-- 

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