dimanche 29 mars 2015

what bundle do i pass to getInstrumentation().callActivityOnCreate(Activity, bundle);

i am trying to test my mainActivity of the android app and i cant figure out what to pass to callActivityOnCreate method right now i have tried



getInstrumentation().callActivityOnCreate(getActivity, null);


but it gives me a nullpoint exception,probably i am sending null


Aucun commentaire:

Enregistrer un commentaire