Create new Wave via URL/JavaScript - google-wave

I'm trying to imitate the behavior of "mailto:" for creating a new Wave. Does anyone know if it is possible to create a link or write a JavaScript code that would create a new Wave, assuming the user has already logged in to the Google Account?
I've been searching for documentation about this, but everything out there required the Wave API which isn't valid for my needs.
Thanks.

so the wave embed api which can be invoked from javascript, unfortunately doesn't let you create new waves at this time. You can open an existing wave though.
you could call out to a server-side script using ajax which will create a wave, then access it using the wave embed api ?

Related

How to fetch text file from google drive with json contents React Native

I need to access a simple text file from my google drive in React Native.
I saw in this post about how you can use this link structure to get a photo from google drive: https://drive.google.com/uc?export=view&id=YOUR PHOTO ID. Is there a structure like this to get a text document?
People keep telling me to setup a backend using sqlite or something but it seems so overkill for the very little that I need. I don't need to set data I just need to read it from a URL. Also, I tried doing a backend but from my limited knowledge, I can't use a backend server on iOS.
Any Ideas?

the best easy way for to generate a datamatrix (ECC200 code) using react-native?

Recently im making a native app using react native, one of requeriments its make a module that generates multiple barcodes (128, qr code and datamatrix) but im have a problem because to generate 128 barcode and qr code its very easy using some dependences the "datamatrix code" is another history... I did not find a dependency that could make the path easy for meCan someone help me with any ideas of which way to go? As a last solution it occurs to me to create a small web service that receives values in the path and returns a datamatrix and then mount the service in a react native webview but as I mentioned I would like this to be my last alternative
Thanks for the answers

react-filepond how to implement getting dropped/selected files and processing them and uploading?

I'm implementing an application using react-filepond where once the user selects/drops the files, i need to get uris (for the files) for upload from an endpoint(server), and then using those uris to upload to our storage.(whilst also showing upload progress to the user)
is using onupdatefiles prop to send getURIs request and then using onprocessfile/onprocessfilestart to upload those files using the retrieved URIs, the best way to do this?
also what is the use of the progess parameter we get in the onprocessfileprogress(file,progress)? can it to be used to feedback the progress back to filepond component?
I think you can implement a custom server.process function and handle all upload logic in there, wether uploading to your local server of first uploading to a remote server it should give you enough control over the entire process.
https://pqina.nl/filepond/docs/patterns/api/server/#process-1

Creating a webpage with a unique URL using react/firebase?

I'm pretty new to react and building out a little prototype using Firebase as a backend. One of the primary functionalities involves a user writing a post in an editor, which is saved to firebase. On submit in the editor, I am trying to create a new standalone page for the post with the firebase uid as the ending part of the new unique URL.
The problem I'm having is figuring out a way to create the new page on submit. I haven't been able to find any documentation for a similar problem like this specific to react or firebase, and was just wondering on a high-level what a good approach to executing this might be? Thanks
The newly launched Firebase Hosting + Cloud Functions integration can help here. The first bullet point in the documentation looks like it describes your use case exactly.
You also mentioned React. There is a handy sample project showing how to implement an isomorphic React app with Firebase.

Create static JPG from Angular implementation of Google Maps

Here is my question, and afterwards I'll give some context.I'll try add as much info here to help.
Is it possible to render a JPG from a Angular implementation of Google Maps with dynamic waypoints?
Context:
We currently have an angular implementation of google maps that allows us to turn on and off waypoints from a GUI. Turning off a route, hides that from the map.
There are various settings that can be changed in the GUI that dictates where the waypoints will go and therefore the route.
The purpose or objective outcome is to be able to take a JPG of that map configuration and embed in email, attach, send to customer etc etc
UPDATE: I should note that we have considered building the static map through the API directly by appending waypoints to the URL, however we need to use our custom styled map overlay.
Any help or guidance would be most appreciated.
Thanks everyone!

Resources