android - What is difference between FragmentActivity and Activity? -


i have used in basic code replace activity fragment activity,but have not got kind of error.application has working.

as seen in documentation:

fragmentactivity

base class activities want use support-based fragment , loader apis.

activity

an activity single, focused thing user can do. activities interact user, activity class takes care of creating window in can place ui setcontentview(view). while activities presented user full-screen windows, can used in other ways: floating windows (via theme windowisfloating set) or embedded inside of activity (using activitygroup)

can see more @ : http://developer.android.com/reference/android/support/v4/app/fragmentactivity.html


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -