VuframeLab / PanicAR-android

Augmented Reality Framework for Android
http://panicar.dopanic.com
65 stars 33 forks source link

Regarding integration of demo app in my project #7

Open umeryounus1994 opened 7 years ago

umeryounus1994 commented 7 years ago

I am integrating the demo project in my own project but i am having an issue while loading the fragment. It says

Attempt to invoke virtual method 'java.lang.Object android.content.Context.getSystemService(java.lang.String)' on a null object reference

and this error comes on OnCreate Method of PARFragment Class..

kz89 commented 6 years ago

Your Application has to extend PARApplication. See the official documentation on how to extend the Application class.