it\'s possible to pass a context variable to a DialogFragment?
i\'ve use this code inside dialog for passing a string:
public static ConfirmDialog newIns
Your DialogFragment has a very handy method for getting a Context instance:
getActivity()
Fragment#getActivity() will return the instance of the Activity (which is a Context) that the Fragment is attached to. Use it after the Fragment's onAttach() is called. The below chart illustrates the Fragment lifecycle, as you can see, using getActivity() from onCreate() to onDestroy() should be a valid call.

For more information, read the Fragment documentation