Google Drive collaborative editor - google-drive-api

With the launch of Google Drive, i have been looking over the API and information available. I failed to find example or information that its even possible.
I would like to create a editor that two users can collaborate within at the same time. We all seen how google's own editor can do this.
The idea is for creating a demo where two programmers can work on the same project and work on the same files replacing subversion or other team solutions with a alternative solution.
Anyone able to find any examples in the google api or elsewhere, or better yet able to share some experience/code.
I assume its possible as WeVideo release an app for collaborate video editing.

Currently, the Drive SDK doesn't offer this feature, sorry. Those apps that are achieving this are performing the collaborative aspects by themselves.
The SDK does support ETags so that your app can check that the file content has not been changed since it loaded the data, which will help.

Google Drive now has the Realtime API (as of 2013, I think).

Related

Turning a Google apps script library into ... an extension?

I've got a GA script library, which contains some Google Docs operations that I use a lot (such as specific formatting, heading numbers or specific searches). When I want to use these functions, I currently add a script to the document, that loads the menu builder (in the library), and then add the library to that script. That seems to be the shortest way of using the library across multiple files. I have these questions:
(1) Is there a way in which these library functions can be available to all my Google Docs, without having to load them per document? My understanding is that this is not possible.
(2) Is this correct: The best way to make these library functions available would be to build an extension, and publish this on the Chrome store. (Possibly as 'beta extension'?)
If this is correct, then could somebody point me to a simple step-by-step guide for turning scripts into docs extensions? I've looked around, but what I saw wasn't all that clear. Ideally I'd like to be able to update the extension frequently, as it's still under development.
Thanks!

How to use CocoaPods with LibGDX?

I have a LibGDX project which I can run on all platforms that are supported by LibGDX. Recently I started integrating the Google Nearby Messages API. I got it working on Android through platform-specific code, pretty much like the description on Google says it should be done. Now I want to integrate it in the iOS project, which uses RoboVM, but according to their documentation (https://developers.google.com/nearby/messages/ios/get-started) I should use CocoaPods, which doesn't seem so straightforward for integration, especially in a LibGDX project. I hope someone with some experience in doing this can help me out, or point me to a project in which that's already done. Thanks!
As far as I know, with RoboVM you use their available RoboPods supporting the most popular 3rd party intgrations, but not all.
Popular Google tools are listed there but I did not see Google Nearby Messages API, more info here:
https://github.com/MobiVM/robovm-robopods

Is it possible to use BIM360 Team (formerly A360) commenting and markup tools in Forge?

BIM 360 Team has a nice built-in commenting tool that tracks issues. Is it possible if we can use the exact same feature inside Forge Viewer API? (my question may sound convoluted because I'm not a software engineer..) For any one who doesn't know the feature, please see below article. Any help is much appreciated.
https://blog.a360.autodesk.com/a360-release-enhanced-commenting-and-markup-tools/
Thanks!
Yes, it is definitely possible. The Autodesk development teams make use of Forge web services to implement A360 features. You have access to the same web services. You may even be able to peruse and analyse their code in the JavaScript debugger to see how they implement the client side user interface on top of the server side web service. In this case, the web service being used is the Issues API. More on that topic here:
http://thebuildingcoder.typepad.com/blog/2016/11/bim-360-docs-issues-forge-devday-and-accelerator.html#5

Onenote API for Local Computer

This is my first post on Stackoverflow - I am looking for guidance about OneNote API. I look forward to develop a solution primarily for "Own Usage" - which Creates, Opens and Closes OneNote Sections on my Local Machine - No cloud etc. is to be used. Please guide if it will be possible?
I hope it should be possible - Please guide how to proceed and what to study for that. My programming skills are very basic.
I will prefer to use OneNote 2007.
[Edit on 5th Nov. Noon IST] A few clarifications might help: I had initially gone through https://msdn.microsoft.com/en-us/library/office/dn575425.aspx however, I found that "The OneNote API runs on the Microsoft globally-available cloud, and sends data from your app into the user's OneDrive". Whereas in my case no other user or cloud is to be involved. I wish to "develop a solution primarily for "Own Usage" - which Creates, Opens and Closes OneNote Sections on my Local Machine". It seems that a link suggested by "Sebov1c" msdn.microsoft.com/en-us/library/office/jj680118.aspx and another suggested by "Jorge Aguirre" should serve my purpose. I will do my homework on this topic over the next week and get back here.
Thanks and Regards
Sanjiv
Note that the OneNote REST API is for cloud based notebooks only, so I don't think that's an option for you.
If you want offline support on windows only, your other option is to use the OneNote interop C# libraries (from what you say, I think this is what you're looking for) There's a pretty good example here:
How To Write To A OneNote 2013 Page Using C# and The OneNote Interop
There's other options to write apps that are embedded in OneNote, but I don't think that's what you're looking for.
There is a COM API for OneNote. Check out a sample here: http://www.github.com/OneNoteDev/VanillaAddin

When/how do I write Apps scripts in Dart

Is it possible to create apps script using Dart and the Dart->JS translator?
I'm guessing the answer is no, but I'd be interested in learning of any plans to integrate the two development environments.
You guessed right, the answer is no indeed. You can't write Apps Scripts in Dart.
Although your second question can only be answered by a Googler, but as a Top Contributor, I can say that if such plans exist they're probably not for the near future. I'd guess that it will not be here within a year.
Google Apps Script have a very specific set of libraries and usage that I imagine not to be Dart's team goal. I think such integration does not have much "appeal" for either teams (Apps Script and Dart).
A Googler has shown in DartConf 2018 lightning talk for using Dart in App Script. He promised it will be open sourced. The demonstrated solution includes App Script library in Dart, automated build and deployment through Google Drive.