[android-developers] Re: Go from one Screen to another screen
Personally I find intents and activities very limiting. Not everything needs to be an activity sometimes new screen is just an alternative view of the same activity or extends your activity. Look into ViewFlipper and related classes. You need to decide what new screen represents On Oct 28, 5:55 am, Rahul [EMAIL PROTECTED] wrote: I am Begginer for the Android and I want to Go from One Screen to Another Screen But i dont undestand How it is possible plz give me a code for that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Go from one Screen to another screen
Use the Intent and Activity! 2008/11/19 Rahul [EMAIL PROTECTED] Thanks for this code On Oct 28, 4:25 pm, tauntz [EMAIL PROTECTED] wrote: You might consider the [EMAIL PROTECTED] mailinglist. As for the answer - different screens are Activities in Android. To move from one screen to another, you are technically moving from an activity to another - eg starting a new Activity. Navigating between Activities is done by sending Intents. One way to do it is by calling startActivity(Intent intent) in the first activity. For example yourActivity.startActivity(new Intent(this, NewActivity.class)); Read about Activities here: http://code.google.com/android/reference/android/app/Activity.html and about Intents here: http://code.google.com/android/reference/android/content/Intent.html Tauno On Tue, Oct 28, 2008 at 12:55 PM,Rahul[EMAIL PROTECTED] wrote: I am Begginer for the Android and I want to Go from One Screen to Another Screen But i dont undestand How it is possible plz give me a code for that.- Hide quoted text - - Show quoted text - -- Welcome to my site about GPhone: http://51gphone.cn I am a GFans!!欢迎你来到我的GPhone网站!!http://51gphone.cn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Go from one Screen to another screen
Thanks for this code On Oct 28, 4:25 pm, tauntz [EMAIL PROTECTED] wrote: You might consider the [EMAIL PROTECTED] mailinglist. As for the answer - different screens are Activities in Android. To move from one screen to another, you are technically moving from an activity to another - eg starting a new Activity. Navigating between Activities is done by sending Intents. One way to do it is by calling startActivity(Intent intent) in the first activity. For example yourActivity.startActivity(new Intent(this, NewActivity.class)); Read about Activities here:http://code.google.com/android/reference/android/app/Activity.html and about Intents here:http://code.google.com/android/reference/android/content/Intent.html Tauno On Tue, Oct 28, 2008 at 12:55 PM,Rahul[EMAIL PROTECTED] wrote: I am Begginer for the Android and I want to Go from One Screen to Another Screen But i dont undestand How it is possible plz give me a code for that.- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Go from one Screen to another screen
You might consider the [EMAIL PROTECTED] mailinglist. As for the answer - different screens are Activities in Android. To move from one screen to another, you are technically moving from an activity to another - eg starting a new Activity. Navigating between Activities is done by sending Intents. One way to do it is by calling startActivity(Intent intent) in the first activity. For example yourActivity.startActivity(new Intent(this, NewActivity.class)); Read about Activities here: http://code.google.com/android/reference/android/app/Activity.html and about Intents here: http://code.google.com/android/reference/android/content/Intent.html Tauno On Tue, Oct 28, 2008 at 12:55 PM, Rahul [EMAIL PROTECTED] wrote: I am Begginer for the Android and I want to Go from One Screen to Another Screen But i dont undestand How it is possible plz give me a code for that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---