Back to project page utwitterapi.
The source code is released under:
GNU General Public License
If you think the Android project utwitterapi listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.mariotaku.utwitterapi.util; //from w ww . j av a2s .c o m import org.mariotaku.utwitterapi.Constants; import de.robv.android.xposed.XSharedPreferences; public class XposedPluginUtils implements Constants { public static String getCustomAPIHostHeader(final String origUriString) { final XSharedPreferences prefs = new XSharedPreferences(PACKAGE_NAME, SHARED_PREFERENCE_NAME_PREFERENCES); return Utils.getCustomAPIHostHeader(prefs, origUriString); } public static boolean isCustomAPIHttps() { final XSharedPreferences prefs = new XSharedPreferences(PACKAGE_NAME, SHARED_PREFERENCE_NAME_PREFERENCES); return Utils.isCustomAPIHttps(prefs); } public static boolean isUsingCustomAPI() { final XSharedPreferences prefs = new XSharedPreferences(PACKAGE_NAME, SHARED_PREFERENCE_NAME_PREFERENCES); return Utils.isUsingCustomAPI(prefs); } public static String replaceAPIUri(final String origUriString) { final XSharedPreferences prefs = new XSharedPreferences(PACKAGE_NAME, SHARED_PREFERENCE_NAME_PREFERENCES); return Utils.replaceAPIUri(prefs, origUriString); } }