For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 15 replies, 4 voices, and was last updated 12 years, 7 months ago by
support-michael.
-
AuthorPosts
-
RajeshMemberHi,
I develop the pdf file reading app in mobione.This app not working .In the android device and the emulator i can’t open the pdf file .pls help me..
November 21, 2012 at 12:57 pm #332544
TulsaboyMemberI am no expert, but I think this is because that Android does not support reading pdf files in an app. They have separate apps that will read pdf files though.
This is also a problem for me that I am looking for a solution for. Is it possible to convert pdf files to another format that Android will read?
Thanks for any help!
November 23, 2012 at 2:28 pm #332614
support-octavioMemberHi Tulsaboy,
Is your app a native app or webapp? Have you considered use the pop up window to show your pdf files?
November 23, 2012 at 2:52 pm #332615
TulsaboyMemberA native app. I have two Android devices, and have not been able to get either of them to read a pdf file in an app, whether it was using the current window or a pop-up window.
Thanks.
November 23, 2012 at 5:39 pm #332619
support-octavioMemberCould you share us your project to take a look and search the problem that you can’t open your pdf file in popup window?
November 24, 2012 at 11:23 am #332630
TulsaboyMemberHow would I do that, to share the project with you?
November 24, 2012 at 5:29 pm #332640
support-octavioMemberyou can send it via support at genuitec dot com, using title mobione data from Tulsaboy or attach it to this thread.
December 7, 2012 at 4:21 pm #333136
TulsaboyMemberI hate to be a pest. I am sure you are working as fast as you can. Is there any information you could share about the progress or expectations on getting Android devices to read pdf files?
Thanks!
December 9, 2012 at 11:01 am #333156
support-michaelKeymasterPlease see this ANN of the new 2.3 Milestone-1 that includes this fix. Please try out the PDF viewing in a test app or back up your main project. We are interested in your results.
December 11, 2012 at 12:28 pm #333269
TulsaboyMemberStill does not display any pdf file in any of my Android devices, either from viewing a web page and touching a pdf link, or within the program, by selecting go to URL and embedding the pdf file within the application.
However, the software update did make my mp3 audio files quit working in my Samsung Galaxy S and S2 phones, although they still worked in my Asus Epad tablet.
Thanks.
December 12, 2012 at 3:47 pm #333301
support-michaelKeymaster> Still does not display any pdf file in any of my Android devices, either from viewing a web page and touching a pdf link, or within the program, by selecting go to URL and embedding the pdf file within the application.
Thanks for this feedback. I reviewed the project data you recently shared with us. I was looking for the pdf file (book-medicine-plainfront.pdf) that will not load.
1) Are you able to open this pdf file on your device directly?
2) if yes, can you share this file with us?Also I would appreciate your assistance in testing this simple PDF test android app. Download here: http://goo.gl/A8m8f
The 2 buttons load a file remotely and locally. Also you can enter a url to your own pdf. The http pdf may take a few seconds to load over the network.
See attachment pdf-test-android.pngAttachments:
You must be logged in to view attached files.December 12, 2012 at 6:25 pm #333308
TulsaboyMemberThank you very much for your attention to this matter! My testing was very strange. Loaded your test app on two Android devices, a phone and a tablet. Your pdf buttons worked fine to load the pdf files you had in the program. But they gave this message when I tried to use the test to load three of my own pdf files: “The document cannot be opened because it is not a valid PDF file.” Two of those files were generated by Adobe software and the third was generated by MS Word 2007. Then I loaded the files directly into the two devices. To do that I had to restart the Asus tablet to read the sd card. Both devices could read all three files stored internally using Adobe Reader.
So then I re-tried your pdf tester app on both devices, going through all the same files again, and your app read them all this time around using http from a web site!
However, my app is still not reading my pdf file from within my program. Obviously, it is some fault of my own, but I don’t know what. I am sending my pdf file to you by email, as you requested.
Thank you very much!!!
December 12, 2012 at 7:37 pm #333309
TulsaboyMemberI tried opening my pdf file using Go to URL with a valid http:// address that I pasted in from a working web page so I know it was spelled correctly. I used a popup window with full controls so I could see what was happening. It did nothing but display a white screen. It did show the correct URL at the top of the page.
When I used the same file but embedded it into the program, the same thing — just a white screen. But the file was this:
file:///android_asset/www/book-medicine-plainfront.pdfI would like to know how in your test app you got the pdf files to display!
Thanks!
December 20, 2012 at 5:31 pm #333574
support-octavioMemberPlease try the next steps for create a basic test:
1) Include your pdf(s) file as Additional Project File.
2) Insert a button and set the onclick actions as:
Go to URL:
URL: nameofPDF.pdf
Open URL in: Popup Window
3) Build your Android App
Note: be sure to include your pdf file in the build wizardDecember 21, 2012 at 7:49 pm #333602
TulsaboyMemberVery good job! Thank you for making this work. These were the same steps I took before, but now it works to view the pdf file in my Android devices directly.
It still does not view a pdf file from browsing a web page, though. What I mean is if I go to a web page within my app, and that page has a link that is a pdf file, when that link is touched, nothing happens. But it does display the pdf file that is included in my app build, and for that I am very grateful.
Also, the problems I had with milestone 1 have disappeared (audio and centering).
I appreciate all your work and making this work! Thank you so much!
-
AuthorPosts