Is google docs java api V3.0 stable? - google-docs-api

I downloaded gdata 1.47 and tried the demo, it cannot work properly, even failed to upload a file into google doc. Also base64 image content in HTML file cannot be recognized.
Can someone have a look at these issue? Or provide me a working code sample for using V3.0 java api.

Here are some samples:
http://code.google.com/p/gdata-java-client/source/browse/#svn%2Ftrunk%2Fjava%2Fsample%2Fdocs

Related

Not able to convert .docx file to pdf using microsoft graph api

For my project need, I need to convert MS format documents in to pdf. I started exploring microsoft graph API. For easiness I started with graph explorer(using my corporate and personal login) on https://developer.microsoft.com/en-us/graph/graph-explorer.
I have added sample document in drive and using https://graph.microsoft.com/v1.0/me/drive/root/children, I got itemId of my file.
Now, I am trying to convert it into pdf using https://graph.microsoft.com/v1.0/me/drive/items/{itemId}/content?format=pdf. But I am always getting response as Failure - Status Code 0
Anyone has an idea how to fix this issue?
Here is an attached screen shot of microsoft graph explorer
Note: I found similar problem here but it is not solved
According to your description, I assume you want to convert .docx file to pdf using Microsoft graph API.
Based on my test, we can use https://graph.microsoft.com/v1.0/me/drive/items/{itemId}/content?format=pdf.
It will return a failure response when run it in graph explore. However, when we use the develop control panel, we can get this request and response.
Location properties are in the response headers. It is the address of the converted file.
We can use this URI to review or download the document that converted.
The request URL:
https://graph.microsoft.com/v1.0/me/drive/items/{itemId}/content?format=pdf
The response may like this:

Does Google Dataflow supports creating .zip (not .gz) file?

I am using google dataflow 1.9.1. Does Google Dataflow supports creating .zip (not .gz) file. I dont see an option in the api docs for .zip generation.
I see an enum, and the comments in TextIO.java suggest .withCompression should work. Alas, I don't see the .withCompression method. I have filed a JIRA to track.

Does anyone know where I can find coremltools documentation?

I need to convert a Keras model into the CoreML model format, but I can't find the CoreML documentation - all the links on https://pypi.python.org/pypi/coremltools aren't working, and pythonhosted.org isn't working, either.
You can use a web cache search engines like http://cachedview.com/ to get the last working version of a website.
Here's the google archived link to the pythonhosted site:
http://webcache.googleusercontent.com/search?q=cache:http://pythonhosted.org/coremltools/
And heres the pypi cached site:
http://webcache.googleusercontent.com/search?q=cache:https://pypi.python.org/pypi/coremltools

Exporting files from a Javascript based phonegap app - options or ideas?

I'm currently writing a mobile app (hopefully iOS or android) using the jquery mobile framework and phonegap.
It'll need to export/send csv files in some way to the users, but I'd be interested to hear ideas or suggestions about the best way of doing so. If this can be done on the js side of the app that'd be ideal as it's what I'm most familiar with. A couple of options I've considered are:
Uploading the file using the google docs api
Writing the file to the file system (then export e.g. via iTunes)
I'm new to this so any suggestions gratefully received! Thanks for your help
There are a few options that you could use depending on how you want it to work.
The main options would be to
Use the File API (http://docs.phonegap.com/phonegap_file_file.md.html#File) to store files on the filesystem of the device.
Upload the file to a server using a standard XMLHttpRequest.
Write a native PhoneGap plugin on each platform that you are interested in that could connect to Google docs.
As Dave pointed out you can write files with the FILE API. I have used the file api on iOs to write custom log files and havent found any yikes so far.

How to read .xls(ms excel) file in blackberry

How to read .xls(ms excel) file in blackberry application.
Is there any api available?
There's nothing in the public BlackBerry API to do this, but you could probably easily port an opensource API to do what you need. A quick search with Google for "Java Excel API" brings bacK:
http://jexcelapi.sourceforge.net/
The Java Excel API wont work because Blackberry api lacks java.io.File class,Instead try for CSV.
how to create a Excel format file?

Resources