Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old February 5th, 2011, 09:53 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2011
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Blush difference in muti-Activity and muti-Page(Layout)?

Hi. I am a beginner in Android development. My question is that what's to choose when I want to switch to the other scene? muti-activity or muti-page(Layout)? so what's the difference in these two solutions?

siukimfong is offline  
Reply With Quote
sponsored links
Old February 5th, 2011, 07:07 PM   #2 (permalink)
Over Macho Grande?
 
alostpacket's Avatar
 
Join Date: Nov 2009
Location: NY
Posts: 7,873
 
Device(s): GlassXE, MotoX, N5, N4, N7'12, GNex, N1, SGT10.1, Revue, Xoom, Eris, OG Droid
Carrier: TMO

Thanks: 4,582
Thanked 3,563 Times in 1,522 Posts
Default

What do you mean by "page"?

It really depends on what you're trying to do if it makes more sense to use a single activity and change the contentview, or to use multiple activities.

Most of the time I would suggest multiple activities.

You may wanna start here:
Application Fundamentals | Android Developers

Here's the part specifically about activities:
Application Fundamentals | Android Developers
alostpacket is offline  
Reply With Quote
Old February 6th, 2011, 05:07 AM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2011
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by alostpacket View Post
What do you mean by "page"?

It really depends on what you're trying to do if it makes more sense to use a single activity and change the contentview, or to use multiple activities.

Most of the time I would suggest multiple activities.

You may wanna start here:
Application Fundamentals | Android Developers

Here's the part specifically about activities:
Application Fundamentals | Android Developers
thanks a lot. Sorry for my poor expression. "muti pages" means that switching to the other scene by calling the function setContentView(otherLayout)
siukimfong is offline  
Reply With Quote
Reply
Tags
activity, layout


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:44 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.