Discussion Forums  >  Uncategorized

Replies: 5    Views: 267

mikejoll4
Aspiring developer
Profile
Posts: 15
Reg: May 29, 2011
Kearny
150
10/20/11 08:31 PM (14 years ago)

.pdf file path

hey guys when i upload a pdf in my app (using the bt_docs folder) it says the file path is not valid when i try to launch the .pdf... any ideas??
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
10/20/11 09:17 PM (14 years ago)
In the PDF screen that you create to reference the PDF file, you need to make sure you just put the PDF file name (file_name.pdf), with no spaces in the name, and no BT_Docs reference. It'll find it and open it. You have to make sure you create a PDF File screen for this to work. If you are testing the app on a device, and you haven't loaded the app with the new PDF as part of the package, it won't work. If you are testing with the simulator, you'll need to stop the app, run it again, and it should work. If all fails, try to Clean the build, compile again, and see what happens. Mark
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
10/20/11 11:19 PM (14 years ago)
Nice answer, Mark. ;)
 
joejv
Aspiring developer
Profile
Posts: 6
Reg: Oct 07, 2011
Norman
60
like
10/24/11 12:05 PM (14 years ago)
I have run into a similar problem. I am using BT 1.5 for IPad and Xcode 4.1 I think I have the very latest of everything. I can't get even the sample embedded doc or PDF files to display. Whenever I add the menu item, and select it I get the the Data for this screen has not been downloaded... error. stopped restarted, the simulator several times. However, if I use the sample pdf URL that BT provides I can display it. Not sure what I am doing wrong with the embedded pdf/doc files. Can someone advise me as to how to get the native pdf files to display? Eventually, I want to use my own custom PDF, but I can't even get the sample ones (or any embedded file) to display.
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
10/25/11 11:35 AM (14 years ago)
Hi joejv, See: http://www.buzztouch.com/forum/thread.php?tid=17A031832D66CF706C62607 I think your problem might be fixed now. Please re-download your project files and recompile your app. Let us know if you're still having issues.
 
joejv
Aspiring developer
Profile
Posts: 6
Reg: Oct 07, 2011
Norman
60
like
10/25/11 07:43 PM (14 years ago)
Yep it is. I was following both threads. Thanks Parker.
 

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.