GA4 with Adobe AIR - actionscript-3

Did anyone successfully implement Google Analytics 4 in an Adobe AIR app?
We have an Adobe AIR application (for Windows desktop) which currently sends tracking data to Google Analytics, and it works fine: we get to see the result in Google Analytics dashboards as well as in DataStudio.
Google documentation explains how to move from GA to GA4, but it relies on javascript in webpages, which is not relevant to an Adobe AIR project.
We tried to change the endpoint API URL, the GA property ID, add the api_secret & measurement_id parameters. We still don't see any data in GA dashboards.
We don't really know if switching to GA4 is supposed to be this straightforward, or if it would require a deeper rework of our actionscript code to take into account the new GA4 features & requirements.

This is very similar to this issue:
Google Analytics 4 - Measurement Protocol API used without gtag.js or firebase
GA4 seems to be very limiting compared to UA for non web and mobile apps; it seems to only support data from either the firebase or gtag SDKs or GTM (also web based). Apps such as desktop apps that previously used HTTP web requests via the Measurement Protocol are handicapped; it is only meant to augment the other data.
In my opinion this is a huge step back for GA.

Related

Can i use Google app script for developing google chrome extension

Can we publish google app-script code in to a chrome extension tool. So far we developed a web app from app-script, which is working as a web application. What need to be done to convert it in to a chrome extension from google app-script Editor. Appreciations are shared for valuable suggestions.
I've developed both GAS Web Apps and Chrome Extensions and I can say with certainty that you cannot use Google Apps Script's GUI editor to develop a Chrome extension. They are two very different beasts.
For one, Google Apps Script, uses its own flavor of server-side javascript. Plus it leverages libraries and services unique to its platform.
A Chrome extension uses client-side javascript and it too has its own libraries and services.
Moreover, they handle user authentication a bit differently (even though they are leveraging the same OAuth2 flows under the hood).
But you might be able to integrate the two. You should be able to make POST requests to a Web App from a Chrome Extension, so that's one approach.
However GAS scripts are limited by quota restrictions so you might be better off rebuilding your app from the ground up as a self-contained Chrome Extension (the better option in my opinion).

Integrate Gmail api with Google app maker

I'm creating a google app using app maker. I want to integrate the Gmail API with the application. I went through it's guideline, but couldn't able to find any useful resource for my use case.
According to the guideline, google app script are supporting this, but I don't' know if it is possible to integrate the that it to the Google App Maker application.
Thanks in advance.
Update
I have done a bit of research and found that there's an inbuilt object called GmailApp which could be access via a server script. There are number of functions related to that. What I particularly looking for is to get/read email thread for the given subject and open it in a separate browser window, so the user will be able to interact with it (read the thread, reply..etc.)
I was able to integrate the Gmail API by going to
APP SETTINGS -> Advanced services and click on ADD SERVICE.
From there we could select Gmail API from the available services. As shown in the screen capture below.

Does JxBrowser implement Web Workers API and other new HTML5 API's?

I want to use service and web workers in a web application executed inside JxBrowser. It's said in JxBrowser's homepage that "supports the same web standards as Google Chrome", but haven't found anything inside its documentation about web workers, besides a reference to service/web/shared workers in a constants class file that doesn't clarify much about.
Anyone having used this features inside JxBrowser?
Does it implement Web Workers API?
What about other API's such as Cache API?
If anyone knows about this issues would be great, thanks in advance.
UPDATE:
Web storage it's supported
The "supports the same web standards as Google Chrome" phrase means that the web pages developed with the latest web standards will be displayed in JxBrowser exactly as in Google Chrome.
JxBrowser doesn't provide Java API for the all web standards. It provides Java API for Web Storage, but it doesn't implement Web Workers API. I mean it doesn't allow working with Web Workers API directly from Java code, but you can work with it from JavaScript on the loaded in JxBrowser web pages.

Adding Google Charts or Similar to Chrome Packaged App

I have a Chrome Packaged App that I want to be able to graph data for the user. I would ideally like to interface with something along the lines of the Charts/Visualization API, but I'm trying to find a solution that will work offline, possibly through integration with other apps or within my app specifically. Is there a way to insert a Google Chart or something very similar into my packaged app? Is there an API or feature I am unaware of that would make this feasible?
Unfortunately the Google Charts library cannot be downloaded for inclusion in a packaged app due to their terms and conditions:
Sorry; our terms of service do not allow you to download and save or host the google.load or google.visualization code.
- Google Charts FAQ
That said, there are many excellent Javascript libraries that are available for download which you could include with your packaged app and use as if they were included from a remote source.
This stack overflow question should help you decide between the various options. You should then download the Javascript files for the library you chose and place them within the folder of your packaged app and then use them like any local Javascript that you've written.

Incorporate Google Drive solution in existing Android app project?

I have an existing Android app project which has been already published on the Google Play, and now I would like to incorporate in my app the possibility to use the Google Drive possibilities in order to download *.jpg files directly to the sd card when the app is opened or load for the first time. Like this I liberate the internal memories of the phones where this app is installed (All the images are stored in the resources of the app actually which is >~ 20MB). I have read a lot of forums concerning the Google Drive SDK or API subjects and I can say that I'm a little bit lost on the manner to manage it for my present app. Some ideas or suggestions would be very very very appreciated.
Thank you very much).
Please see this question for the basics on how to integrate your Android app with Google Drive SDK: Access to Google Drive from self implemented Android application
In it, I reference a good Google+ tutorial on how to get started, and it's easy enough to take the concepts and apply them to an existing app. (That's how I did it too.) Before you get started, sign up for the Google APIs (https://code.google.com/apis/console/), get into the API Console, and turn on both the Google Drive API and Drive SDK. This'll make coding go a lot smoother. Let me know if you have any problems.
One addendum for your specific case relating to *.jpg files is you could set a MIME type for fetching strictly the pictures. It'd go something like this:
request = service.files().list(); // .setQ("mimeType=\"text/plain\"");
Unfortunately setQ is commented out because it would fail to return any results when I used it. However, you may have better luck with the image/jpeg MIME type.