小编Sat*_*mar的帖子

如何为pdf文件页面卷曲

嗨我是新的Android页面卷曲应用程序,我使用mupdf opensource通过显示pdf文件.这里使用意图动作视图,所以只有滚动工作但我需要页面curl.if任何身体知道答案请帮助这个概念.谢谢.

@Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);

        mAlertBuilder = new AlertDialog.Builder(this);

        if (core == null) {
            core = (MuPDFCore)getLastNonConfigurationInstance();

            if (savedInstanceState != null && savedInstanceState.containsKey("FileName")) {
                mFileName = savedInstanceState.getString("FileName");
            }
        }
        if (core == null) {
            Intent intent = getIntent();
            if (Intent.ACTION_VIEW.equals(intent.getAction())) {
                Uri uri = intent.getData();
                if (uri.toString().startsWith("content://media/external/file")) {
                    // Handle view requests from the Transformer Prime's file manager
                    // Hopefully other file managers will use this same scheme, if not
                    // using explicit paths.
                    Cursor cursor …
Run Code Online (Sandbox Code Playgroud)

android

6
推荐指数
1
解决办法
3622
查看次数

标签 统计

android ×1