本文整理汇总了Java中com.hkm.ezwebview.Util.Fx9C类的典型用法代码示例。如果您正苦于以下问题:Java Fx9C类的具体用法?Java Fx9C怎么用?Java Fx9C使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Fx9C类属于com.hkm.ezwebview.Util包,在下文中一共展示了Fx9C类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onViewCreated
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
@Override
public void onViewCreated(View v, Bundle b) {
super.onViewCreated(v, b);
try {
Fx9C.setup_payment_gateway(
new GM(getActivity(), block),
framer,
block,
betterCircleBar,
tokenBuilder(),
"",
3000
);
} catch (Exception e) {
}
}
示例2: onViewCreated
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
LoadConfig();
Uri request_access_token_path_final = AuthorizeUtils.buildAuthorizeUri(mApiKey, getScopes(), mRedirectUri);
String msg = "Loading authorize url: " + request_access_token_path_final.toString();
Log.d(TAG, msg);
final AuthorizationClient mAth = new AuthorizationClient(getActivity(), block);
Fx9C.setup_payment_gateway(
mAth,
framer,
block,
betterCircleBar,
request_access_token_path_final.toString(),
"Disqus/1.0",
1600);
}
示例3: loadCartContent
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
protected void loadCartContent() {
IstPaymentDoneRedirection webViewClient = new IstPaymentDoneRedirection();
try {
Fx9C
.with()
.setJavaScriptEnabled(true)
.setProgressBar(betterCircleBar)
.setAllowHTTPSMixedContentAllow()
.setWebViewClient(webViewClient)
.setWebViewHolder(framer)
.setWebView(block)
.loadUrlByPostAlternative(getMapping().get("url"), getMapping());
} catch (Exception e) {
e.printStackTrace();
}
}
示例4: onViewCreated
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
@SuppressLint("SetJavaScriptEnabled")
@Override
public void onViewCreated(View v, Bundle b) {
initBinding(v);
final HashMap<String, String> data = In32.getHTMLparamsBase();
data.put("remarker_data", "this is the sample remark ......");
try {
block.getSettings().setJavaScriptEnabled(true);
Fx9C
.with()
.setProgressBar(mprogressbar)
.setAnimationDuration(1600)
.setWebViewClient(new HClient(getActivity(), block))
.setWebViewHolder(content_article_frame)
.setWebView(block)
.loadContentWithRawHTMLWithCssData(R.raw.instruction_content, R.raw.instruction_css, data);
} catch (Exception e) {
e.printStackTrace();
}
}
示例5: loadCartContent
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
protected <T extends PaymentClient> void loadCartContent() {
Activity activity = getActivity();
if (activity == null) {
return;
}
WebViewClient webViewClient = CartPaymentWebiViewClient.with(activity, block);
try {
Fx9C
.with()
.setProgressBar(betterCircleBar)
.setUserAgent(USER_AGENT)
.setAnimationDuration(1600)
.setWebViewClient(webViewClient)
.setWebViewHolder(framer)
.setWebView(block)
.loadUrl(CART_URL);
} catch (Exception e) {
e.printStackTrace();
}
}
示例6: start_view
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
@Override
protected void start_view() {
JsBridgetFragment.CartPaymentWebiViewClient webViewClient = new JsBridgetFragment.CartPaymentWebiViewClient(block);
String str = getIntent().getExtras().getString("url");
try {
Fx9C.with()
.setWebView(block)
.setWebViewClient(webViewClient)
.setWebViewHolder(framer)
.setProgressBar(betterCircleBar)
.setAnimationDuration(1600)
.loadUrl(str);
} catch (Exception e) {
e.printStackTrace();
}
}
示例7: start_view
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
@Override
protected void start_view() {
final HashMap<String, String> data = In32.getHTMLparamsBase();
data.put("remarker_data", "this is the sample remark ......");
JsBridgetFragment.CartPaymentWebiViewClient webViewClient = new JsBridgetFragment.CartPaymentWebiViewClient(block);
try {
Fx9C.with()
.setWebView(block)
.setWebViewClient(webViewClient)
.setWebViewHolder(framer)
.setProgressBar(betterCircleBar)
.setAnimationDuration(1600)
.loadContentWithRawHTMLWithCssData(R.raw.instruction_content, R.raw.instruction_css, data);
} catch (Exception e) {
e.printStackTrace();
}
}
示例8: setup_commentbox
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
/**
* This is the example code
*
* @param url_in_full url in full
*/
private void setup_commentbox(String url_in_full) {
Fx9C.setup_url_hypebrid(
this,
framer, block, betterCircleBar,
url_in_full, 2000,
getAllow(), getInternal(),
this);
}
示例9: onViewCreated
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
@SuppressLint("SetJavaScriptEnabled")
@Override
public void onViewCreated(View v, Bundle b) {
initBinding(v);
if (block instanceof BridgeWebView) {
bridgeWebView = (BridgeWebView) block;
}
Activity activity = getActivity();
if (activity == null) {
return;
}
CartPaymentWebiViewClient webViewClient = new CartPaymentWebiViewClient(bridgeWebView);
try {
Fx9C.with()
.setWebView(bridgeWebView)
.setWebViewClient(webViewClient)
.setWebViewHolder(framer)
.setProgressBar(betterCircleBar)
.setAnimationDuration(1600)
.setEnableZoomSupport()
.setShowZoomButton()
.loadUrl(
LOCATION_SEATPLAN,
"seat_plan_arrangement",
new BridgeHandler() {
@Override
public void handler(String data, CallBackFunction function) {
Log.d("seatplan", data);
// function.onCallBack("got the data");
}
});
} catch (Exception e) {
e.printStackTrace();
}
}
示例10: setup_video
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
/**
* This is the example code
*/
private void setup_video() {
final String embeddedWebContent = In32.fromFileRaw(getActivity(), R.raw.video_sample);
try {
Fx9C.setup_web_video(this, framer, block, betterCircleBar, embeddedWebContent,
new HClient.Callback() {
@Override
public void retrieveCookie(String cookie_string) {
// return In32.interceptURL_cart(url, getAllow(), getInternal(), this);
}
@Override
public boolean overridedefaultlogic(String url, Activity activity) {
return false;
}
},
new Runnable() {
/**
* Starts executing the active part of the class' code. This method is
* called when a thread is started that has been created with a class which
* implements {@code Runnable}.
*/
@Override
public void run() {
}
});
} catch (Exception e) {
e.printStackTrace();
}
}
示例11: setupContentBox
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
private void setupContentBox(String code_embeded, boolean watchVideoEnabled) {
// final String contentc = fromFileRaw(getActivity(), R.raw.video_sample);
try {
Fx9C.setup_content_block_wb(
this,
framer,
block,
code_embeded,
watchVideoEnabled,
new HClient.Callback() {
@Override
public void retrieveCookie(String cookie_string) {
// return In32.interceptURL_cart(url, getAllow(), getInternal(), this);
}
@Override
public boolean overridedefaultlogic(String url, Activity activity) {
return false;
}
},
new Runnable() {
/**
* Starts executing the active part of the class' code. This method is
* called when a thread is started that has been created with a class which
* implements {@code Runnable}.
*/
@Override
public void run() {
completeloading();
}
});
} catch (Exception e) {
Log.e("exceptionVideoFrame", e.getMessage());
}
}
示例12: setupVideoBox
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
private void setupVideoBox(String code_embeded, int height) {
// final String contentc = fromFileRaw(getActivity(), R.raw.video_sample);
try {
Fx9C.setup_web_video(
this,
framer,
block,
betterCircleBar,
code_embeded,
height,
2000,
new HClient.Callback() {
@Override
public void retrieveCookie(String cookie_string) {
// return In32.interceptURL_cart(url, getAllow(), getInternal(), this);
}
@Override
public boolean overridedefaultlogic(String url, Activity activity) {
return false;
}
},
new Runnable() {
/**
* Starts executing the active part of the class' code. This method is
* called when a thread is started that has been created with a class which
* implements {@code Runnable}.
*/
@Override
public void run() {
// completeloading();
}
});
} catch (Exception e) {
Log.e("exceptionVideoFrame", e.getMessage());
}
}
示例13: onViewCreated
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
Fx9C.setup_content_block_wb(framer, block, betterCircleBar, In32.cssRawName(getActivity(), R.raw.table_hb_css) + n_content, 1600);
}
示例14: setup_video
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
/**
* This is the example code
*/
private void setup_video(String uri) {
final String embeddedWebContent = In32.fromFileRaw(this, com.hkm.ezwebview.R.raw.template_youtube_video);
final String embeddedWebContent_complete = embeddedWebContent.replace("{video_youtube_id}", uri);
try {
Fx9C.setup_web_video(
this,
framer,
block,
betterCircleBar,
embeddedWebContent_complete,
new HClient.Callback() {
@Override
public void retrieveCookie(String cookie_string) {
// return In32.interceptURL_cart(url, getAllow(), getInternal(), this);
}
@Override
public boolean overridedefaultlogic(String url, Activity activity) {
return false;
}
},
new Runnable() {
/**
* Starts executing the active part of the class' code. This method is
* called when a thread is started that has been created with a class which
* implements {@code Runnable}.
*/
@Override
public void run() {
completeloading();
}
});
} catch (Exception e) {
e.printStackTrace();
}
}
示例15: setup_video
import com.hkm.ezwebview.Util.Fx9C; //导入依赖的package包/类
/**
* This is the example code
*/
private void setup_video() {
Bundle ef = getArguments();
String uri = ef.getString("uri");
final String embeddedWebContent = In32.fromFileRaw(getActivity(), R.raw.template_youtube_video);
final String embeddedWebContent_complete = embeddedWebContent.replace("{video_youtube_id}", uri);
try {
Fx9C.setup_web_video(
this,
framer,
block,
betterCircleBar,
embeddedWebContent_complete,
new HClient.Callback() {
@Override
public void retrieveCookie(String cookie_string) {
// return In32.interceptURL_cart(url, getAllow(), getInternal(), this);
}
@Override
public boolean overridedefaultlogic(String url, Activity activity) {
return false;
}
},
new Runnable() {
/**
* Starts executing the active part of the class' code. This method is
* called when a thread is started that has been created with a class which
* implements {@code Runnable}.
*/
@Override
public void run() {
completeloading();
}
});
} catch (Exception e) {
e.printStackTrace();
}
}