How to call Apps Script from iOS and Android Apps? - android

I created Apps Script and published it to be accessible via API.
Now I want to call it from iOS and Android Apps.
But I see the following message on https://developers.google.com/gsuite/guides/mobile
Note: It is highly recommended to call G Suite APIs from a server environment rather than a mobile environment.
What is the best way to do it?

Related

Where can I show the hybrid app to my client?

I wonder if it exists a way to show to my client how the app looks like.. I mean a simulator in cloud or something like that, i'm doing the app with ionic.
Thanks
So Ionic (2+) app can potentially "be" available:
Locally:
via ionic serve (web app)
via device run type commands (hybrid with access to plugins) on target platforms (iOS/Android)
Remotely:
via Ionic Pro / Ionic View - (~web-app with limited plugins access) -
gets depreciated very soon
via platforms relevant store's test solution: testflight (iOS)
or Google Play's beta testing (via Google dev console)
via remote access to devices (like Firebase's test lab or AWS
device farm)
So in your case it really depends on your app:
if you are using native plugins the most accessible would probably be an option via Android devices as Google is much less restrictive towards sideloading of apps to their devices. This still may require additional steps from you clients (like following installation instructions). If you client is not tech savvy it is probably best to look into Google Play's beta testing program that they offer (via their console)
if you are not using any native plugins - then it is fairly easy to deploy your app as progressive web app (upload it to a hosting like firebase hosting) and provide access to it.

Which framework best to use for a cross-platform cross-devices platform with multiple apps

I am working out an idea for some applications.
The applications needs to run on:
Windows as a desktop / UWP app
Android as a mobile app
IOS as a mobile app
Windows Phone as a mobile app
Website as a web application
All applications will have the same functions.
All applications will need to view, edit and store information in and from a database.
I used to program in VB back in the days that we only had windows forms and I am new to the nowadays frameworks.
Till now I was thinking about creating a webservice to let all applications communicate with the database and then create all the other applications in their own framework / languages.
I have found some articles about ASP.NET WebAPI which looked like what I needed for the webservice but I don't know if I can also use that for Android and IOS.
I also found something about Xamarin for building apps for all the platforms I am targeting.
Could anyone maybe inform me what framework best to use in this case.
Should I use Xamarin for the client apps? or is it better to create the apps in their own framework per platform?
Should I make the webservice with ASP.NET WebAPI? or is there an other framework which will be better in this case?
I also found something about Node.JS but am not sure what its for.
I am asking this because I need to educate myself in the languages / frameworks before I can start programming and I don't want to start educating in everything and in the end find out that it is useless in this scenario.
I´m using Kaa Platform(https://www.kaaproject.org/) to manage all comunication between devices ( ios, android, WP, etc ).
And for developing, i strongly recomend:
if you will use just android and ios: react-native ( https://facebook.github.io/react-native/)
if you will use android, ios and others: ionic ( https://ionicframework.com/)

Can I detect if an Endpoint is running locally or is deployed?

Is it possible to detect in code if an Endpoint invocation is happening on a local backend or in production (ie deployed to google servers)?
Thanks.
I believe Determine AppEngine for Java environment programmatically should serve you well -- it's not specific to endpoints, but should work just as well for any app engine app, to find out if you're currently running your App Engine app in a local development setup, or deployed on Google's cloud.

Can you access the calendar and camera on a users phone using an app built with PhoneGap?

I am planning how to build a web app using PhoneGap for a client, which will present an original web application that's already been built (using Symfony2 and Bootstrap). The client has requested that the app should create events/notifications to the users phone via the calendar, and allow the user to take a photo of something using the app which is then uploaded to the web application.
However, I'm not sure that this is possible using mobile web app's built with something like PhoneGap. There isn't a budget available to build native apps, so PhoneGap (or equivelent) is the only option available to me at the moment.
The client has requested that it works on iPhone/iPad, Android and Windows Phones. I would assume (but I'm not sure at the moment) they would also want it to work on BlackBerry 7/10 devices also. So, is it possible to build an app using PhoneGap that can intergrate with the users calendar and camera?
Short answer, yes. AFAIK, phonegap is a wrapper so the web app UI that you build (using js, css and html) has access to native phone function such as GPS, camera, even notification.
as to mentioned in here,
PhoneGap provides an application programming interface (API) that
enables you to access native operating system functionality using
JavaScript. You build your application logic using JavaScript, and the
PhoneGap API handles communication with the native operating system.
You can dip your toe and begin to get used to their APi collection from their website:
http://docs.phonegap.com/en/3.4.0/index.html

is there a way to access bluetooth on android via adobe air

Can you access the bluetooth API of android via adobe air for mobile?
There is indeed a Native Process API:
http://tv.adobe.com/watch/adc-presents/invoke-native-process-in-adobe-air-2/
however, unfortunately, it doesn't look like it will allow you to do want you want.
I am not a Adobe AIR developer, but from what I know it is runtime for developing rich Internet applications that should run out of browser on your target device. So by default shouldn't be interested in accessing platform dependent resources and APIs. Even so, there is a possibility called native process API and here there is an example article, probably if you digg you'll find more information about it.
Create native installers allowing you to launch and communicate with native processes using standard input and output. Using the native process API, communicate with native libraries built using Java™ and .NET and native applications such as grep for file searching. You can also create operating system–specific installers (native installers). Applications that use the native process API must be deployed using a native installer.
Second step it would be for you document yourself, about the Bluetooth API of Android. They use BlueZ, so you could use the C API, or if your needs are not soffisticated you could use the Java API.
The actual response is yes, you can.

Categories

Resources