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 are trying to use a fragment as an activity. You can either rename PresenceLogFragment to PresenceLogActivity and have it extend Activity instead of Fragment or you can try and use your fragment as a fragment.
Also, any activity you try to use in your app needs to be declared in the manifest (link)
More about fragments and how to use them here