How to show only name of the pdf without .pdf ext. - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: How to show only name of the pdf without .pdf ext.

How to show only name of the pdf without .pdf ext. 1 year 9 months ago #11874

  • rachnasagar
  • rachnasagar's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 69
  • Thank you received: 0
I want to show the pdf name only without .pdf extension in the project?

Please Log in or Create an account to join the conversation.

How to show only name of the pdf without .pdf ext. 1 year 9 months ago #11886

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 18
  • Thank you received: 65
Hi,
you have to change "name" prameter of set_file() method of PDFGridItem class.

Please Log in or Create an account to join the conversation.

How to show only name of the pdf without .pdf ext. 1 year 9 months ago #11906

  • rachnasagar
  • rachnasagar's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 69
  • Thank you received: 0
then wat I have to do in code ?

Please Log in or Create an account to join the conversation.

How to show only name of the pdf without .pdf ext. 1 year 9 months ago #11908

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 18
  • Thank you received: 65
Hi,
you have to use standard Android String methods to remove ".pdf" from "name" parameter..

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum