Can you use GSUtil on android? - android

Is is possible to use the Google Cloud Storage utility, gsutil, on android? The requirements are a linux OS and python, so theoretically it is possible. I do not know of a complete python port for android and have found this post regarding python on android.

I would say that even if by some miracle you could get it to work, it would be astronomically harder and more prone to breakage than just using the Cloud Storage API using its client library.
The API is currently in Limited Availability, but you can request access through the Google APIs Console.

Related

How to upload APK/Bundle to Firebase Test Lab through REST API?

I am trying to upload an APK/Bundle to Firebase's Test Lab to perform a robo-test/game-loop through scripts and not going on their website. I'm using C# and .sh scripts.
I see this link https://firebase.google.com/docs/test-lab/reference/testing/rest but I'm not sure how to utilize this information.
I am aware of the Google Cloud SDK (gcloud command) but I don't think I can use a CLI to do this since I cannot install anything.
Has anyone does this before? I've searched on the web and can't find someone who has done this.
The specific REST API you want to invoke is
https://firebase.google.com/docs/test-lab/reference/testing/rest/v1/projects.testMatrices/create.
You can use the "Try it!" button to play with the API and see the http request body and response.
Google publishes client libraries for many specific APIs in several languages. I have not used this specific library, but here's the link to the client library that should be usable for .NET development:
https://developers.google.com/api-client-library/dotnet/apis/testing/v1
It is a somewhat complex API. You might want to study the Cloud SDK (gcloud) Python source code for ideas on how to use it. But that would require you to install the Cloud SDK first, which you say you cannot do.
You could also study the Flank kotlin code for examples of how to use the Cloud Testing API (and also the Cloud Tool Results API).

API deployment for mobile applications

I'm working on Android project connected via retrofit to spring-boot API deployed on my local machine. API is connected to MySQL database. Now, I need my API make accessible from external network so I'm looking good place to deploy my back-end.
I heard about Heroku, Pivotal, AWS, but all of them looks expensive. Are better alternative for api deployment?
thank you
Your best shot is Firebase.
Have a look at the docs.
A small guide about setup.
Guide on building Android Apps on Firebase and Google App Engine.

Architecture for cross platform messaging app

i am looking to build a mobile messaging app firstly in android and then ios later, and am struggling with the backend architecture and need some advice on what would be best in my circumstance. Basically i am used to just developing apps through a basic web server and using mysql with php, but now i think and want to create something that not only is very reliable and fast but is also scalable and can be used by both the android and ios platforms.
I am thinking about developing it on google cloud platform using either their google app engine or google compute engine depending on what other architectures i use. Also i was going to use google cloud messaging as my main way of handling the messages, however i am now not sure of that as it is only supported by apps that run on android and not ios, also i have heard it can be unreliable in some messages getting lost.
My main problem is that i have heard so many things about different architectures like ejabberd, xmpp, socket i.o and databases like redis that all work well with messaging apps, however i am not sure which to go that will work well together.
Sorry if this seems a bit of a confused situation, but i dont want to start developing something that i am later going to have to change. Thanks for the help
Announced last week: Engage your users across Android, iOS and Chrome via Google Cloud Messaging 3.0:
https://developers.google.com/cloud-messaging/
https://www.youtube.com/watch?v=gJatfdattno
You are asking about many different things.
Storage: can be a mysql database or something like mongo db
Transport protocol: XMPP is a chat protocol with many chat features included but it is not supported in browsers. WebSocket is more low level and more general but works inside the browser
webserver software: you basically need access to the database and be able to transmit XMPP or WebSocket. I'd recommend node.js for this. PHP is more for web pages

Building an Appengine backend for Android app, can a Python server handle a huge load?

I am building an Android app that I think has potential to reach 10 million users.
I realy like Python and I am not a huge fan of Java. The example application that Google has made for an appengine-backed Android project uses Java. I have only found Python libs for backends that are made by private people. Are these good enough?
Is there no official Google Python code for an Appengine GCM backend?
I don't want to start building something around technology that does not cut it.
Edit:
Even if Python is slower, maybe the programming language is not the bottleneck anyway?
Python on App Engine can sustain the load as good as Java does, so o need to worry about scaling. (It will cost you though...)
Python on App Engine is very mature, well documented, and there are plenty of code libs, frameworks and examples. No problem in using Google Cloud Messaging, there is a RESTful API that you can use from python, see here: http://developer.android.com/google/gcm/http.html

Why use Core Api of dropbox as opposed to Sync API

I am trying to use dropbox to put the .db file on the cloud and retrieve it back. I searched SO and all I found was examples of RESTFUL calls using the Core API of dropBox.
However I find that Sync Api is easier to use but no examples of using it for this purpose. Any reason why or why I should go with the Core API as oppose to the Sync Api?
Thank you
The Core API is designed to work with server-side apps. The Sync API is specifically designed to work with mobile clients, has SDK's for iOS and Android and is much simpler and easier to use.
Sync API's do not support the more advanced features of Core API's such as full permissions, file revisions etc. But for simple file syncing and retrieval purpose like yours, Sync API's are perfect.

Categories

Resources