I am using the navigation-drawer template in eclipse to do a simple Android application.
I have some trouble with fragment.
I declared a fragment called PresenceL
You have created a Fragment so you could not call it like a Activity.
You need to replace a container view, properly an FrameLayout with your Fragment.
getSupportFragmentManager()
.beginTransaction()
.replace(R.id.content_frame, new PresenceLogFragment())
.commit();