Discussion Forums  >  Images, Documents, File Locations

Replies: 11    Views: 3436

Erwin4998
Aspiring developer
Profile
Posts: 17
Reg: Feb 14, 2012
Veendam
1,420
03/13/12 02:30 PM (13 years ago)

PDF files are empty on android devide

I embedded a PDf file in eclipse (BT_Docs folder) When I try to open the PDF file. I get the message (The document is empty (size 0kb) What am i doing wrong? Does anybody know.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/13/12 02:50 PM (13 years ago)
Hi Erwin, Check out this document on adding files to your project, just to make sure that's not the issue: http://www.buzztouch.com/resources/Adding_Files_To_A_Project_v1.0.pdf Also..in order to view PDFs on Android, you'll need another app to read them, like Adobe Reader. You can get that from Google Play. If that still doesn't solve your problem, please let us know! Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
03/13/12 02:55 PM (13 years ago)
What Buzztouch version are you using? Fred
 
Erwin4998
Aspiring developer
Profile
Posts: 17
Reg: Feb 14, 2012
Veendam
1,420
like
03/13/12 02:57 PM (13 years ago)
I didn't mention that i'm using v2.0. I did just what is descripted in the document you mentioned. That seems not the problem. I don''t know if the following is een issue. In the BT_XX folder are no sample files. I hope you can help me.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/13/12 03:03 PM (13 years ago)
Hi Erwin, What app are you using on the emulator or your Android device to view PDF files? I had success using Adobe Reader. Also...did you triple check the file you are trying to reference actually has content in it? And there are no underscores, etc in the filename? Android tends to like lowercase only. Mark
 
Erwin4998
Aspiring developer
Profile
Posts: 17
Reg: Feb 14, 2012
Veendam
1,420
like
03/13/12 03:21 PM (13 years ago)
Hi Mark I''m using Adobe Reader. My files have content. And the filename have just lower case. I''m out of options.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
03/13/12 03:22 PM (13 years ago)
The missing files is not a problem. Files aren't actually missing, they're just not there. Sort of the missing millions in my bank account. It's not a bank error. The BTv2.0 PDF plugin works well so it's in your setup. In Android PDFs go in BT_Docs If you're using a url, check for spaces. (Use %20 inplace of spaces) Fred
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/13/12 03:28 PM (13 years ago)
Hi Erwin, If you want to send me your source package, I can take a look on my side. Might be an easy fix or something! MrkFleming at gmail dot com Mark
 
Erwin4998
Aspiring developer
Profile
Posts: 17
Reg: Feb 14, 2012
Veendam
1,420
like
03/13/12 03:37 PM (13 years ago)
Mark I have send you an email with the zipped package. Thanks in advance Erwin
 
eJucomm
Aspiring developer
Profile
Posts: 73
Reg: Nov 22, 2010
McAllen
730
like
04/02/12 07:16 AM (13 years ago)
Hello! Was a resolution ever found for this? I am running Android 1.5 and my pdfs will not show up. I have tripled check that my files are in the bt_docs folder, the names are right, everything and still nothing. Does this screen work in 1.5. Please let me know. Thanks!
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
04/02/12 08:18 AM (13 years ago)
No, the screen hasn't been finished. Consider using BTv2.0. Fred
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/02/12 08:31 AM (13 years ago)
I was just looking at the package Erwin sent me, and there are no PDF files in BT_Docs, and there are no PDF screens defined in the project. So, either they were never configured, or something else happened to remove the configs. I can personally vouch for PDF files working in v2.0 on Android, with the assistance of a PDF reader app. Mark
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.