I am developing a windows phone application, which is a version of 8.0. I have uploaded an excel document on Google drive. How do I extract data from the document that I have uploaded on Google drive using Google APIs?
Did you try using PedroLamas/GDrive where you could try out these functions:
Multiple accounts support
OAuth 2 account login
List files and folders with their metadata
Navigate the folder tree
Create new folders
Upload files (just pictures, that's what Windows Phone SDK allows
us to do!)
Star/Unstar files
Rename files
Trash files
Or else another option could be the, Drive API Client Library for .NET.
Related
I just setup an IIS 7.5 webserver on Windows 2008 R2 server whose inetpub/wwwroot folder acts as a file (jpg, wav, pdf etc) repository for LAN users who can search for a particular file on the server. inetpub/wwwroot folder doesn't have even a single html file or any other webpage. All it has is thousands of jpg, wav, pdf, xlsx, docx files in hundreds of folders.
I have enabled directory listing on the server so a user can browse through all the files but I want a search box where a user can enter partial or full file name to search for a given file.
All I have tried is to find a solution on the web for seemingly a simple problem but couldn't find any solution.
I'm afraid it is impossible to achieve this with native IIS feature. You may need to hard code this function into a .net application or a HTML/javascript page with URL rewrite.
How may I upload a data file to my Google app engine folder using any standard file transfer protocol e.g. SFTP, WebDav etc.?
This is so I can use a regular desktop file transfer client
So far the only ways I've found are Google proprietary, and web form upload.
GAE's filesystem is readonly, i.e. you can't really make changes to any of the files once the app is deployed.
You can upload your files to GCS by mounting a bucket as a local directory but as you noted that option doesn't seem to be available on Windows.
You could also use gsutil to transfer files to/from the bucket, like that: gsutil cp *.txt gs://my-bucket, even on Windows (see more details here) but if you want a GUI client - just google for gui clients for gcs, many storage browsers i.e. more or less advanced ftp clients seem to support it (see for example Cyberduck, CrossFTP, etc).
I'm developing a web application in which I want to insert users and be able to display files that they upload via a search option. I can get all of the logic that I need sorted and the files uploaded into the correct directory. However, if I insert a new user into the db, the web app cannot find their file in the directory until I restart the server.
How can I make it so that the resources directory of my web app automatically gets refreshed by the server? I'm developing in Java/JSP and using Tomcat as my server.
Thanks!!
I'm guessing you're putting the files into the src/main/resources folder, then it's being packaged into the artifact and then you access them as the classpath resources. Then the next portion of the resources is going to be available after the next packaging.
Instead you should access the Files via usual File System and Absolute or Relative paths.
I have storaged a web in the phone using the isolated storage and now It has to download pdf into the phone and be able to transfer it to a PC.
Since the isolated storage only let you use the files of an app in that same app, it is posible to accomplish what i want in Windows Phone 7?
No, Windows Phone OS uses the Sandbox principle witch isolates app data so that other apps cannot access and/or modify other app's data.
The only public part of WP app are known libraries as mediaLibrary and in some WindowsPhone versions Documents Library
Check this
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj681698(v=vs.105).aspx
I have developed a PDF Converter / Viewer for Windows Phone 7, but it is rather useless unless it can get the source files (Word, Excel, PowerPoint, etc) from somewhere.
An obvious place to get these files from is the Office hub on the phone, but there doesn't appear to be a documented way to access these files programmatically. I can only access my own application's files using IsolatedStorage.
Alternatively I would like to extend the functionality of the Office Hub with an extra button to convert a file, but I am not sure this is possible either.
Naturally I can retrieve files from a SharePoint Server, but I prefer not to do this unless I absolutely have to. Alternatively is there a way to map my application to a file extension so email attachments can be loaded into it?
Any brilliant ideas? How does the official PDF Viewer from Acrobat deal with this?
I'm afraid it's not possible using the SDK to accomplish any of these ideas for files stored on the phone.
The closest to load a pdf / office document from an app into the corresponding Adobe or Office application is to publish the documents on a server and link to them through a web page shown from your app. This probably doesn't suit your requirements though.
The official one does this utilising capabilities not available through the 3rd party SDK that we use.