its very easy....
just brinng all screens i.e xml file into a single project and after that ....
ImageButton somename= (ImageButton)findViewById(R.id.idvalue);
somename.setOnClickListener(new OnClickListener()
{
public void onClick(View v)
{
nextscreen();
}
});
dont forget to add all screens in manifest file also......
public void nextscreen()
{
Intent i = new Intent(this, new.class);
startActivityForResult(i, -1);
}
THANKS & REGARDS
DILEEP KUMAR
SOFTWARE ENGINEER
Bangalore.
--- On Mon, 27/4/09, Lakshmie Narayan Viswanathan <[email protected]>
wrote:
From: Lakshmie Narayan Viswanathan <[email protected]>
Subject: [android-beginners] moving from one screen to another
To: [email protected]
Date: Monday, 27 April, 2009, 10:26 PM
Hey everybody,
I have designed a couple of screens in android under different
projects. I want to bring them to a single project and connect the
screens on basis of some event such as button click. how can I do it?
- Naan
Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo!
Edition http://downloads.yahoo.com/in/firefox/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---