当前位置: 首页>>代码示例>>Java>>正文


Java Fx9C类代码示例

本文整理汇总了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) {

    }
}
 
开发者ID:jjhesk,项目名称:DisqusSDK-Android,代码行数:18,代码来源:WiDisquscomment.java

示例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);
}
 
开发者ID:jjhesk,项目名称:DisqusSDK-Android,代码行数:18,代码来源:AuthorizationFragment.java

示例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();
    }
}
 
开发者ID:jjhesk,项目名称:EZWebView,代码行数:17,代码来源:IstPayment.java

示例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();
    }
}
 
开发者ID:jjhesk,项目名称:EZWebView,代码行数:25,代码来源:OfflineWebViewFragment.java

示例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();
    }
}
 
开发者ID:jjhesk,项目名称:EZWebView,代码行数:22,代码来源:ShoppingCartWebViewFragment.java

示例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();
    }
}
 
开发者ID:jjhesk,项目名称:EZWebView,代码行数:19,代码来源:PopupInfo2.java

示例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();
    }
}
 
开发者ID:jjhesk,项目名称:EZWebView,代码行数:20,代码来源:PopupInfo.java

示例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);
}
 
开发者ID:jjhesk,项目名称:EZWebView,代码行数:14,代码来源:HpbridFragment.java

示例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();
    }

}
 
开发者ID:jjhesk,项目名称:EZWebView,代码行数:38,代码来源:JsBridgetFragment.java

示例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();
    }

}
 
开发者ID:jjhesk,项目名称:EZWebView,代码行数:37,代码来源:VideoWebViewFragment.java

示例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());
    }
}
 
开发者ID:jjhesk,项目名称:EZWebView,代码行数:37,代码来源:RichTextBox.java

示例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());
    }
}
 
开发者ID:jjhesk,项目名称:EZWebView,代码行数:39,代码来源:VideoFrameBox.java

示例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);
}
 
开发者ID:jjhesk,项目名称:EZWebView,代码行数:6,代码来源:OfflineEmbeddedWebViewFragment.java

示例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();
    }

}
 
开发者ID:jjhesk,项目名称:EZWebView,代码行数:45,代码来源:YoutubeVid.java

示例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();
    }

}
 
开发者ID:jjhesk,项目名称:EZWebView,代码行数:48,代码来源:EzWebDialogNonLeakv4.java


注:本文中的com.hkm.ezwebview.Util.Fx9C类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。