Developing App to display PDF - Android Q&A, Help & Troubleshooting

Hey there,
I'm working on an App that downloads a password protected PDF and displays it then. As IDE i use Android Studio and in Android developing I'm new but i got some experience in Delphi and C.
The Webserver requires username and password for the pdf, how can i download it from the app within? And how to display a PDF in generally?
Any tips/hints welcome ;D
LG Christopher

Related

New gmail site on our WinPhone

Take a look at this: http://gmailblog.blogspot.com/2009/10/whats-new-with-gmail-on-iphone-and.html
iPhone and Android users can connect to a new Gmail Mobile web site.... But It seems that Windows Mobile users (even on the huge HD2) still connect to the "old" mobile site. Anyone has an idea how to get the new site?
I think there should be a way, but I'll leave it to the experts
Agree, would be very useful. Did anyone try setting opera to pretend to be Android or iPhone browser? I think opera is capable if rendering that new stuff, but the problem is gears
I've changed the User-Agent header to the iPhone one with the "Modify Headers" Firefox's plugin and accesing the gmail.com page, it shows me the new interface.
It's very nice
I don't know how to change this in IE or Opera or other mobile browser, but I think that will do the trick.
The user agents can be get at mobilemultimedia.be
Just tried on Opera Mobile.
1. On address URL trype "opera:config"
2. On the search box type "agent"
3. On results, under "User Prefs", on "Custom User Agent" enter "Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_1 like Mac OS X; nl-nl) AppleWebKit/525.18.1 (KHTML like Gecko) Version/3.1.1 Mobile/5F136 Safari/525.20" (you may send this to you by mail and read your mail on the mobile, so you can copy and paste it)
4. Click on "Save".
5. Access gmail.com again and there is the new interface.
On my Omnia II, tha page does not exactly fit, it goes out a little.
Rondeus said:
Just tried on Opera Mobile.
1. On address URL trype "opera:config"
2. On the search box type "agent"
3. On results, under "User Prefs", on "Custom User Agent" enter "Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_1 like Mac OS X; nl-nl) AppleWebKit/525.18.1 (KHTML like Gecko) Version/3.1.1 Mobile/5F136 Safari/525.20" (you may send this to you by mail and read your mail on the mobile, so you can copy and paste it)
4. Click on "Save".
5. Access gmail.com again and there is the new interface.
On my Omnia II, tha page does not exactly fit, it goes out a little.
Click to expand...
Click to collapse
That only takes you to the "old" iphone gmail interface. The "new" gmail interface as shown in the 1st post doesn't work with Opera Mobile (9.5/9.7/10) at all because Opera is too lazy to bother fully implementing HTML 5.0 spec into their mobile browsers.

Print from Android Using Google Cloud Print

Title says it all, finally print from your Nook Color or any Android 2.1 or better device to any Windows printer. Currently requires the latest Google Chrome BETA and a Windows PC to connect your printer to Google's Cloud; Linux and Mac support coming soon. Announced today on Google's Mobile Blog, sorry can't yet post url. Try their FAQ at google dot com forwardslash support forwardslash cloudprint.
this is mobile gmail not the app, yes?
Waiting for an APK to show up for the app. I don't know if it will get pushed to our NCs. I haven't had any updates for google apps on the NC yet...
There is no APK to wait for. It's the web versions, like Google Docs. Doesn't work on 1.0.1 on a non-stock browser, though, as there's no way to present an android user agent.
PrinterShare Rocks
In the Market, printershare prints to wireless or network connected printers.
You can even remote print to a PC connected printer with the Premium Key. This app really rocks, it prints PDFs, gmail, images, etc.
I print to my Canon Pixma MP560 at home and the Xerox at my work without issues.
Print from your Nook with Dropbox
You can print anything from your Nook (or any device with Dropbox) to any printer (even if you're away from home) as long as you have 2 things:
- Dropbox account
- the PrintQue script installed to yourDrolpbox folder
If you don't have a Dropbox account, (it's a free storage account) Click on my link in the other post, you'll get 256mb more space...
Here's the link:
http://forum.xda-developers.com/showpost.php?p=10824391&postcount=3
If you need the script for Mac or Linux:
http://forum.xda-developers.com/showpost.php?p=10836601&postcount=6
Another great, free option to print, and have a wfree file backup to share between phones, lptops, Nooks, etc...

[Q] Android UX for PDFs in Apps

I am working with a developer to create an app that is primarily based on PDFs. The app consists of navigation structure and tags that allow a user to find a specific pdf they are looking for. The question I have is, how do users expect an app to handle a PDF?
We can use an open source PDF viewer like APV PDF and keep the pdfs within the app, but most of the open source readers I tested were slow and lacked features like pinch to zoom. The other option is to use a pdf intent and allow the user to choose a pdf reader on their device. My only concern with this is the confusion of moving between the core app and the pdf app. Especially when some pdf apps have their own action bar that would take the user back to the PDF app home.
Without spending the money on a special PDF API, are there any best practices for handling a situation like this? Will most users realize they are leaving the app and can just hit back to return to the app?
Any feedback on this situation would be very helpful.

[Q] Office Suite w/Pen Functionality?

So I have tested pretty much I'd say 97% of the office suite apps available for Android. I'm surprised by the fact that almost none support editing with the pen. Unless I am doing something wrong?
The only one I could get to edit via the pen was Polaris Office. However, after making changes and opening it up in Word 2010 the handwriting was there but fragmented so wasn't legible.
My goal is to be able to open up a document residing in Dropbox on the tablet, make changes so others can open up on PC and view. Have not been successful as of yet.
Anyone have luck with doing it another way? I haven't tried OnLive Desktop yet but not sure it allows the proper access.
**Edit....guess I should mention what I was originally trying to do was put my signature on a Word document so someone else could print it out of Dropbox instead of me having to print it and sign manually.
None of the office apps on the market has built in pen or signature function. You could make a note, save it as an image and paste it in. There are some PDF apps that have signature capability .
DigitalMD said:
None of the office apps on the market has built in pen or signature function. You could make a note, save it as an image and paste it in. There are some PDF apps that have signature capability .
Click to expand...
Click to collapse
That is too bad. I know that ezPDF has added pen integration in. Guess I could convert the .doc to .pdf and then annotate if need be. Like I posted earlier Polaris Office did let me write on it and would work as long as I continued to view it on the tablet. Word is finding errors in the doc once opened but not sure why that is.
Signing an electronic document
The flyer comes with pdf viewer which allows you to electronically sign a document. Convert your word document to pdf and sign it with your pen through pdf viewer.
dbrich said:
The flyer comes with pdf viewer which allows you to electronically sign a document. Convert your word document to pdf and sign it with your pen through pdf viewer.
Click to expand...
Click to collapse
I can do that via ezPDF as well but was hoping for the ability to markup a Word document & save back into DB so a PC user could then open in Word and view the markups/signature and keep it editable. Since most users don't have anything besides Adobe Reader on their PC the pdf would have to be converted back again and would probably lose the formatting.
Oh well....dare to dream.
This might work for you. Works with Evernote / HTC note. I have not tried it.
RightSignature
http://ub.rightsignature.com/en8/
I do not think it is free
http://knoji.com/rightsignature-review-and-promo-coupon-code/
Here is an interesting article that basically points out that a document signed as you are attempting cannot be validated .
http://www.investintech.com/resources/articles/electronicsignatures/
Actually, the latest version of Adobe Reader allows you to create and add signatures to .pdf documents quite easily.

New Official MS SkyDrive APP for Android

For those of you that use MS for hotmail (Hotmail/Exchange works with android Mail app btw), Skydrive ( I was able to keep my 25Gb for free), etc and enjoy android like I do, good news!
SkyDrive App in the play store: HERE
Your suggestions. Delivered.
We have some big news about SkyDrive, and we'd like our most frequent users to find out first.
Android has arrived
Access SkyDrive from any Android Smartphone and tablet running Android 2.3+ or later.
Get to know the new SkyDrive.com
SkyDrive.com has a new look with beautiful thumbnails for all your photos and documents, more intuitive navigation, and better ways to manage your files and connected devices.
You can now access and edit Office documents stored on SkyDrive from a tablet, including iPad on Safari.
Stay creative with the new Office Web Apps Preview
Enjoy free Word, Excel, PowerPoint, and OneNote web apps built into SkyDrive. Use familiar Office tools to access your files from anywhere and share them with anyone.
Click to expand...
Click to collapse

Categories

Resources