हाय के लिए पेज curl कैसे करें हाय मैं एंड्रॉइड पेज कर्ल एप्लिकेशन में नया हूं, मैं mupdf opensource के माध्यम से पीडीएफ फ़ाइल दिखाता हूं। यहां इरादा क्रिया दृश्य का उपयोग करके, इसलिए केवल स्क्रॉल काम कर रहा है लेकिन मुझे पृष्ठ curl की आवश्यकता है। अगर किसी भी शरीर को जवाब पता है तो कृपया इस अवधारणा की सहायता करें। धन्यवाद।पीडीएफ फ़ाइल
@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 = getContentResolver().query(uri, new String[]{"_data"}, null, null, null);
if (cursor.moveToFirst()) {
uri = Uri.parse(cursor.getString(0));
}
}
core = openFile(Uri.decode(uri.getEncodedPath()));
}
if (core != null && core.needsPassword()) {
requestPassword(savedInstanceState);
return;
}
}
if (core == null)
{
AlertDialog alert = mAlertBuilder.create();
alert.setTitle(R.string.open_failed);
alert.setButton(AlertDialog.BUTTON_POSITIVE, "Dismiss",
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
finish();
}
});
alert.show();
return;
}
createUI(savedInstanceState);
}
मैं में mupdf.can यू पता कर्ल प्रभाव लागू करने के लिए है कि मैं कैसे कर सकता है? ... धन्यवाद – kyogs
@kyogs आप आप का हल पाया समस्या कृपया मार्गदर्शन करना चाहते हैं मुझे जवाब भी मिला अगर – Passion
@kyogs उपरोक्त टिप्पणी के समान ही है! –