I am trying to develop a paid app in which part of it involve filling out an already existing pdf form. I am looking for a way to do it in Android. I have searched stack overflow and I found a library to use like iText, but it doesn't meet my needs. My requirements are the following and I hope you guys can help me out
my app is paid app so I am looking for a library to allow me to use I for commercial purposes without limitation hidden in footnote of licenses
I need it to work in Android as I heard libraries like iText have issue in Android (don't know why although both are Java)
So any suggestions? I just need to view and edit/fill pdfs, that's all.
You could look at Docmosis which has a cloud service using templates and merging data to PDF. Some devs have found it a reasonable (
https://groups.google.com/forum/?fromgroups=#!topic/google-appengine/pcz5NSz_8Co) transition from Google's soon-to-be-decomissioned Document conversion Service.
Related
I want to open a .dwg file in my own Android app.
Is there anyone who knows any good development tool that can help me.
I am trying to find it but just getting nothing related to it. I think very few people use it.
Also, I want to know, how these apps work to open cad files which would be developed.
The main problem here is that .dwg files have a lot of different versions, and more importantly this format is proprietary, apparently not well documented or not documented at all. And of course, it's not simple data that we are talking about, so good luck for reverse engineering the format yourself.
A look at the wikipedia page for .dwg seem to give some interesting information for your project :
There is already some open source reader developed for this file format, namely LibDWG - free access to DWG
(...)
This is a library to allow reading data from a DWG file. That's a very
important acquisiton, which may improve a lot the ability of the free
software comunity to develop more features in the field of computer
technical drawing (CAD).
The DWG structure is very complicated, it seems to be crafted so that
none can easily understand it. That's a strong reason to not use it,
and that's also why we do not provide the writing feature in the
library. One should use LibDWG mainly to read such files, filtering
them to some other format, free and usable.
(...)
I think this is the developpment tool you wanted.
I need to view some PDF files with embeded form and process values that user inputs in form. Does anyone have such experience? Can you suggest library for it or another solution. I cannot use GPL solutions, because my apps will be proprietary.
I would suggest you to use mu-pdf library.If you want to use MUPDF inside an existing android app project you can follow the guide you find at this link (all credits go to the author, I didn't write this).
Also, as we both (if I understood correctly your needs) need just the PDF rendering features, would be great if someone points out how to (if possible) disable some of the unnecessary features built in the MuPDF library when building it from source (as DjVu support, just as an example).
GITHUB --> https://github.com/muennich/mupdf
take note that is not free for commercial apps –
check this for better help -->Integrate MuPDF Reader in an app
update
Some of the source code files for PDF viewer in Android application. Check the links and try it:
http://code.google.com/p/apv/source/browse/
http://code.google.com/p/android-pdf/
http://code.google.com/p/droidreader/
http://andpdf.sourceforge.net/
alright so I've searched for quite sometime on this and I can't seem to find just the kind of answer that answers my questions...so here goes nothing! And mind you, I'm new to android dev soooo I may have stupid questions that some of you may get irritated at, but we all have to learn some how right?
I'm trying to develop an application that will allow users to scan in a QR code and then display the information that is encoded into it in a nice organized way.
It seems like ZXing doesn't like the idea of integrating their code with other applications e.g. you have to use their application from the market and point to it via intents... well if I do it this way, can I decode the contents so that I can have access to the content and do as I want with it?
What would I have to include in my project from the ZXing folder that I downloaded to make it all work? And would I have to build all of the objects with in that folder in order to use them in my project?
Any help would be greatly appreciated. Thanks!
I have decided to go other routes.
The "Android way" is to do everything via intents.. However, zxing is a special case. You can follow the intent route, or you can (as it's apache licensed), download the source code and adapt as necessary. We did that for the game Barcode Beasties ( mandatory self promoting download link here : https://market.android.com/details?id=com.fawepark.android.barcodebeasties ) and that meant we could also brand the scan page as well.
If you want use the software integrated, then just download the source and either compile it as a library or just include it in your source folder as another folder.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Does anyone know of a good Java Microsoft Office API capable or running on an Android? I know there is an OpenOffice Java API, but I haven't heard of anyone using it on Android.
I know that using intents is another option, but how common are pre-installed office viewers on the varying Android distributions? Would it be reasonable for a developer to expect the user to have one of these viewers installed? Is it reasonable to request that they install one of these applications if they don't already have one?
Since most of the documents we need to display are already hosted on the web, we opted to use an embedded web view that opens the document using google docs viewer.
We still have a few locally stored documents though that this approach doesn't work with. For these, our solution was to rely on the support of existing apps. After spending some more time with Android, It seems that most devices come equipped with some sort of document/pdf reading capability installed fresh out of the box. In the event that they don't have a capable app, we direct them to a market search for a free reader.
Unfortunately there's no built in Android control to edit MS Office files, or even to display them! It's a pretty big omission given iOS has built in support for displaying Office files. There don't seem to be viewer app consistently enough available to rely on (and they may not provide the kind of user experience you're hoping for either).
If you want to display or edit docx etc within your android application, you have to embed some third party code that adds this functionality. I'm not aware of any pre-packaged open source code that can do this, so unless you want to build/port a solution yourself you will need to commercially license something.
As others have noted, there are some open source projects in this area, but they're not packaged/ported to Android. If you did manage to get them ported and integrated, they'd add a huge overhead to your Android app download (eg. 80+ megabytes) and you'd need to then add a mobile suitable UI for them (see https://play.google.com/store/apps/details?id=com.andropenoffice&hl=en_GB for an example of a port with ui that I personally think is not suitable/user friendly for an Android application.)
One such SDK that I'm familiar with which solves this problem is based on the SmartOffice application:
https://artifex.com/products-smart-office-overview/
It's available as an secure embeddable library that supports both display and (optionally) editing of Office documents. You can contact sosales#artifex.com for licensing information.
Disclosure: One of my jobs involves working on the SmartOffice code.
Most of the Microsoft Document viewers are heavy and expensive.
If you want to create a viewer yourself, you should take a look at Apache POI.
A suitable solution might be using Jword in the link below. It's not free but easy to use.
http://www.independentsoft.de/jword/index.html
Using the library is as simple as this sample code
private String docxRead(String filePath) {
try {
WordDocument doc = new WordDocument(filePath);
String text = doc.toText();
return text;
}
catch (Exception e) {
Toast.makeText(context, e.getMessage(), Toast.LENGTH_SHORT).show();
e.printStackTrace();
}
return "";
}
You can use this example for read MS word document file in android application.
I give a link below, you follow this for example.
<https://github.com/AsposeShowcase/Document_Viewer_and_Converter_for_Android>
And follow below link for Aspose Word library for android.
<http://www.aspose.com/android/word-component.aspx>
**You Mostly use for this to Read Ms word document.**
I hope, you will using these Library and make you application better.
Best of Luck.
[1]: http://www.aspose.com/android/word-component.aspx
I am currently starting to create an app for a small charity company. But I'm not entirely sure how to properly learn how to code for the Android OS. I have searched online for tutorials, but most stop at the same stage and only show you how to launch the "helloWorld" app.
My question is this:
1) Will using solely XML be sufficient to code an app? Does it require working in partnership with Java?
2) Does anyone know of any books, recommended books of course, that break everything down for you step-by-step?
Android Developer site very good to give you all ideas. Start from Hello, World
1.) Not at all. XML is ONLY used for the layouts.
2.) There are a few books out there that I'm sure someone will come along and recommend, but I've found the tutorials here to be the best start.
In your case, I'd look at AppInventor which allows you to create small Apps without coding (at least that's what it says, haven't used it yet myself)
1) No, you can use XML for interface, but you can't write an Android app in XML :) You are not required to work with Java, but Android language is based on Java, so knowing Java is an advantage while learning to code.
2) Did you installed Eclipse and the plugin for Android?
The Android Training is pretty useful, and I've learnt a lot from the tutorials and the sample code provided there. (The Notepad app is way more complex than the Hello World tutorial ;)!).
Also, take a look at the answers on that question: How can I learn Android?