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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -