RadaeePDF.com :: Topic: How to integrate Pdf reader (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: How to integrate Pdf reader

How to integrate Pdf reader 3 years 1 month ago #7328

  • narezzi
  • narezzi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Hello sir,

I have already purchases a licences key, but i have no idea how to integrate into a my project.
The administrator has disabled public write access.

How to integrate Pdf reader 3 years 1 month ago #7329

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 709
  • Thank you received: 49
  • Karma: 18
you need to change the activate method in Global.Init with your activation info
activeProfessional(act, company, email, key)
The administrator has disabled public write access.

How to integrate Pdf reader 3 years 1 month ago #7333

  • asliyanage
  • asliyanage's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 100
  • Karma: 0
can you provide the code for pdf view example code?
The administrator has disabled public write access.

How to integrate Pdf reader 3 years 1 month ago #7334

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 709
  • Thank you received: 49
  • Karma: 18
You can check PDFReaderAct in the demo project
The administrator has disabled public write access.
The following user(s) said Thank You: Docrishav

How to integrate Pdf reader 3 years 1 month ago #7374

  • asliyanage
  • asliyanage's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 100
  • Karma: 0
those demo contain lot of code.Can you provide a simple one?
The administrator has disabled public write access.

How to integrate Pdf reader 3 years 1 month ago #7379

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 709
  • Thank you received: 49
  • Karma: 18
To view a pdf: (check PDFReaderAct for complete code)
m_doc.Close();
int ret = doc.Open(m_path, password);
switch( ret ) {
	case -1://need input password
		InputPassword(item);
		break;
	case -2://unknown encryption
		finish();
		break;
	case -3://damaged or invalid format
		finish();
		break;
	case -10://access denied or invalid file path
		finish();
		break;
	case 0://succeeded, and continue
		InitView();
		break;
	default://unknown error
		finish();
		break;
}
The administrator has disabled public write access.
Powered by Kunena Forum