List of usage examples for android.app Activity getApplication
public final Application getApplication()
From source file:com.github.kanata3249.ffxieq.android.FFXIEQFragment.java
protected FFXIDAO getDAO() { Activity activity; activity = getActivity(); return ((FFXIEQApplication) activity.getApplication()).getFFXIDatabase(); }
From source file:com.github.kanata3249.ffxieq.android.FFXIEQFragment.java
protected FFXIEQSettings getSettings() { Activity activity; activity = getActivity();// w ww.jav a 2s .com return ((FFXIEQApplication) activity.getApplication()).getFFXIEQSettings(); }
From source file:com.github.kanata3249.ffxieq.android.FFXIEQFragment.java
public long getCharacterID() { Activity activity; activity = getActivity();/*from w w w .j av a2 s .c o m*/ return ((FFXIEQApplication) activity.getApplication()).getCharacterID(); }
From source file:com.github.kanata3249.ffxieq.android.FFXIEQFragment.java
public long getCharacterIDToCompare() { Activity activity; activity = getActivity();/*from w w w . ja v a 2s . c om*/ return ((FFXIEQApplication) activity.getApplication()).getCharacterIDToCompare(); }
From source file:com.github.kanata3249.ffxieq.android.FFXIEQFragment.java
public FFXICharacter getFFXICharacter() { Activity activity; activity = getActivity();/* w w w. j a va 2s . c o m*/ return ((FFXIEQApplication) activity.getApplication()).getFFXICharacter(); }
From source file:com.github.kanata3249.ffxieq.android.FFXIEQFragment.java
public FFXICharacter getFFXICharacterToCompare() { Activity activity; activity = getActivity();// w w w. ja va 2 s . c om return ((FFXIEQApplication) activity.getApplication()).getFFXICharacterToCompare(); }
From source file:com.dwdesign.tweetings.fragment.BaseDialogFragment.java
public TweetingsApplication getApplication() { final Activity activity = getActivity(); if (activity != null) return (TweetingsApplication) activity.getApplication(); return null;//from w w w.j ava2 s . c om }
From source file:org.getlantern.firetweet.fragment.support.BaseSupportDialogFragment.java
public FiretweetApplication getApplication() { final Activity activity = getActivity(); if (activity != null) return (FiretweetApplication) activity.getApplication(); return null;/* www . j av a 2 s . c o m*/ }
From source file:org.mariotaku.twidere.fragment.BaseDialogFragment.java
public TwidereApplication getApplication() { final Activity activity = getActivity(); if (activity != null) return (TwidereApplication) activity.getApplication(); return null;//from ww w .j a v a2s .co m }
From source file:de.vanita5.twittnuker.fragment.support.BaseSupportDialogFragment.java
public TwittnukerApplication getApplication() { final Activity activity = getActivity(); if (activity != null) return (TwittnukerApplication) activity.getApplication(); return null;//from w w w . j a v a 2 s.c om }