android
Loading activity in Fragment Code
Can we load an activity (specifically in onCreateView) in fragment ? Instead of creating view by inflater, can we launch activity so it's events gets called ? For e.g. Instead of using "inflater.inflate(R.layout.tabactivity, null)", can we launch activity which uses "tabactivity" as layout ?
Unfortunately this is not possible. You must create a Fragment Activity that will be used to refer to any fragment you create. This is a good place to start: Fragments Examples
It's not possible you cannot add Activity inside a fragment. Fragment is part of UI component of Activity. Refer below link Docs for fragment in Android
Related Links
Android - How to check if a Print Service is enabled?
How to create default database in sqlite?
Does Config file has any influence when testing the app on phonegap development app
Arraylist<String> ArrayAdaptor to display 2 Arraylist<String> in one ListView
TextView becomes static
Color Picker UI for Android Wear
ScrollView event Overwrites DrawView Event
Android Application Navigation
How to call native function from cordova 3.x
Android: Prevent focus from jumping when hiding view
Create an apk on button click
How to use log4j Logger in Android Testing project
how to prevent other app to bind to my service
notification not firing on particular times in android
non-system libraries in linker flags
Android: items on ListView changes background color after click