Hello Friends

When i started making an application in android i designed two
screens.....
1.termsscreen.xml
2.loginscreen.xml
in res/layout.
Then i made every java file in my package extending Activity....
I mean i made two java classes:-
1.TermsScreen.java extends Activity
2.LoginScreen.java extends Activity
And then to switch between these two i used INTENT and it worked out.

*Important

But now i want to change my code...
I want that there should be only one class that extends Activity(say
main_activity).
And then i want the two classes TermsScreen.java and LoginScreen.java
should get reference of that main_activity class.

I wrote code for all this and again made use of INTENT for switching
but its not working.
Can anyone please tell me will INTENT work or should i use something
else to go from TermsScreen.java to LoginScreen.java

Thanks in advance

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to